fm.liveswitch.PoolStatistics Class Reference

Pool statistics. More...

Public Member Functions

long getActivePools ()
 Gets the number of pools in use. More...
 
double getHitPercentage ()
 Gets the percentage of cache hits. More...
 
double getMissPercentage ()
 Gets the percentage of cache misses. More...
 
long getPaddingWasted ()
 Gets the amount of buffer padding that is unused for caller's requested buffers. More...
 
long getPendingPoolSize ()
 Gets the total size of all buffers currently in the pool. More...
 
double getReturnPercentage ()
 Gets the percentage of items returned to the pool. More...
 
String getTag ()
 Gets the tag. More...
 
long getTotalCalls ()
 Gets the total calls to obtain a DataBuffer. More...
 
long getTotalPools ()
 Gets the total pools created. More...
 
long getTotalPoolSize ()
 Gets the total size of all buffers allocated in the pool. More...
 
String toString ()
 Overriden ToString. More...
 

Detailed Description

Pool statistics.

Member Function Documentation

◆ getActivePools()

long fm.liveswitch.PoolStatistics.getActivePools ( )

Gets the number of pools in use.

◆ getHitPercentage()

double fm.liveswitch.PoolStatistics.getHitPercentage ( )

Gets the percentage of cache hits.

◆ getMissPercentage()

double fm.liveswitch.PoolStatistics.getMissPercentage ( )

Gets the percentage of cache misses.

◆ getPaddingWasted()

long fm.liveswitch.PoolStatistics.getPaddingWasted ( )

Gets the amount of buffer padding that is unused for caller's requested buffers.

◆ getPendingPoolSize()

long fm.liveswitch.PoolStatistics.getPendingPoolSize ( )

Gets the total size of all buffers currently in the pool.

◆ getReturnPercentage()

double fm.liveswitch.PoolStatistics.getReturnPercentage ( )

Gets the percentage of items returned to the pool.

◆ getTag()

String fm.liveswitch.PoolStatistics.getTag ( )

Gets the tag.

◆ getTotalCalls()

long fm.liveswitch.PoolStatistics.getTotalCalls ( )

Gets the total calls to obtain a DataBuffer.

◆ getTotalPools()

long fm.liveswitch.PoolStatistics.getTotalPools ( )

Gets the total pools created.

◆ getTotalPoolSize()

long fm.liveswitch.PoolStatistics.getTotalPoolSize ( )

Gets the total size of all buffers allocated in the pool.

◆ toString()

String fm.liveswitch.PoolStatistics.toString ( )

Overriden ToString.