- com
- pcbsys
- nirvana
- client
- nExclusiveDurable
The Exclusive Durable Implementation of nDurable Exclusive Durable is used for a single consumer as a means of providing a server side managed position within a channel. More...
Inherits com.pcbsys.nirvana.client.nBaseTopicDurable.
Public Member Functions | |
nDurableViewer | createViewer () throws nUnexpectedResponseException, nSessionPausedException, nUnknownRemoteRealmException, nIllegalArgumentException, nSessionNotConnectedException, nIllegalChannelMode, nRequestTimedOutException, nChannelNotFoundException, nSecurityException |
![]() | |
abstract void | remove (long eid) throws nBaseClientException |
If supported this method will attempt to remove the event with the corresponding event ID from the durable object. More... | |
abstract void | remove (long start, long end) throws nBaseClientException |
If supported this method will attempt to remove events between the start and end events on a durable. More... | |
abstract void | remove (String filter) throws nBaseClientException |
If supported this method will attempt to remove events matching a filter on a durable. More... | |
abstract void | removeAll () throws nBaseClientException |
If supported this method will attempt to remove all events on a durable. More... | |
![]() | |
void | ack (long[] eids) throws nIllegalArgumentException, nSessionPausedException, nSessionNotConnectedException, nRequestTimedOutException |
Acknowledge multiple events in one server call. More... | |
void | ack (long[] eids, boolean isSynchronous) throws nIllegalArgumentException, nSessionNotConnectedException, nSessionPausedException, nRequestTimedOutException |
Acknowledge multiple events in one server call. More... | |
long | getEID () |
Returns the current event ID that this named context is bound to. More... | |
long | getID () |
Returns the unique ID of this client context. More... | |
String | getName () |
Returns the name of this client context. More... | |
long | getOutstandingEvents () |
Returns the number of outstanding messages to be consumed for this durable object. More... | |
boolean | isClusterWide () |
Does this named object exist across the cluster. More... | |
boolean | isDurableObjectInvalid () |
When a store is removed (or modified which entails a remove and create) then these logical representations can become invalid Once they are invalid you must perform a findChannel again on the nSession to acquire the latest object. More... | |
boolean | isPersistent () |
Returns if the durable names state is saved to disk on the server or not. More... | |
boolean | isSerial () |
If set the named object will queue multiple subscribers and send events to them in a serial fashion (events are processed in the order that they are published across all consumers). More... | |
boolean | isShared () |
If set the named object will queue multiple subscribers and send events to them in a round-robin fashion. More... | |
The Exclusive Durable Implementation of nDurable Exclusive Durable is used for a single consumer as a means of providing a server side managed position within a channel.
|
virtual |
Implements com.pcbsys.nirvana.client.nDurable.