public class RequestPathMetricsCollector extends Object
Modifier and Type | Field and Description |
---|---|
static String |
PATH_STATS_COLLECTOR_DELAY |
static String |
PATH_STATS_COLLECTOR_INITIAL_DELAY |
static String |
PATH_STATS_ENABLED |
static String |
PATH_STATS_MAX_DEPTH |
static String |
PATH_STATS_SAMPLE_RATE |
static String |
PATH_STATS_SLOT_CAPACITY |
static String |
PATH_STATS_SLOT_DURATION |
static String |
PATH_STATS_TOP_PATH_MAX |
Constructor and Description |
---|
RequestPathMetricsCollector() |
RequestPathMetricsCollector(boolean accurateMode) |
Modifier and Type | Method and Description |
---|---|
void |
dumpTopPaths(PrintWriter pwriter,
int queryMaxDepth) |
void |
dumpTopReadPaths(PrintWriter pwriter,
int queryMaxDepth) |
void |
dumpTopRequestPath(PrintWriter pwriter,
String requestTypeName,
int queryMaxDepth) |
void |
dumpTopWritePaths(PrintWriter pwriter,
int queryMaxDepth) |
void |
registerRequest(int type,
String path)
The public interface of the buffer.
|
void |
shutdown() |
void |
start() |
public static final String PATH_STATS_SLOT_CAPACITY
public static final String PATH_STATS_SLOT_DURATION
public static final String PATH_STATS_MAX_DEPTH
public static final String PATH_STATS_SAMPLE_RATE
public static final String PATH_STATS_COLLECTOR_INITIAL_DELAY
public static final String PATH_STATS_COLLECTOR_DELAY
public static final String PATH_STATS_TOP_PATH_MAX
public static final String PATH_STATS_ENABLED
public RequestPathMetricsCollector()
public RequestPathMetricsCollector(boolean accurateMode)
public void shutdown()
public void start()
public void registerRequest(int type, String path)
public void dumpTopRequestPath(PrintWriter pwriter, String requestTypeName, int queryMaxDepth)
public void dumpTopReadPaths(PrintWriter pwriter, int queryMaxDepth)
public void dumpTopWritePaths(PrintWriter pwriter, int queryMaxDepth)
public void dumpTopPaths(PrintWriter pwriter, int queryMaxDepth)
Copyright © 2008–2023 The Apache Software Foundation. All rights reserved.