|
||||||||||
| 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.CompositeRequest
org.modeshape.graph.request.CompositeRequestChannel.ChannelCompositeRequest
protected class CompositeRequestChannel.ChannelCompositeRequest

| Field Summary |
|---|
| Fields inherited from class org.modeshape.graph.request.CompositeRequest |
|---|
UNKNOWN_NUMBER_OF_REQUESTS |
| Constructor Summary | |
|---|---|
protected |
CompositeRequestChannel.ChannelCompositeRequest()
|
| Method Summary | |
|---|---|
void |
cancel()
Cancel this request. |
List<Request> |
getRequests()
Return the unmodifiable requests contained in this composite request. |
boolean |
hasError()
Return whether there is an error associated with this request |
Iterator<Request> |
iterator()
|
void |
setError(Throwable error)
Set the error for this request. |
int |
size()
Get the number of requests. |
| Methods inherited from class org.modeshape.graph.request.CompositeRequest |
|---|
add, add, checkForErrors, equals, getType, isReadOnly, toString, with, with, with |
| Methods inherited from class org.modeshape.graph.request.Request |
|---|
checkNotFrozen, freeze, getError, isCancelled, isFrozen, setLatchForFreezing |
| Methods inherited from class java.lang.Object |
|---|
clone, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
protected CompositeRequestChannel.ChannelCompositeRequest()
| Method Detail |
|---|
public Iterator<Request> iterator()
iterator in interface Iterable<Request>iterator in class CompositeRequestCompositeRequest.iterator()public List<Request> getRequests()
getRequests in class CompositeRequestCompositeRequest.getRequests()public int size()
size in class CompositeRequestCompositeRequest.size()public void cancel()
cancellation flag is set, and any current or
future processing of the request may be affected by the cancellation. (Note however, that processors may choose to not
respect this request.)
This method is safe to be called by different threads.
cancel in class RequestRequest.cancel()public void setError(Throwable error)
setError in class Requesterror - the error to be associated with this request, or null if this request is to have no errorRequest.setError(java.lang.Throwable)public boolean hasError()
hasError in class RequestRequest.hasError()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||