|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.modeshape.graph.request.Request
org.modeshape.graph.request.CollectGarbageRequest
public final class CollectGarbageRequest
Request that garbage collection be performed. Processors may disregard this request.
| Constructor Summary | |
|---|---|
CollectGarbageRequest()
Create a request to destroy an existing workspace. |
|
| Method Summary | |
|---|---|
boolean |
equals(Object obj)
|
RequestType |
getType()
Returns the type of the request |
int |
hashCode()
|
boolean |
isAdditionalPassRequired()
Determine whether additional garbage collection passes are still required after this pass. |
boolean |
isReadOnly()
Return whether this request only reads information. |
void |
setAdditionalPassRequired(boolean additionalPassRequired)
After collecting garbage during one pass (per this request), set whether additional passes are still required. |
String |
toString()
|
| Methods inherited from class org.modeshape.graph.request.Request |
|---|
cancel, checkNotFrozen, freeze, getError, hasError, isCancelled, isFrozen, printable, printable, setError, setLatchForFreezing |
| Methods inherited from class java.lang.Object |
|---|
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public CollectGarbageRequest()
| Method Detail |
|---|
public boolean isReadOnly()
isReadOnly in class RequestRequest.isReadOnly()public int hashCode()
hashCode in class ObjectObject.hashCode()public boolean equals(Object obj)
equals in class ObjectObject.equals(java.lang.Object)public void setAdditionalPassRequired(boolean additionalPassRequired)
additionalPassRequired - true if this pass did not collect all known gargabe and additional passes are required, or
false otherwise
IllegalStateException - if the request is frozenpublic boolean isAdditionalPassRequired()
public String toString()
toString in class ObjectObject.toString()public RequestType getType()
Request
getType in class Request
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||