|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectnet.spy.memcached.tapmessage.TapStream
public class TapStream
Holds multiple operations put together for a tap stream. A TapStream handles the series of messages coming back from a given node which is sending data over TAP. The TapClient will typically manage a set of TapStreams.
Constructor Summary | |
---|---|
TapStream()
Creates a new TapStream which will be used by a TapClient to handle incoming TAP operations. |
Method Summary | |
---|---|
void |
addOp(TapOperation op)
Add an operation to the stream of TAP messages which have been sent to the server. |
void |
cancel()
Cancels all operations still waiting on an existing TapStream. |
boolean |
hasErrored()
Determine if messages sent to this server and recorded on this TapStream have been determined to be in error. |
boolean |
isCancelled()
Determine if messages sent to this server and recorded on this TapStream have been canceled. |
boolean |
isCompleted()
Check if all operations in the TapStream are completed. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public TapStream()
Method Detail |
---|
public void cancel()
public boolean isCompleted()
public boolean isCancelled()
public boolean hasErrored()
public void addOp(TapOperation op)
op
-
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |