public final class OpenFilesSampler extends Object
Modifier and Type | Method and Description |
---|---|
static long |
getErrorThreshold() |
static String |
getLsof() |
static long |
getMaxNrOpenFiles()
Deprecated.
|
static long |
getNrOpenFiles()
Deprecated.
|
static String |
getWarnLsofDetail() |
static long |
getWarnThreshold() |
static boolean |
isStarted() |
static void |
start(long sampleTimeMillis) |
static void |
start(long sampleTimeMillis,
boolean shutdownOnError) |
static void |
start(long sampleTimeMillis,
long warnThreshold,
long errorThreshold,
boolean shutdownOnError) |
static void |
start(long sampleTimeMillis,
long warnThreshold,
long errorThreshold,
boolean shutdownOnError,
int aggTimeMillis) |
static void |
stop() |
public static void start(long sampleTimeMillis)
public static void start(long sampleTimeMillis, boolean shutdownOnError)
public static String getWarnLsofDetail()
public static void start(long sampleTimeMillis, long warnThreshold, long errorThreshold, boolean shutdownOnError)
public static void start(long sampleTimeMillis, long warnThreshold, long errorThreshold, boolean shutdownOnError, int aggTimeMillis)
public static void stop() throws IOException
IOException
public static boolean isStarted()
public static String getLsof()
@Deprecated public static long getMaxNrOpenFiles()
@Deprecated public static long getNrOpenFiles()
public static long getWarnThreshold()
public static long getErrorThreshold()
Copyright © 2018 SPF4J. All rights reserved.