public interface ConsumerCache extends Service
Modifier and Type | Method and Description |
---|---|
PollingConsumer |
acquirePollingConsumer(Endpoint endpoint) |
void |
cleanUp() |
int |
getCapacity() |
EndpointUtilizationStatistics |
getEndpointUtilizationStatistics() |
long |
getEvicted() |
long |
getHits() |
long |
getMisses() |
Object |
getSource() |
void |
purge() |
Exchange |
receive(Endpoint endpoint) |
Exchange |
receive(Endpoint endpoint,
long timeout) |
Exchange |
receiveNoWait(Endpoint endpoint) |
void |
releasePollingConsumer(Endpoint endpoint,
PollingConsumer pollingConsumer) |
void |
resetCacheStatistics() |
int |
size() |
PollingConsumer acquirePollingConsumer(Endpoint endpoint)
void releasePollingConsumer(Endpoint endpoint, PollingConsumer pollingConsumer)
Exchange receiveNoWait(Endpoint endpoint)
int size()
int getCapacity()
long getHits()
long getMisses()
long getEvicted()
void resetCacheStatistics()
void purge()
void cleanUp()
EndpointUtilizationStatistics getEndpointUtilizationStatistics()
Apache Camel