public class GridStreamerMBeanAdapter extends Object implements GridStreamerMBean
| Constructor and Description |
|---|
GridStreamerMBeanAdapter(GridStreamerImpl streamer) |
| Modifier and Type | Method and Description |
|---|---|
int |
getBatchFutureMapSize()
Gets size of batch futures map.
|
int |
getCurrentActiveSessions()
Gets number of current active sessions.
|
int |
getFailuresCount()
Gets number of failures since last reset.
|
int |
getMaximumActiveSessions()
Gets maximum number of active sessions since last reset.
|
String |
getName()
Gets streamer name.
|
int |
getPipelineAverageExecutionNodes()
Gets average number of unique nodes participated in pipeline execution.
|
long |
getPipelineAverageExecutionTime()
Gets pipeline average execution time, i.e.
|
int |
getPipelineMaximumExecutionNodes()
Gets maximum number of unique nodes participated in pipeline execution.
|
long |
getPipelineMaximumExecutionTime()
Gets pipeline maximum execution time, i.e.
|
int |
getPipelineMinimumExecutionNodes()
Gets minimum number of unique nodes participated in pipeline execution.
|
long |
getPipelineMinimumExecutionTime()
Gets pipeline minimum execution time, i.e.
|
int |
getStageActiveExecutionCount()
Gets number of stages currently being executed in streamer pool.
|
int |
getStageFutureMapSize()
Gets size of stage futures map.
|
long |
getStageTotalExecutionCount()
Gets total number of stages executed since last reset.
|
int |
getStageWaitingExecutionCount()
Gets number of event batches currently waiting to be executed.
|
boolean |
isAtLeastOnce()
Gets
atLeastOnce configuration flag. |
public GridStreamerMBeanAdapter(GridStreamerImpl streamer)
streamer - Streamer.@Nullable public String getName()
getName in interface GridStreamerMBeanpublic boolean isAtLeastOnce()
atLeastOnce configuration flag.isAtLeastOnce in interface GridStreamerMBeanTrue if atLeastOnce is configured.public int getStageFutureMapSize()
atLeastOnce configuration
flag is set to true.getStageFutureMapSize in interface GridStreamerMBeanpublic int getBatchFutureMapSize()
getBatchFutureMapSize in interface GridStreamerMBeanpublic int getStageActiveExecutionCount()
getStageActiveExecutionCount in interface GridStreamerMBeanpublic int getStageWaitingExecutionCount()
getStageWaitingExecutionCount in interface GridStreamerMBeanpublic long getStageTotalExecutionCount()
getStageTotalExecutionCount in interface GridStreamerMBeanpublic long getPipelineMaximumExecutionTime()
getPipelineMaximumExecutionTime in interface GridStreamerMBeanpublic long getPipelineMinimumExecutionTime()
getPipelineMinimumExecutionTime in interface GridStreamerMBeanpublic long getPipelineAverageExecutionTime()
getPipelineAverageExecutionTime in interface GridStreamerMBeanpublic int getPipelineMaximumExecutionNodes()
getPipelineMaximumExecutionNodes in interface GridStreamerMBeanpublic int getPipelineMinimumExecutionNodes()
getPipelineMinimumExecutionNodes in interface GridStreamerMBeanpublic int getPipelineAverageExecutionNodes()
getPipelineAverageExecutionNodes in interface GridStreamerMBeanpublic int getCurrentActiveSessions()
atLeastOnce configuration property is set to true, this metric will be collected
only in this case. When atLeastOnce is set to false, this metric will always be zero.getCurrentActiveSessions in interface GridStreamerMBeanpublic int getMaximumActiveSessions()
atLeastOnce configuration property is set to true, this metric will be collected
only in this case. When atLeastOnce is set to false, this metric will always be zero.getMaximumActiveSessions in interface GridStreamerMBeanpublic int getFailuresCount()
atLeastOnce flag is set to steamer configuration,
then only root node failures will be counted. Otherwise each node will count failures independently.getFailuresCount in interface GridStreamerMBeanCopyright © 2014. All rights reserved.