public interface JMSStatusMBean
Modifier and Type | Method and Description |
---|---|
void |
dumpServerState(String path)
Generates a server dump.
|
int |
getDelay()
Returns the minimal delay between 2 dumps.
|
int |
getPeriod()
Returns the activation period in seconds.
|
int |
getStatus()
Returns the global healthcheck indication, 0 if all connectors are running, 1 otherwise.
|
String |
getStatusInfo()
Returns a user friendly indication of the global healthcheck: RUNNING or UNREACHABLE.
|
int |
getThreshold()
Returns the minimum number of failures before generating a dump.
|
int |
getTimeout()
Returns the timeout used during check.
|
void |
setDelay(int delay)
Sets the minimal delay between 2 dumps.
|
void |
setPeriod(int period)
Sets the activation period in seconds.
|
void |
setThreshold(int threshold)
Sets the minimum number of failures before generating a dump.
|
void |
setTimeout(int timeout)
Sets the timeout used during check.
|
void |
start()
Starts the JMS healthcheck component.
|
void |
stop()
Stops the JMS healthcheck component.
|
int getStatus()
String getStatusInfo()
int getPeriod()
void setPeriod(int period)
period
- the activation period in seconds.int getTimeout()
void setTimeout(int timeout)
timeout
- the timeout used during check.int getThreshold()
void setThreshold(int threshold)
threshold
- the minimum number of failures before generating a dump.int getDelay()
void setDelay(int delay)
delay
- the minimal delay between 2 dumps.void dumpServerState(String path)
path
- Pathname of file to create.Copyright © 2022 ScalAgent D.T.. All rights reserved.