com.neeve.util
Class UtlPool.Stats

java.lang.Object
  extended by com.neeve.util.UtlPool.Stats
Enclosing class:
UtlPool<T extends UtlPool.Item<T>>

public final class UtlPool.Stats
extends Object

Stores pool statistics


Method Summary
 long detachedWashes()
          Get the number of detached washes performed
 long evicts()
          Get the number of cache evicts
 long gets()
          Get the number of cache gets
 long growths()
          Get the number of cache growths
 long hits()
          Get the number of cache hits
 long misses()
          Get the number of cache misses
 int preallocated()
          Gets the number of items that were preallocated.
 long puts()
          Get the number of cache puts
 String toString()
           
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Method Detail

puts

public final long puts()
Get the number of cache puts


gets

public final long gets()
Get the number of cache gets


hits

public final long hits()
Get the number of cache hits


misses

public final long misses()
Get the number of cache misses


evicts

public final long evicts()
Get the number of cache evicts


growths

public final long growths()
Get the number of cache growths


detachedWashes

public final long detachedWashes()
Get the number of detached washes performed


preallocated

public final int preallocated()
Gets the number of items that were preallocated.

Returns:
The preallocated count.

toString

public String toString()
Overrides:
toString in class Object


Copyright © 2016 Neeve Research, LLC. All Rights Reserved.