public final class RuntimeStats extends Object
Modifier and Type | Field and Description |
---|---|
static String |
COLLECT_KEY
Periodically collect stats on the JVM.
|
static long |
COLLECTION_PERIOD_DEFAULT |
static String |
COLLECTION_PERIOD_KEY
The period (in ms) of stats collection.
|
static String |
CONFIG_PREFIX |
Modifier and Type | Method and Description |
---|---|
static void |
collect()
Begin the process of collecting stats.
|
static void |
logDiskRead(long bytes)
Tell the RuntimeStats about an io operation.
|
static void |
logDiskWrite(long bytes)
Tell the RuntimeStats about an io operation.
|
static void |
outputStats()
Ouput collected stats.
|
static void |
stopCollection() |
public static final String CONFIG_PREFIX
public static final String COLLECT_KEY
public static final String COLLECTION_PERIOD_KEY
public static final long COLLECTION_PERIOD_DEFAULT
public static void collect()
public static void stopCollection()
public static void logDiskRead(long bytes)
public static void logDiskWrite(long bytes)
public static void outputStats()
Copyright © 2020 University of California, Santa Cruz. All rights reserved.