public abstract class SOMStats extends ServiceStats
Modifier | Constructor and Description |
---|---|
protected |
SOMStats(StatsOwner statsOwner)
Constructs an instance.
|
Modifier and Type | Method and Description |
---|---|
abstract String |
getObjectType()
Gets the JMX object type.
|
boolean |
register(Config config)
Registers with the JMX agent.
|
void |
unregister()
Unregisters with the JMX agent.
|
freeze, getStatsOwner, isLogEnabled, log, setLogEnabled, updated
addLine, addLine, addText, buildText, clearMargin, clearSnapshot, clearText, clone, getIntermediate, getLogTime, getMarkTime, getSnapshot, getText, nanosToString, setLogTime, setMargin, setMarkTime, setSnapshot, substract, toString
protected SOMStats(@Nonnull StatsOwner statsOwner)
statsOwner
- The stats owner.@Nonnull @CheckReturnValue public abstract String getObjectType()
@CheckReturnValue public final boolean register(@Nonnull Config config)
config
- The configuration.public final void unregister()
Copyright © 2003-2019 Serge Brisson. All Rights Reserved.