Class ComponentPinManager<C>
- java.lang.Object
-
- org.smallmind.quorum.pool.complex.ComponentPinManager<C>
-
public class ComponentPinManager<C> extends Object
-
-
Constructor Summary
Constructors Constructor Description ComponentPinManager(ComponentPool<C> componentPool)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description StackTrace[]getExistentialStackTraces()intgetFreeSize()intgetPoolSize()intgetProcessingSize()voidkillAllProcessing()voidprocess(ComponentInstance<C> componentInstance, boolean track)voidremove(ComponentPin<C> componentPin, boolean alreadyAcquired, boolean withPrejudice, boolean track)ComponentPin<C>serve()voidshutdown()voidstartup()voidterminate(ComponentInstance<C> componentInstance, boolean allowReplacement, boolean track)
-
-
-
Constructor Detail
-
ComponentPinManager
public ComponentPinManager(ComponentPool<C> componentPool)
-
-
Method Detail
-
startup
public void startup() throws ComponentPoolException- Throws:
ComponentPoolException
-
serve
public ComponentPin<C> serve() throws ComponentPoolException
- Throws:
ComponentPoolException
-
remove
public void remove(ComponentPin<C> componentPin, boolean alreadyAcquired, boolean withPrejudice, boolean track)
-
killAllProcessing
public void killAllProcessing()
-
process
public void process(ComponentInstance<C> componentInstance, boolean track)
-
terminate
public void terminate(ComponentInstance<C> componentInstance, boolean allowReplacement, boolean track)
-
shutdown
public void shutdown() throws ComponentPoolException- Throws:
ComponentPoolException
-
getPoolSize
public int getPoolSize()
-
getFreeSize
public int getFreeSize()
-
getProcessingSize
public int getProcessingSize()
-
getExistentialStackTraces
public StackTrace[] getExistentialStackTraces()
-
-