Class ComponentPinManager<C>
java.lang.Object
org.smallmind.quorum.pool.complex.ComponentPinManager<C>
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionintintintvoidvoidprocess(ComponentInstance<C> componentInstance, boolean track) voidremove(ComponentPin<C> componentPin, boolean alreadyAcquired, boolean withPrejudice, boolean track) serve()voidshutdown()voidstartup()voidterminate(ComponentInstance<C> componentInstance, boolean allowReplacement, boolean track)
-
Constructor Details
-
ComponentPinManager
-
-
Method Details
-
startup
- Throws:
ComponentPoolException
-
serve
- Throws:
ComponentPoolException
-
remove
public void remove(ComponentPin<C> componentPin, boolean alreadyAcquired, boolean withPrejudice, boolean track) -
killAllProcessing
public void killAllProcessing() -
process
-
terminate
public void terminate(ComponentInstance<C> componentInstance, boolean allowReplacement, boolean track) -
shutdown
- Throws:
ComponentPoolException
-
getPoolSize
public int getPoolSize() -
getFreeSize
public int getFreeSize() -
getProcessingSize
public int getProcessingSize() -
getExistentialStackTraces
-