A B C D G I M N O P R S T V

A

AbstractPool<T> - Class in nf.fr.eraasoft.pool.impl
Object pool implementation based on LinkedBlockingQueue
Use PoolSettings class to obtain an instance of this class
AbstractPool(PoolableObject<T>, PoolSettings<T>) - Constructor for class nf.fr.eraasoft.pool.impl.AbstractPool
 
activate(T) - Method in interface nf.fr.eraasoft.pool.PoolableObject
is invoked on every instance that has been passivated before it is borrowed from the pool.
Activator - Class in nf.fr.eraasoft.pool
 
Activator() - Constructor for class nf.fr.eraasoft.pool.Activator
 
actives() - Method in class nf.fr.eraasoft.pool.impl.AbstractPool
 
actives() - Method in interface nf.fr.eraasoft.pool.impl.Controlable
 
addPoolSettings(PoolSettings<?>) - Static method in class nf.fr.eraasoft.pool.impl.PoolControler
 

B

BlockingQueueObjectPool<T> - Class in nf.fr.eraasoft.pool.impl
Object pool implementation based on LinkedBlockingQueue
Use PoolSettings class to obtain an instance of this class
BlockingQueueObjectPool(PoolableObject<T>, PoolSettings<T>) - Constructor for class nf.fr.eraasoft.pool.impl.BlockingQueueObjectPool
 

C

clear() - Method in class nf.fr.eraasoft.pool.impl.AbstractPool
 
clear() - Method in interface nf.fr.eraasoft.pool.impl.Controlable
Clear the object pool
clear() - Method in class nf.fr.eraasoft.pool.impl.PoolFactory
 
clearCurrentPool() - Method in class nf.fr.eraasoft.pool.PoolSettings
 
ConcurrentLinkedQueuePool<T> - Class in nf.fr.eraasoft.pool.impl
 
ConcurrentLinkedQueuePool(PoolableObject<T>, PoolSettings<T>) - Constructor for class nf.fr.eraasoft.pool.impl.ConcurrentLinkedQueuePool
 
Controlable - Interface in nf.fr.eraasoft.pool.impl
 
create() - Method in class nf.fr.eraasoft.pool.impl.AbstractPool
 

D

debug(boolean) - Method in class nf.fr.eraasoft.pool.PoolSettings
 
debug() - Method in class nf.fr.eraasoft.pool.PoolSettings
 
DEFAUL_MAX_WAIT - Static variable in class nf.fr.eraasoft.pool.PoolSettings
Wait (in second) before
DEFAULT_MAX - Static variable in class nf.fr.eraasoft.pool.PoolSettings
 
DEFAULT_MIN - Static variable in class nf.fr.eraasoft.pool.PoolSettings
 
DEFAULT_TIME_BETWEEN_TWO_CONTROLE - Static variable in class nf.fr.eraasoft.pool.PoolSettings
Control thread
destroy() - Method in class nf.fr.eraasoft.pool.impl.AbstractPool
 
destroy() - Method in interface nf.fr.eraasoft.pool.impl.Controlable
Destroy the pool
destroy(T) - Method in interface nf.fr.eraasoft.pool.PoolableObject
is invoked on every instance when it is being "dropped" from the pool (whether due to the response from validateObject, or for reasons specific to the pool implementation.)
destroy(T) - Method in class nf.fr.eraasoft.pool.PoolableObjectBase
 

G

getObj() - Method in class nf.fr.eraasoft.pool.impl.BlockingQueueObjectPool
 
getObj() - Method in class nf.fr.eraasoft.pool.impl.ConcurrentLinkedQueuePool
 
getObj() - Method in interface nf.fr.eraasoft.pool.ObjectPool
PoolSettings<MyType> poolSettings = ....; MyType myType = poolSettings.pool().getObj();
getPool() - Method in class nf.fr.eraasoft.pool.impl.PoolFactory
 

I

idles() - Method in class nf.fr.eraasoft.pool.impl.AbstractPool
 
idles() - Method in interface nf.fr.eraasoft.pool.impl.Controlable
 
init() - Method in class nf.fr.eraasoft.pool.impl.AbstractPool
 

M

make() - Method in interface nf.fr.eraasoft.pool.PoolableObject
is called whenever a new instance is needed.
max(int) - Method in class nf.fr.eraasoft.pool.PoolSettings
if
max() - Method in class nf.fr.eraasoft.pool.PoolSettings
 
maxIdle(int) - Method in class nf.fr.eraasoft.pool.PoolSettings
 
