Package org.apache.camel.support
Class DefaultEndpointUtilizationStatistics
- java.lang.Object
-
- org.apache.camel.support.DefaultEndpointUtilizationStatistics
-
- All Implemented Interfaces:
org.apache.camel.spi.EndpointUtilizationStatistics
public class DefaultEndpointUtilizationStatistics extends Object implements org.apache.camel.spi.EndpointUtilizationStatistics
-
-
Constructor Summary
Constructors Constructor Description DefaultEndpointUtilizationStatistics(int maxCapacity)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
clear()
Map<String,Long>
getStatistics()
int
maxCapacity()
void
onHit(String uri)
void
remove(String uri)
int
size()
-
-
-
Method Detail
-
maxCapacity
public int maxCapacity()
- Specified by:
maxCapacity
in interfaceorg.apache.camel.spi.EndpointUtilizationStatistics
-
size
public int size()
- Specified by:
size
in interfaceorg.apache.camel.spi.EndpointUtilizationStatistics
-
onHit
public void onHit(String uri)
- Specified by:
onHit
in interfaceorg.apache.camel.spi.EndpointUtilizationStatistics
-
remove
public void remove(String uri)
- Specified by:
remove
in interfaceorg.apache.camel.spi.EndpointUtilizationStatistics
-
getStatistics
public Map<String,Long> getStatistics()
- Specified by:
getStatistics
in interfaceorg.apache.camel.spi.EndpointUtilizationStatistics
-
clear
public void clear()
- Specified by:
clear
in interfaceorg.apache.camel.spi.EndpointUtilizationStatistics
-
-