Package org.apache.camel.support
Class PrototypeObjectFactorySupport.UtilizationStatistics
java.lang.Object
org.apache.camel.support.PrototypeObjectFactorySupport.UtilizationStatistics
- All Implemented Interfaces:
org.apache.camel.spi.PooledObjectFactory.Statistics
- Enclosing class:
- PrototypeObjectFactorySupport<T>
protected static final class PrototypeObjectFactorySupport.UtilizationStatistics
extends Object
implements org.apache.camel.spi.PooledObjectFactory.Statistics
Represents utilization statistics
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
-
Field Details
-
created
-
acquired
-
released
-
discarded
-
-
Constructor Details
-
UtilizationStatistics
protected UtilizationStatistics()
-
-
Method Details
-
reset
public void reset()- Specified by:
resetin interfaceorg.apache.camel.spi.PooledObjectFactory.Statistics
-
getCreatedCounter
public long getCreatedCounter()- Specified by:
getCreatedCounterin interfaceorg.apache.camel.spi.PooledObjectFactory.Statistics
-
getAcquiredCounter
public long getAcquiredCounter()- Specified by:
getAcquiredCounterin interfaceorg.apache.camel.spi.PooledObjectFactory.Statistics
-
getReleasedCounter
public long getReleasedCounter()- Specified by:
getReleasedCounterin interfaceorg.apache.camel.spi.PooledObjectFactory.Statistics
-
getDiscardedCounter
public long getDiscardedCounter()- Specified by:
getDiscardedCounterin interfaceorg.apache.camel.spi.PooledObjectFactory.Statistics
-