org.apache.openejb.util
Class Pool.Entry
java.lang.Object
org.apache.openejb.util.Pool.Entry
- Enclosing class:
- Pool<T>
public class Pool.Entry
- extends Object
Nested Class Summary |
class |
Pool.Entry.Instance
Exists for the garbage collection related callbacks |
get
public T get()
harden
public void harden()
markLastUsed
public void markLastUsed()
getUsed
public long getUsed()
hasHardReference
public boolean hasHardReference()
- Largely for testing purposes
- Returns:
- true if this entry is in the "min" pool
toString
public String toString()
- Overrides:
toString
in class Object
Copyright © 1999-2013 The Apache OpenEJB development community. All Rights Reserved.