public interface Statistics
Modifier and Type | Interface and Description |
---|---|
static class |
Statistics.NullImplementation |
Modifier and Type | Field and Description |
---|---|
static Statistics |
nullImplementation
A null implementation which ignores all calls and returns the default config
|
Modifier and Type | Method and Description |
---|---|
com.yahoo.container.StatisticsConfig |
getConfig()
Get current config used.
|
int |
purge()
Purges all cancelled Handles from internal Map and Timer.
|
void |
register(Handle h)
Add a new handle to be scheduled for periodic logging.
|
void |
remove(String name)
Remove a named handler from the set of working handlers.
|
static final Statistics nullImplementation
void register(Handle h)
void remove(String name)
com.yahoo.container.StatisticsConfig getConfig()
int purge()
Copyright © 2018. All rights reserved.