maxIdle() - Method in class nf.fr.eraasoft.pool.PoolSettings
 
maxWait(int) - Method in class nf.fr.eraasoft.pool.PoolSettings
 
maxWait() - Method in class nf.fr.eraasoft.pool.PoolSettings
 
min(int) - Method in class nf.fr.eraasoft.pool.PoolSettings
Define the minimum number of element in the pool
min() - Method in class nf.fr.eraasoft.pool.PoolSettings
 

N

nf.fr.eraasoft.pool - package nf.fr.eraasoft.pool
 
nf.fr.eraasoft.pool.impl - package nf.fr.eraasoft.pool.impl
 

O

ObjectPool<T> - Interface in nf.fr.eraasoft.pool
 

P

passivate(T) - Method in interface nf.fr.eraasoft.pool.PoolableObject
is invoked on every instance when it is returned to the pool.
passivate(T) - Method in class nf.fr.eraasoft.pool.PoolableObjectBase
 
pool() - Method in class nf.fr.eraasoft.pool.PoolSettings
 
PoolableObject<T> - Interface in nf.fr.eraasoft.pool
 
PoolableObjectBase<T> - Class in nf.fr.eraasoft.pool
Utility class to create a PoolableObject.
PoolableObjectBase() - Constructor for class nf.fr.eraasoft.pool.PoolableObjectBase
 
PoolControler - Class in nf.fr.eraasoft.pool.impl
 
PoolException - Exception in nf.fr.eraasoft.pool
 
PoolException() - Constructor for exception nf.fr.eraasoft.pool.PoolException
 
PoolException(String, Throwable) - Constructor for exception nf.fr.eraasoft.pool.PoolException
 
PoolException(String) - Constructor for exception nf.fr.eraasoft.pool.PoolException
 
PoolException(Throwable) - Constructor for exception nf.fr.eraasoft.pool.PoolException
 
PoolFactory<T> - Class in nf.fr.eraasoft.pool.impl
 
PoolFactory(PoolSettings<T>, PoolableObject<T>) - Constructor for class nf.fr.eraasoft.pool.impl.PoolFactory
 
PoolSettings<T> - Class in nf.fr.eraasoft.pool
Classe used to configure your object pooling.
PoolSettings(PoolableObject<T>) - Constructor for class nf.fr.eraasoft.pool.PoolSettings
Create a new PoolSetting instance with a Poolable object

R

remove(int) - Method in class nf.fr.eraasoft.pool.impl.AbstractPool
 
remove(int) - Method in interface nf.fr.eraasoft.pool.impl.Controlable
remove idle objects
returnObj(T) - Method in class nf.fr.eraasoft.pool.impl.AbstractPool
 
returnObj(T) - Method in interface nf.fr.eraasoft.pool.ObjectPool
Return object to the pool
run() - Method in class nf.fr.eraasoft.pool.impl.PoolControler
 

S

settings() - Method in class nf.fr.eraasoft.pool.impl.PoolFactory
 
shutdown() - Static method in class nf.fr.eraasoft.pool.impl.PoolControler
 
shutdown() - Static method in class nf.fr.eraasoft.pool.PoolSettings
 
start(BundleContext) - Method in class nf.fr.eraasoft.pool.Activator
 
stop(BundleContext) - Method in class nf.fr.eraasoft.pool.Activator
 

T

timeBetweenTwoControls(int) - Static method in class nf.fr.eraasoft.pool.PoolSettings
 
timeBetweenTwoControls() - Static method in class nf.fr.eraasoft.pool.PoolSettings
 
toString() - Method in class nf.fr.eraasoft.pool.impl.AbstractPool
 

V

validate(T) - Method in interface nf.fr.eraasoft.pool.PoolableObject
is invoked on activated instances to make sure they can be borrowed from the pool. validateObject may also be used to test an instance being returned to the pool before it is passivated.
validate(T) - Method in class nf.fr.eraasoft.pool.PoolableObjectBase
 
validateIdles() - Method in class nf.fr.eraasoft.pool.impl.AbstractPool
 
validateIdles() - Method in interface nf.fr.eraasoft.pool.impl.Controlable
validate idle objects
validateWhenReturn(boolean) - Method in class nf.fr.eraasoft.pool.PoolSettings
if true invoke PoolableObject.validate() method
validateWhenReturn() - Method in class nf.fr.eraasoft.pool.PoolSettings
 

A B C D G I M N O P R S T V

Copyright © 2013. All Rights Reserved.