|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.apache.hadoop.metrics2.MetricsSystem.AbstractCallback
public abstract static class MetricsSystem.AbstractCallback
Convenient abstract class for implementing callback interface
Constructor Summary | |
---|---|
MetricsSystem.AbstractCallback()
|
Method Summary | |
---|---|
void |
postStart()
Called after start() |
void |
postStop()
Called after stop() |
void |
preStart()
Called before start() |
void |
preStop()
Called before stop() |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public MetricsSystem.AbstractCallback()
Method Detail |
---|
public void preStart()
MetricsSystem.Callback
preStart
in interface MetricsSystem.Callback
public void postStart()
MetricsSystem.Callback
postStart
in interface MetricsSystem.Callback
public void preStop()
MetricsSystem.Callback
preStop
in interface MetricsSystem.Callback
public void postStop()
MetricsSystem.Callback
postStop
in interface MetricsSystem.Callback
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |