public class StatCollector extends Object
Modifier and Type | Field and Description |
---|---|
static boolean |
enableStatCollection |
static long |
statCollectionPeriod |
static long |
statDisplayWindow |
Modifier and Type | Method and Description |
---|---|
static void |
collect(AccessInformation accessInfo,
String callerID,
int type) |
static void |
displayStats(int throttleType) |
static void |
flushStats() |
static StatCollector |
getInstance() |
static void |
main(String[] args) |
static void |
setStatCollectionPeriod(long period) |
static void |
setStatDisplayWindow(long period) |
public static long statCollectionPeriod
public static long statDisplayWindow
public static boolean enableStatCollection
public static StatCollector getInstance()
public static void setStatCollectionPeriod(long period)
public static void setStatDisplayWindow(long period)
public static void collect(AccessInformation accessInfo, String callerID, int type)
public static void flushStats()
public static void displayStats(int throttleType)
public static void main(String[] args)
Copyright © 2005–2018 Apache Software Foundation. All rights reserved.