Skip navigation links

Oracle Fusion Middleware Java API Reference for Oracle Business Rules
11g Release 1 (11.1.1.5.0)

E10663-05


oracle.rules.rl.extensions.pool
Class PoolableObject<T>

java.lang.Object
  extended by oracle.rules.rl.extensions.pool.PoolableObject<T>


public class PoolableObject<T>
extends java.lang.Object

A poolable object container.


Method Summary
 T getPooledObject()
          Gets the pooled object.
 long getPoolID()
          Gets the ID of the pool that this poolable object was obtained from.
 long getUsage()
          Gets the count of the number of times this poolable object was obtained from the pool.

 

Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait

 

Method Detail

getPooledObject

public T 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.

Skip navigation links

Oracle Fusion Middleware Java API Reference for Oracle Business Rules
11g Release 1 (11.1.1.5.0)

E10663-05


Copyright © 2011, Oracle and/or its affiliates. All rights reserved.