Thread.State, Thread.UncaughtExceptionHandler| Modifier and Type | Field and Description |
|---|---|
static String |
HOST_PROPERTY_NAME |
static String |
KEY_PROPERTY_NAME |
static String |
PORT_PROPERTY_NAME |
MAX_PRIORITY, MIN_PRIORITY, NORM_PRIORITY| Constructor and Description |
|---|
CassandraMonitor(String address,
int port,
String key)
Creates a CassandraMonitor bound to the specified port on the localhost interface using the supplied key.
|
| Modifier and Type | Method and Description |
|---|---|
static void |
main(String[] args)
Starts the
CassandraMonitor and then delegates to CassandraDaemon. |
void |
run() |
activeCount, checkAccess, clone, 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, yieldpublic static final String HOST_PROPERTY_NAME
public static final String PORT_PROPERTY_NAME
public static final String KEY_PROPERTY_NAME
public CassandraMonitor(String address, int port, String key) throws IOException
port - the port to bind to.key - the key to require.IOException - if something goes wrong.public static void main(String[] args) throws IOException
CassandraMonitor and then delegates to CassandraDaemon.args - the command line arguments.IOException - if something goes wrong.Copyright © 2011–2017 MojoHaus. All rights reserved.