public class Subscription extends java.lang.Object implements Continueable
Constructor and Description |
---|
Subscription() |
Modifier and Type | Method and Description |
---|---|
void |
addQueue(Queue q) |
void |
closeAll() |
void |
closeAll(Queue queue) |
boolean |
closed() |
void |
closeQueueIfFinished(Queue queue) |
void |
closeQueueIfFinishedStateless(Queue queue) |
void |
registerLimit(long limit) |
void |
registerSkip(long skip) |
void |
registerTimeLimit(long nanos) |
long |
timeLimit() |
public long timeLimit()
timeLimit
in interface Continueable
public void registerSkip(long skip)
registerSkip
in interface Continueable
public void registerTimeLimit(long nanos)
registerTimeLimit
in interface Continueable
public void registerLimit(long limit)
registerLimit
in interface Continueable
public void addQueue(Queue q)
addQueue
in interface Continueable
public void closeQueueIfFinished(Queue queue)
closeQueueIfFinished
in interface Continueable
public void closeQueueIfFinishedStateless(Queue queue)
closeQueueIfFinishedStateless
in interface Continueable
public void closeAll(Queue queue)
closeAll
in interface Continueable
public void closeAll()
closeAll
in interface Continueable
public boolean closed()
closed
in interface Continueable