public class DefaultEndpointUtilizationStatistics extends Object implements org.apache.camel.spi.EndpointUtilizationStatistics
| Constructor and Description |
|---|
DefaultEndpointUtilizationStatistics(int maxCapacity) |
| Modifier and Type | Method and Description |
|---|---|
void |
clear() |
Map<String,Long> |
getStatistics() |
int |
maxCapacity() |
void |
onHit(String uri) |
void |
remove(String uri) |
int |
size() |
public DefaultEndpointUtilizationStatistics(int maxCapacity)
public int maxCapacity()
maxCapacity in interface org.apache.camel.spi.EndpointUtilizationStatisticspublic int size()
size in interface org.apache.camel.spi.EndpointUtilizationStatisticspublic void onHit(String uri)
onHit in interface org.apache.camel.spi.EndpointUtilizationStatisticspublic void remove(String uri)
remove in interface org.apache.camel.spi.EndpointUtilizationStatisticspublic Map<String,Long> getStatistics()
getStatistics in interface org.apache.camel.spi.EndpointUtilizationStatisticspublic void clear()
clear in interface org.apache.camel.spi.EndpointUtilizationStatisticsApache Camel