com.gemstone.gemfire.admin
Class GemFireMonitorService
java.lang.Object
java.lang.Thread
com.gemstone.gemfire.admin.GemFireMonitorService
- All Implemented Interfaces:
- Runnable
public class GemFireMonitorService
- extends Thread
A singleton class to service monitoring requests from a monitor client.
Planned Supported Commands:
SHOW REGIONS: Returns a list of all Regions and some basic RegionAttributes for each one
SHOW CONNECTIONS: Returns a list of all TCP connections to clients, peers, and WAN destinations
SHOW ROLES: Returns a list of roles--WAN Gateway primary/backup, etc.
SHOW QUEUES: Returns a list of open queues and their sizes.
- Since:
- 4.3
| Methods inherited from class java.lang.Thread |
activeCount, checkAccess, countStackFrames, currentThread, destroy, dumpStack, enumerate, getAllStackTraces, getContextClassLoader, getDefaultUncaughtExceptionHandler, getId, getName, getPriority, getStackTrace, getState, getThreadGroup, getUncaughtExceptionHandler, holdsLock, interrupt, interrupted, isAlive, isDaemon, isInterrupted, join, join, join, resume, setContextClassLoader, setDaemon, setDefaultUncaughtExceptionHandler, setName, setPriority, setUncaughtExceptionHandler, sleep, sleep, start, stop, stop, suspend, toString, yield |
GemFireMonitorService
public GemFireMonitorService(DistributedSystem ds,
int listenerPort)
- Constructor.
This constructor is called by
DisctributedSystem/
The cache must be initialized before using in a normal cache member.
In a locator, the cache is not initialized.
GemFireMonitorService
public GemFireMonitorService(DistributedSystem ds,
Cache c,
int listenerPort)
close
public void close()
setCache
public void setCache(Cache cache)
main
public static void main(String[] args)
- For testing only.
- Parameters:
args -
run
public void run()
- Specified by:
run in interface Runnable- Overrides:
run in class Thread
getStatus
public GemFireMemberStatus getStatus()
parseArgs
public static List parseArgs(String args)
- Extract command arguments from the full command string
- Parameters:
args -
Copyright © 2002-2008 GemStone Systems, Inc. All Rights Reserved.