protected final class PooledObjectFactorySupport.UtilizationStatistics extends Object implements org.apache.camel.spi.PooledObjectFactory.Statistics
| Modifier and Type | Field and Description |
|---|---|
LongAdder |
acquired |
LongAdder |
created |
LongAdder |
discarded |
LongAdder |
released |
| Modifier | Constructor and Description |
|---|---|
protected |
UtilizationStatistics() |
| Modifier and Type | Method and Description |
|---|---|
long |
getAcquiredCounter() |
long |
getCreatedCounter() |
long |
getDiscardedCounter() |
long |
getReleasedCounter() |
void |
reset() |
public final LongAdder created
public final LongAdder acquired
public final LongAdder released
public final LongAdder discarded
public void reset()
reset in interface org.apache.camel.spi.PooledObjectFactory.Statisticspublic long getCreatedCounter()
getCreatedCounter in interface org.apache.camel.spi.PooledObjectFactory.Statisticspublic long getAcquiredCounter()
getAcquiredCounter in interface org.apache.camel.spi.PooledObjectFactory.Statisticspublic long getReleasedCounter()
getReleasedCounter in interface org.apache.camel.spi.PooledObjectFactory.Statisticspublic long getDiscardedCounter()
getDiscardedCounter in interface org.apache.camel.spi.PooledObjectFactory.StatisticsApache Camel