public class TapStream
extends java.lang.Object
Constructor and Description |
---|
TapStream()
Creates a new TapStream which will be used by a TapClient to handle
incoming TAP operations.
|
Modifier and Type | Method and Description |
---|---|
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.
|
public TapStream()
public void cancel()
public boolean isCompleted()
public boolean isCancelled()
public boolean hasErrored()
public void addOp(TapOperation op)
op
- Copyright © 2006-2009 Dustin Sallings, 2009-2013 Couchbase, Inc.