public interface JMSConnectorStatusMBean
Modifier and Type | Method and Description |
---|---|
String |
getErrorMsg()
Returns the error message of the last try.
|
String |
getLastConnectTime()
Returns the date of last successful connection.
|
long |
getLatencyConnect()
Returns the latency of the connection during the last try.
|
long |
getLatencyPubSub()
Returns the latency of the send/receive during the last try.
|
String |
getName() |
int |
getNbFailures()
Returns the total number of failures since starting.
|
int |
getNbTry()
Returns the total number of try since starting.
|
int |
getPeriod()
Returns the period of time between 2 checks.
|
int |
getStatus()
Returns the status of the connector: 0 => RUNNING, >0 => UNREACHABLE.
|
String |
getStatusInfo() |
int |
getTimeOut()
Returns the maximum time waiting for connection.
|
void |
setPeriod(int period)
Sets the period of time between 2 checks.
|
void |
setTimeOut(int timeOut)
Sets the maximum time waiting for connection.
|
String getName()
int getPeriod()
void setPeriod(int period)
period
- the period of time between 2 checks.int getTimeOut()
void setTimeOut(int timeOut)
timeOut
- the maximum time waiting for connection.int getStatus()
String getStatusInfo()
int getNbTry()
int getNbFailures()
String getErrorMsg()
String getLastConnectTime()
long getLatencyConnect()
long getLatencyPubSub()
Copyright © 2022 ScalAgent D.T.. All rights reserved.