com.pcbsys.nirvana.client.nQueueDetails Class Reference

Container class, containing statistics on the queue. More...

Public Member Functions

long getFirstEventTime ()
 Retrieves the timestamp of the first event in this queue. More...
 
long getLastEventTime ()
 Retrieves the timestamp of the last event in this queue. More...
 
int getNoOfEvents ()
 Retrieves the total number of events in this queue. More...
 
int getNoOfReaders ()
 Retrieves the total number of readers on this queue. More...
 
long getTotalMemorySize ()
 Retrieves the total size in bytes the queue currently consumes. More...
 

Detailed Description

Container class, containing statistics on the queue.

Member Function Documentation

long com.pcbsys.nirvana.client.nQueueDetails.getFirstEventTime ( )

Retrieves the timestamp of the first event in this queue.

Returns
The timestamp of the first event in the queue as a long
long com.pcbsys.nirvana.client.nQueueDetails.getLastEventTime ( )

Retrieves the timestamp of the last event in this queue.

Returns
The timestamp of the last event in the queue as a long
int com.pcbsys.nirvana.client.nQueueDetails.getNoOfEvents ( )

Retrieves the total number of events in this queue.

Returns
The current number of events on the queue
int com.pcbsys.nirvana.client.nQueueDetails.getNoOfReaders ( )

Retrieves the total number of readers on this queue.

Returns
The current number of readers on the queue as an int
long com.pcbsys.nirvana.client.nQueueDetails.getTotalMemorySize ( )

Retrieves the total size in bytes the queue currently consumes.

Returns
total size in bytes the queue currently consumes