- com
- pcbsys
- nirvana
- nAdminAPI
- nInterfaceStatus
Contains the status of a Nirvana Realm server interface. More...
Inherits Observable.
Public Member Functions | |
int | getCurrentIdleCount () |
Returns the number of idle threads waiting for connections. More... | |
String | getErrorMessage () |
Only valid if the state is s_error. More... | |
nInterface | getInterface () |
This method returns the interface configuration details. More... | |
long | getPoolExhausted () |
Returns the total number of times the thread pool reached 0 idle. More... | |
int | getReadBandWidth () |
Returns the read bandwidth. More... | |
long | getRxBytes () |
Returns the number of bytes this interface has received. More... | |
int | getStatus () |
Returns the current status of this interface. More... | |
long | getTotalAuthenticationTime () |
Return the total time spent authenticating connections. More... | |
long | getTotalConnections () |
Returns the total number of connections created by this interface. More... | |
long | getTotalFailedConnections () |
Returns the total number of connections which failed during the initial security handshake and validation. More... | |
long | getTotalReads () |
Returns the total number of reads. More... | |
long | getTotalWrites () |
Returns the total number of writes. More... | |
long | getTxBytes () |
Returns the number of bytes this interface has transmitted. More... | |
long | getWaitTime () |
Returns the total milliseconds that there was no accept thread processing new connections. More... | |
int | getWriteBandWidth () |
Returns the write bandwidth. More... | |
String | toString () |
Return a string repsentation of the interface configuration. More... | |
Static Public Attributes | |
static final int | s_error = 3 |
Indicates an interface with an error during startup. | |
static final int | s_started = 1 |
Indicates a started state on an interface. | |
static final int | s_stopped = 0 |
Indicates a stopped state on an interface. | |
Contains the status of a Nirvana Realm server interface.
int com.pcbsys.nirvana.nAdminAPI.nInterfaceStatus.getCurrentIdleCount | ( | ) |
Returns the number of idle threads waiting for connections.
String com.pcbsys.nirvana.nAdminAPI.nInterfaceStatus.getErrorMessage | ( | ) |
Only valid if the state is s_error.
nInterface com.pcbsys.nirvana.nAdminAPI.nInterfaceStatus.getInterface | ( | ) |
This method returns the interface configuration details.
long com.pcbsys.nirvana.nAdminAPI.nInterfaceStatus.getPoolExhausted | ( | ) |
Returns the total number of times the thread pool reached 0 idle.
int com.pcbsys.nirvana.nAdminAPI.nInterfaceStatus.getReadBandWidth | ( | ) |
Returns the read bandwidth.
long com.pcbsys.nirvana.nAdminAPI.nInterfaceStatus.getRxBytes | ( | ) |
Returns the number of bytes this interface has received.
int com.pcbsys.nirvana.nAdminAPI.nInterfaceStatus.getStatus | ( | ) |
Returns the current status of this interface.
Can be one of stopped, started, paused or error
long com.pcbsys.nirvana.nAdminAPI.nInterfaceStatus.getTotalAuthenticationTime | ( | ) |
Return the total time spent authenticating connections.
long com.pcbsys.nirvana.nAdminAPI.nInterfaceStatus.getTotalConnections | ( | ) |
Returns the total number of connections created by this interface.
long com.pcbsys.nirvana.nAdminAPI.nInterfaceStatus.getTotalFailedConnections | ( | ) |
Returns the total number of connections which failed during the initial security handshake and validation.
long com.pcbsys.nirvana.nAdminAPI.nInterfaceStatus.getTotalReads | ( | ) |
Returns the total number of reads.
long com.pcbsys.nirvana.nAdminAPI.nInterfaceStatus.getTotalWrites | ( | ) |
Returns the total number of writes.
long com.pcbsys.nirvana.nAdminAPI.nInterfaceStatus.getTxBytes | ( | ) |
Returns the number of bytes this interface has transmitted.
long com.pcbsys.nirvana.nAdminAPI.nInterfaceStatus.getWaitTime | ( | ) |
Returns the total milliseconds that there was no accept thread processing new connections.
int com.pcbsys.nirvana.nAdminAPI.nInterfaceStatus.getWriteBandWidth | ( | ) |
Returns the write bandwidth.
String com.pcbsys.nirvana.nAdminAPI.nInterfaceStatus.toString | ( | ) |
Return a string repsentation of the interface configuration.