Interface ManagedObjectPoolContext
-
- All Known Implementing Classes:
ManagedObjectPoolContextImpl
public interface ManagedObjectPoolContext
Context for theManagedObjectPool
.- Author:
- Daniel Sagenschneider
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description ManagedObjectSource<?,?>
getManagedObjectSource()
ManagedObjectSource
to have itsManagedObject
instances pooled.boolean
isCurrentThreadManaged()
Indicates if the currentThread
is managed.
-
-
-
Method Detail
-
getManagedObjectSource
ManagedObjectSource<?,?> getManagedObjectSource()
ManagedObjectSource
to have itsManagedObject
instances pooled.- Returns:
ManagedObjectSource
.
-
isCurrentThreadManaged
boolean isCurrentThreadManaged()
Indicates if the currentThread
is managed. A managedThread
will notify theThreadCompletionListener
instances of its completion.- Returns:
true
if the currentThread
is managed.
-
-