- objectAquired(Object) - Method in class org.d_haven.mpool.PoolAdaptor
-
Notifies the listener when an object is being accessed from the
pool.
- objectAquired(Object) - Method in interface org.d_haven.mpool.PoolListener
-
Notifies the listener when an object is being accessed from the
pool.
- objectCreated(Object) - Method in class org.d_haven.mpool.PoolAdaptor
-
Notifies the listener when the pool creates a new object to
introduce into the pool.
- objectCreated(Object) - Method in interface org.d_haven.mpool.PoolListener
-
Notifies the listener when the pool creates a new object to
introduce into the pool.
- objectCreationFailed(Exception) - Method in class org.d_haven.mpool.PoolAdaptor
-
Notifies the listener when the pool fails to create a new object
when it is asked for.
- objectCreationFailed(Exception) - Method in interface org.d_haven.mpool.PoolListener
-
Notifies the listener when the pool fails to create a new object
when it is asked for.
- objectDisposalFailed(Object, Exception) - Method in class org.d_haven.mpool.PoolAdaptor
-
Notifies the listener when an object could not properly be
disposed.
- objectDisposalFailed(Object, Exception) - Method in interface org.d_haven.mpool.PoolListener
-
Notifies the listener when an object disposal failed.
- objectDisposed(Object) - Method in class org.d_haven.mpool.PoolAdaptor
-
Notifies the listener when an object is being disposed so that it
will never be reused.
- objectDisposed(Object) - Method in interface org.d_haven.mpool.PoolListener
-
Notifies the listener when an object is being disposed so that it
will never be reused.
- ObjectFactory - Interface in org.d_haven.mpool
-
This interface is to define how an ObjectFactory is defined.
- objectReleased(Object) - Method in class org.d_haven.mpool.PoolAdaptor
-
Notifies the listener when an object is being returned to the
pool.
- objectReleased(Object) - Method in interface org.d_haven.mpool.PoolListener
-
Notifies the listener when an object is being returned to the
pool.
- objectReleased(Object) - Method in class org.d_haven.mpool.RecyclePoolListener
-
Recycle the object on returning.
- org.d_haven.mpool - package org.d_haven.mpool
-
- recycle(Object) - Method in class org.d_haven.mpool.NullRecyclePolicy
-
All objects are not supposed to recycle, so this method does
nothing.
- recycle(Object) - Method in interface org.d_haven.mpool.RecyclePolicy
-
Recycle the object included.
- recycle(Object) - Method in class org.d_haven.mpool.ReflectionRecyclePolicy
-
Recycle the object included.
- recycle(Object) - Method in class org.d_haven.mpool.ResettableRecyclePolicy
-
Recycle the object included.
- RecyclePolicy - Interface in org.d_haven.mpool
-
The recycle policy is present so that you can use whatever method you
desire to recycle your objects and components.
- RecyclePoolListener - Class in org.d_haven.mpool
-
Recycle components through a PoolListener.
- RecyclePoolListener(RecyclePolicy) - Constructor for class org.d_haven.mpool.RecyclePoolListener
-
Create a RecyclePoolListener using the supplied policy.
- ReflectionRecyclePolicy - Class in org.d_haven.mpool
-
The ReflectionRecyclePolicy allows the user to specify a particular
method to use for recycling their pooled objects regardless of
whether the object implements any interfaces or not.
- ReflectionRecyclePolicy(String) - Constructor for class org.d_haven.mpool.ReflectionRecyclePolicy
-
Create the ReflectionRecyclePolicy using the supplied method name
as the magic method that gets called when an object is returned
to the pool.
- release(Object) - Method in class org.d_haven.mpool.AbstractPool
-
Release the instance of the pooled object.
- release(Object) - Method in interface org.d_haven.mpool.Pool
-
Release the instance of the pooled object.
- removePoolListener(PoolListener) - Method in class org.d_haven.mpool.AbstractPool
-
Remove a pool listener from the pool.
- removePoolListener(PoolListener) - Method in interface org.d_haven.mpool.Pool
-
Remove a pool listener from the pool.
- reset() - Method in interface org.d_haven.mpool.Resettable
-
This method should be implemented to remove all costly resources
in object.
- Resettable - Interface in org.d_haven.mpool
-
This interface standardizes the behaviour of a resettable object.
- ResettableRecyclePolicy - Class in org.d_haven.mpool
-
This implementation of the ResettableRecyclePolicy is the default
implementation for the system.
- ResettableRecyclePolicy() - Constructor for class org.d_haven.mpool.ResettableRecyclePolicy
-