com.pcbsys.nirvana.nAdminAPI.nDurableConnectionNode Class Reference

Represents Connection status for a Durable. More...

Inherits Observable.

Public Member Functions

long getEventsAcked ()
 Get number of events acknowledged on this connection. More...
 
long getEventsRolled ()
 Get number of events rolled back on this connection. More...
 
String getId ()
 Get the id of the current connection. More...
 
long getLastAck ()
 Get the last time an event was acknowledged. More...
 
long getLastReadTime ()
 Get the last time the session acknowledged, rolled back or read an event from the Durable. More...
 
long getTransactionDepth ()
 Get number of queued events waiting to be acknowledge or rolled back. More...
 
int getWindowSize ()
 Get the window size specified for the connection. More...
 
boolean isAsync ()
 Get connection node. More...
 

Detailed Description

Represents Connection status for a Durable.

Member Function Documentation

long com.pcbsys.nirvana.nAdminAPI.nDurableConnectionNode.getEventsAcked ( )

Get number of events acknowledged on this connection.

Returns
long total events acked
long com.pcbsys.nirvana.nAdminAPI.nDurableConnectionNode.getEventsRolled ( )

Get number of events rolled back on this connection.

Returns
long total events rolled back
String com.pcbsys.nirvana.nAdminAPI.nDurableConnectionNode.getId ( )

Get the id of the current connection.

Returns
String connection id
long com.pcbsys.nirvana.nAdminAPI.nDurableConnectionNode.getLastAck ( )

Get the last time an event was acknowledged.

Returns
long last ack
long com.pcbsys.nirvana.nAdminAPI.nDurableConnectionNode.getLastReadTime ( )

Get the last time the session acknowledged, rolled back or read an event from the Durable.

Returns
long last read time
long com.pcbsys.nirvana.nAdminAPI.nDurableConnectionNode.getTransactionDepth ( )

Get number of queued events waiting to be acknowledge or rolled back.

Returns
long transaction depth
int com.pcbsys.nirvana.nAdminAPI.nDurableConnectionNode.getWindowSize ( )

Get the window size specified for the connection.

Returns
int windows size
boolean com.pcbsys.nirvana.nAdminAPI.nDurableConnectionNode.isAsync ( )

Get connection node.

It can be either Sync or Async.

Returns
boolean is async