Package org.apache.camel.spi
Interface PooledObjectFactory.Statistics
-
- Enclosing interface:
- PooledObjectFactory<T>
public static interface PooledObjectFactory.StatisticsUtilization statistics of the this factory.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description longgetAcquiredCounter()Number of exchanges acquired (reused) when using pooled factory.longgetCreatedCounter()Number of new exchanges created.longgetDiscardedCounter()Number of exchanges discarded (thrown away) such as if no space in cache pool.longgetReleasedCounter()Number of exchanges released back to poolvoidreset()Reset the counters
-
-
-
Method Detail
-
getCreatedCounter
long getCreatedCounter()
Number of new exchanges created.
-
getAcquiredCounter
long getAcquiredCounter()
Number of exchanges acquired (reused) when using pooled factory.
-
getReleasedCounter
long getReleasedCounter()
Number of exchanges released back to pool
-
getDiscardedCounter
long getDiscardedCounter()
Number of exchanges discarded (thrown away) such as if no space in cache pool.
-
reset
void reset()
Reset the counters
-
-