|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectecologylab.generic.Debug
ecologylab.generic.ResourcePool<T>
ecologylab.generic.ResourcePoolWithSize<PreppedRequest>
ecologylab.services.distributed.impl.PreppedRequestPool
public class PreppedRequestPool
| Field Summary |
|---|
| Fields inherited from class ecologylab.generic.ResourcePoolWithSize |
|---|
resourceObjectCapacity |
| Fields inherited from class ecologylab.generic.ResourcePool |
|---|
DEFAULT_POOL_SIZE |
| Constructor Summary | |
|---|---|
PreppedRequestPool(int initialPoolSize,
int minimumPoolSize,
int resourceObjectCapacity)
|
|
| Method Summary | |
|---|---|
protected void |
clean(PreppedRequest objectToClean)
Ensure that the given Object is "clean", that is, in the state it would be in if it were just instantiated. |
protected PreppedRequest |
generateNewResource()
Instantiates a resource of type T. |
| Methods inherited from class ecologylab.generic.ResourcePool |
|---|
acquire, instantiateResourcesInPool, release |
| Methods inherited from class ecologylab.generic.Debug |
|---|
classSimpleName, closeLoggingFile, debug, debug, debug, debug, debugA, debugA, debugA, debugI, debugI, debugI, error, error, getClassName, getClassName, getInteractive, getPackageName, getPackageName, getPackageName, initialize, level, level, level, logToFile, print, print, println, println, println, println, println, println, printlnA, printlnA, printlnA, printlnI, printlnI, printlnI, printlnI, setLoggingFile, show, show, superString, toggleInteractive, toString, toString, warning, warning, weird, weird |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public PreppedRequestPool(int initialPoolSize,
int minimumPoolSize,
int resourceObjectCapacity)
initialPoolSize - minimumPoolSize - resourceObjectCapacity - | Method Detail |
|---|
protected void clean(PreppedRequest objectToClean)
ResourcePool
clean in class ResourcePool<PreppedRequest>ResourcePool.clean(java.lang.Object)protected PreppedRequest generateNewResource()
ResourcePool
generateNewResource in class ResourcePool<PreppedRequest>ResourcePool.generateNewResource()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||