public class InQueueMWRequestState<T> extends Object implements MWRequestState<T>
| Constructor and Description |
|---|
InQueueMWRequestState(long timeStamp,
URL requestURL,
MWRequestInfo<T> requestInfo) |
| Modifier and Type | Method and Description |
|---|---|
MWRequestInfo<T> |
getMWRequestInfo() |
boolean |
isTerminal()
Returns true if this state is a terminal state.
|
void |
visit(MWRequestStateVisitor<T> visitor)
Call the appropriate method of visitor, based on the current known state of this request.
|
public InQueueMWRequestState(long timeStamp,
URL requestURL,
MWRequestInfo<T> requestInfo)
public void visit(MWRequestStateVisitor<T> visitor)
MWRequestStatevisit in interface MWRequestState<T>public boolean isTerminal()
MWRequestStateisTerminal in interface MWRequestState<T>public MWRequestInfo<T> getMWRequestInfo()
Copyright © 2015–2021. All rights reserved.