|
GemFire 6.0.1 | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
public interface ManagedEntity
A entity that can be managed with the GemFire administration API.
ManagedEntityConfig| Method Summary | |
|---|---|
String |
getLog()
Returns the tail of this manage entity's log file. |
boolean |
isRunning()
Returns whether or not this managed entity is running. |
void |
start()
Starts this managed entity. |
void |
stop()
Stops this managed entity. |
boolean |
waitToStart(long timeout)
Waits for up to a given number of milliseconds for this managed entity to start. |
boolean |
waitToStop(long timeout)
Waits for up to a given number of milliseconds for this managed entity to stop. |
| Method Detail |
|---|
void start()
throws AdminException
AdminException - If a problem is encountered while starting this managed
entity.
IllegalStateException - If this managed entity resides on a remote machine and a
null or empty ("") remote command has
been specified.waitToStart(long)
void stop()
throws AdminException
AdminException - If a problem is encountered while stopping this managed
entity.
IllegalStateException - If this managed entity resides on a remote machine and a
null or empty ("") remote command has
been specified.waitToStop(long)
boolean waitToStart(long timeout)
throws InterruptedException
timeout - The number of milliseconds to wait for this managed entity
to start.
false, if the method times out.
InterruptedException - If the thread invoking this method is interrupted while
waiting.
boolean waitToStop(long timeout)
throws InterruptedException
timeout - The number of milliseconds to wait for this managed entity
to stop.
false, if the method times out.
InterruptedException - If the thread invoking this method is interrupted while
waiting.boolean isRunning()
IllegalStateException - If this managed entity resides on a remote machine and a
null or empty ("") remote command has
been specified.
String getLog()
throws AdminException
AdminException - If a problem is encountered while getting the log of this
managed entity.
UnsupportedOperationException - If this managed entity does not support retrieving its
log.
|
GemFire 6.0.1 | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||