public abstract static class MetricsSystem.AbstractCallback extends Object implements MetricsSystem.Callback
Constructor and Description |
---|
AbstractCallback() |
Modifier and Type | Method and Description |
---|---|
void |
postStart()
Called after start()
|
void |
postStop()
Called after stop()
|
void |
preStart()
Called before start()
|
void |
preStop()
Called before stop()
|
public AbstractCallback()
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
Copyright © 2015 Apache Software Foundation. All Rights Reserved.