VMware GemFire Java API Reference
Package org.apache.geode.management
Interface ManagerMXBean
-
public interface ManagerMXBeanMBean that provides access to information and management functionality for aManager.- Since:
- GemFire 7.0
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description java.lang.StringgetPulseURL()Returns the URL for connecting to the Pulse application.java.lang.StringgetStatusMessage()Returns the last set status message.booleanisRunning()Returns whether the manager service is running on this member.voidsetPulseURL(java.lang.String pulseURL)Sets the URL for the Pulse application.voidsetStatusMessage(java.lang.String message)Sets the status message.booleanstart()Starts the manager service.booleanstop()Stops the manager service.
-
-
-
Method Detail
-
isRunning
boolean isRunning()
Returns whether the manager service is running on this member.- Returns:
- True of the manager service is running, false otherwise.
-
start
boolean start() throws javax.management.JMExceptionStarts the manager service.- Returns:
- True if the manager service was successfully started, false otherwise.
- Throws:
javax.management.JMException- if an exception is encountered when starting the manager service
-
stop
boolean stop() throws javax.management.JMExceptionStops the manager service.- Returns:
- True if the manager service was successfully stopped, false otherwise.
- Throws:
javax.management.JMException- if an exception is encountered when stopping the manager service
-
getPulseURL
java.lang.String getPulseURL()
Returns the URL for connecting to the Pulse application.- Returns:
- the URL for connecting to the Pulse application
-
setPulseURL
void setPulseURL(java.lang.String pulseURL)
Sets the URL for the Pulse application.- Parameters:
pulseURL- The URL for the Pulse application.
-
getStatusMessage
java.lang.String getStatusMessage()
Returns the last set status message. Generally, a subcomponent will call setStatusMessage to save the result of its execution. For example, if the embedded HTTP server failed to start, the reason for that failure will be saved here.- Returns:
- the last set status message
-
setStatusMessage
void setStatusMessage(java.lang.String message)
Sets the status message.- Parameters:
message- The status message.
-
-