public class StreamerMBeanAdapter extends Object implements StreamerMBean
| Constructor and Description |
|---|
StreamerMBeanAdapter(IgniteStreamerImpl 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. time between execution start and time when last stage in pipeline
returned empty map.
|
int |
getPipelineMaximumExecutionNodes()
Gets maximum number of unique nodes participated in pipeline execution.
|
long |
getPipelineMaximumExecutionTime()
Gets pipeline maximum execution time, i.e. time between execution start and time when last stage in pipeline
returned empty map.
|
int |
getPipelineMinimumExecutionNodes()
Gets minimum number of unique nodes participated in pipeline execution.
|
long |
getPipelineMinimumExecutionTime()
Gets pipeline minimum execution time, i.e. time between execution start and time when last stage in pipeline
returned empty map.
|
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 StreamerMBeanAdapter(IgniteStreamerImpl streamer)
streamer - Streamer.@Nullable public String getName()
getName in interface StreamerMBeanpublic boolean isAtLeastOnce()
atLeastOnce configuration flag.isAtLeastOnce in interface StreamerMBeanTrue if atLeastOnce is configured.public int getStageFutureMapSize()
atLeastOnce configuration
flag is set to true.getStageFutureMapSize in interface StreamerMBeanpublic int getBatchFutureMapSize()
getBatchFutureMapSize in interface StreamerMBeanpublic int getStageActiveExecutionCount()
getStageActiveExecutionCount in interface StreamerMBeanpublic int getStageWaitingExecutionCount()
getStageWaitingExecutionCount in interface StreamerMBeanpublic long getStageTotalExecutionCount()
getStageTotalExecutionCount in interface StreamerMBeanpublic long getPipelineMaximumExecutionTime()
getPipelineMaximumExecutionTime in interface StreamerMBeanpublic long getPipelineMinimumExecutionTime()
getPipelineMinimumExecutionTime in interface StreamerMBeanpublic long getPipelineAverageExecutionTime()
getPipelineAverageExecutionTime in interface StreamerMBeanpublic int getPipelineMaximumExecutionNodes()
getPipelineMaximumExecutionNodes in interface StreamerMBeanpublic int getPipelineMinimumExecutionNodes()
getPipelineMinimumExecutionNodes in interface StreamerMBeanpublic int getPipelineAverageExecutionNodes()
getPipelineAverageExecutionNodes in interface StreamerMBeanpublic 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 StreamerMBeanpublic 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 StreamerMBeanpublic 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 StreamerMBean
Follow @ApacheIgnite
Ignite Fabric : ver. 1.0.0-RC3 Release Date : March 24 2015