Class PooledObjectFactorySupport.UtilizationStatistics

java.lang.Object
org.apache.camel.support.PooledObjectFactorySupport.UtilizationStatistics
All Implemented Interfaces:
org.apache.camel.spi.PooledObjectFactory.Statistics
Enclosing class:
PooledObjectFactorySupport<T>

protected static final class PooledObjectFactorySupport.UtilizationStatistics extends Object implements org.apache.camel.spi.PooledObjectFactory.Statistics
Represents utilization statistics
  • Field Details

  • Constructor Details

    • UtilizationStatistics

      protected UtilizationStatistics()
  • Method Details

    • reset

      public void reset()
      Specified by:
      reset in interface org.apache.camel.spi.PooledObjectFactory.Statistics
    • getCreatedCounter

      public long getCreatedCounter()
      Specified by:
      getCreatedCounter in interface org.apache.camel.spi.PooledObjectFactory.Statistics
    • getAcquiredCounter

      public long getAcquiredCounter()
      Specified by:
      getAcquiredCounter in interface org.apache.camel.spi.PooledObjectFactory.Statistics
    • getReleasedCounter

      public long getReleasedCounter()
      Specified by:
      getReleasedCounter in interface org.apache.camel.spi.PooledObjectFactory.Statistics
    • getDiscardedCounter

      public long getDiscardedCounter()
      Specified by:
      getDiscardedCounter in interface org.apache.camel.spi.PooledObjectFactory.Statistics