Package com.yahoo.statistics
Interface Statistics
- All Known Implementing Classes:
Statistics.NullImplementation
,StatisticsImpl
Deprecated.
Will be removed on Vespa 8. If required by a method, there exists an alternative to be used instead.
Interface used for registering statistics values and counters for logging.
- Author:
- steinar, Tony Vaagenes
-
Nested Class Summary
-
Field Summary
Modifier and TypeFieldDescriptionstatic final Statistics
Deprecated.A null implementation which ignores all calls and returns the default config -
Method Summary
Modifier and TypeMethodDescriptionDeprecated.Get current config used.int
purge()
Deprecated.Purges all cancelled Handles from internal Map and Timer.void
Deprecated.Add a new handle to be scheduled for periodic logging.void
Deprecated.Remove a named handler from the set of working handlers.
-
Field Details
-
nullImplementation
Deprecated.A null implementation which ignores all calls and returns the default config
-
-
Method Details
-
register
Deprecated.Add a new handle to be scheduled for periodic logging. If a handle already exists with the same name, it will be cancelled and removed from the internal state of this object. -
remove
Deprecated.Remove a named handler from the set of working handlers. -
getConfig
StatisticsConfig getConfig()Deprecated.Get current config used. This may be a null reference, depending on how the instance was constructed. -
purge
int purge()Deprecated.Purges all cancelled Handles from internal Map and Timer.- Returns:
- return value from java.util.Timer.purge()
-