public class PipeMonitor extends Object implements PipeMonitorMBean
| Modifier and Type | Field and Description |
|---|---|
protected static org.slf4j.Logger |
LOGGER |
| Constructor and Description |
|---|
PipeMonitor(Plumber currentPlumber,
Pipe pipe) |
| Modifier and Type | Method and Description |
|---|---|
void |
ends() |
void |
failed() |
long |
getExecutionCount() |
long |
getFailed() |
CompositeData |
getLastResult() |
long |
getMeanDurationMilliseconds() |
String |
getName() |
String |
getPath() |
String |
getStatus() |
String |
run() |
void |
setLastResult(ExecutionResult result) |
void |
starts() |
public void starts()
public void ends()
public long getFailed()
getFailed in interface PipeMonitorMBeanpublic String getStatus()
getStatus in interface PipeMonitorMBeanpublic void failed()
public String getName()
getName in interface PipeMonitorMBeanpublic String getPath()
getPath in interface PipeMonitorMBeanpublic long getExecutionCount()
getExecutionCount in interface PipeMonitorMBeanpublic long getMeanDurationMilliseconds()
getMeanDurationMilliseconds in interface PipeMonitorMBeanpublic void setLastResult(ExecutionResult result)
public CompositeData getLastResult()
getLastResult in interface PipeMonitorMBeanpublic String run()
run in interface PipeMonitorMBeanCopyright © 2007–2018 The Apache Software Foundation. All rights reserved.