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 PipeMonitorMBean
public String getStatus()
getStatus
in interface PipeMonitorMBean
public void failed()
public String getName()
getName
in interface PipeMonitorMBean
public String getPath()
getPath
in interface PipeMonitorMBean
public long getExecutionCount()
getExecutionCount
in interface PipeMonitorMBean
public long getMeanDurationMilliseconds()
getMeanDurationMilliseconds
in interface PipeMonitorMBean
public void setLastResult(ExecutionResult result)
public CompositeData getLastResult()
getLastResult
in interface PipeMonitorMBean
public String run()
run
in interface PipeMonitorMBean
Copyright © 2007–2019 The Apache Software Foundation. All rights reserved.