org.modeshape.graph.request
Class CompositeRequestChannel.LastRequest
java.lang.Object
org.modeshape.graph.request.Request
org.modeshape.graph.request.CompositeRequestChannel.LastRequest
- All Implemented Interfaces:
- Serializable
- Enclosing class:
- CompositeRequestChannel
protected static class CompositeRequestChannel.LastRequest
- extends Request
A psuedo Request that is used by the CompositeRequestChannel
to insert into a request queue so that the queue's
iterator knows when there are no more requests to process.
- See Also:
- Serialized Form
Method Summary |
RequestType |
getType()
Returns the type of the request |
boolean |
isReadOnly()
Return whether this request only reads information. |
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, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
CompositeRequestChannel.LastRequest
protected CompositeRequestChannel.LastRequest()
isReadOnly
public boolean isReadOnly()
- Description copied from class:
Request
- Return whether this request only reads information.
- Specified by:
isReadOnly
in class Request
- Returns:
- true if this request reads information, or false if it requests that the repository content be changed in some way
getType
public RequestType getType()
- Description copied from class:
Request
- Returns the type of the request
- Specified by:
getType
in class Request
- Returns:
- the type of the request
Copyright © 2008-2011 JBoss, a division of Red Hat. All Rights Reserved.