public class GridStreamerStageMBeanAdapter extends Object implements GridStreamerStageMBean
| Constructor and Description |
|---|
GridStreamerStageMBeanAdapter(String stageName,
String stageClsName,
GridStreamerImpl streamer) |
| Modifier and Type | Method and Description |
|---|---|
long |
getAverageExecutionTime()
Gets stage average execution time.
|
long |
getAverageWaitingTime()
Stage average waiting time.
|
int |
getFailuresCount()
Gets stage failure count.
|
long |
getMaximumExecutionTime()
Gets stage maximum execution time.
|
long |
getMaximumWaitingTime()
Gets stage maximum waiting time.
|
long |
getMinimumExecutionTime()
Gets stage minimum execution time.
|
long |
getMinimumWaitingTime()
Gets stage minimum waiting time.
|
String |
getName()
Gets stage name.
|
String |
getStageClassName()
Gets stage class name.
|
long |
getTotalExecutionCount()
Gets total stage execution count since last reset.
|
boolean |
isExecuting()
Gets flag indicating if stage is being currently executed by at least one thread on current node.
|
public GridStreamerStageMBeanAdapter(String stageName, String stageClsName, GridStreamerImpl streamer)
stageName - Stage name.stageClsName - Stage class name.streamer - Streamer implementation.public String getName()
getName in interface GridStreamerStageMBeanpublic String getStageClassName()
getStageClassName in interface GridStreamerStageMBeanpublic long getMinimumExecutionTime()
getMinimumExecutionTime in interface GridStreamerStageMBeanpublic long getMaximumExecutionTime()
getMaximumExecutionTime in interface GridStreamerStageMBeanpublic long getAverageExecutionTime()
getAverageExecutionTime in interface GridStreamerStageMBeanpublic long getMinimumWaitingTime()
getMinimumWaitingTime in interface GridStreamerStageMBeanpublic long getMaximumWaitingTime()
getMaximumWaitingTime in interface GridStreamerStageMBeanpublic long getAverageWaitingTime()
getAverageWaitingTime in interface GridStreamerStageMBeanpublic long getTotalExecutionCount()
getTotalExecutionCount in interface GridStreamerStageMBeanpublic int getFailuresCount()
getFailuresCount in interface GridStreamerStageMBeanpublic boolean isExecuting()
isExecuting in interface GridStreamerStageMBeanTrue if stage is executing now.Copyright © 2014. All rights reserved.