Package oracle.rules.rl.extensions.pool
Class PoolableObject<T>
java.lang.Object
oracle.rules.rl.extensions.pool.PoolableObject<T>
A poolable object container.
-
Method Summary
Modifier and TypeMethodDescriptionGets the pooled object.longGets the ID of the pool that this poolable object was obtained from.longgetUsage()Gets the count of the number of times this poolable object was obtained from the pool.
-
Method Details
-
getPooledObject
Gets the pooled object.- Returns:
- the pooled object.
-
getPoolID
public long getPoolID()Gets the ID of the pool that this poolable object was obtained from.- Returns:
- the pool ID.
-
getUsage
public long getUsage()Gets the count of the number of times this poolable object was obtained from the pool.- Returns:
- the pool ID.
-