Class OpendaylightDirectStatisticsServiceImpl
- java.lang.Object
-
- org.opendaylight.openflowplugin.impl.statistics.services.direct.OpendaylightDirectStatisticsServiceImpl
-
- All Implemented Interfaces:
OpendaylightDirectStatisticsService,org.opendaylight.yangtools.yang.binding.RpcService
public class OpendaylightDirectStatisticsServiceImpl extends Object implements OpendaylightDirectStatisticsService
The Opendaylight direct statistics service. This service handles RPC requests, sends them to registered handlers and returns their replies.
-
-
Constructor Summary
Constructors Constructor Description OpendaylightDirectStatisticsServiceImpl(OpendaylightDirectStatisticsServiceProvider provider)Instantiates a new Opendaylight direct statistics service.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description com.google.common.util.concurrent.ListenableFuture<org.opendaylight.yangtools.yang.common.RpcResult<GetFlowStatisticsOutput>>getFlowStatistics(GetFlowStatisticsInput input)Invokeget-flow-statisticsRPC.com.google.common.util.concurrent.ListenableFuture<org.opendaylight.yangtools.yang.common.RpcResult<GetGroupStatisticsOutput>>getGroupStatistics(GetGroupStatisticsInput input)Invokeget-group-statisticsRPC.com.google.common.util.concurrent.ListenableFuture<org.opendaylight.yangtools.yang.common.RpcResult<GetMeterStatisticsOutput>>getMeterStatistics(GetMeterStatisticsInput input)Invokeget-meter-statisticsRPC.com.google.common.util.concurrent.ListenableFuture<org.opendaylight.yangtools.yang.common.RpcResult<GetNodeConnectorStatisticsOutput>>getNodeConnectorStatistics(GetNodeConnectorStatisticsInput input)Invokeget-node-connector-statisticsRPC.com.google.common.util.concurrent.ListenableFuture<org.opendaylight.yangtools.yang.common.RpcResult<GetQueueStatisticsOutput>>getQueueStatistics(GetQueueStatisticsInput input)Invokeget-queue-statisticsRPC.
-
-
-
Constructor Detail
-
OpendaylightDirectStatisticsServiceImpl
public OpendaylightDirectStatisticsServiceImpl(OpendaylightDirectStatisticsServiceProvider provider)
Instantiates a new Opendaylight direct statistics service.- Parameters:
provider- the openflow direct statistics service provider
-
-
Method Detail
-
getGroupStatistics
public com.google.common.util.concurrent.ListenableFuture<org.opendaylight.yangtools.yang.common.RpcResult<GetGroupStatisticsOutput>> getGroupStatistics(GetGroupStatisticsInput input)
Description copied from interface:OpendaylightDirectStatisticsServiceInvokeget-group-statisticsRPC.Get statistics for given group- Specified by:
getGroupStatisticsin interfaceOpendaylightDirectStatisticsService- Parameters:
input- ofget-group-statistics- Returns:
- output of
get-group-statistics
-
getQueueStatistics
public com.google.common.util.concurrent.ListenableFuture<org.opendaylight.yangtools.yang.common.RpcResult<GetQueueStatisticsOutput>> getQueueStatistics(GetQueueStatisticsInput input)
Description copied from interface:OpendaylightDirectStatisticsServiceInvokeget-queue-statisticsRPC.Get statistics for given queues from given port of the node- Specified by:
getQueueStatisticsin interfaceOpendaylightDirectStatisticsService- Parameters:
input- ofget-queue-statistics- Returns:
- output of
get-queue-statistics
-
getFlowStatistics
public com.google.common.util.concurrent.ListenableFuture<org.opendaylight.yangtools.yang.common.RpcResult<GetFlowStatisticsOutput>> getFlowStatistics(GetFlowStatisticsInput input)
Description copied from interface:OpendaylightDirectStatisticsServiceInvokeget-flow-statisticsRPC.Get statistics for given flow- Specified by:
getFlowStatisticsin interfaceOpendaylightDirectStatisticsService- Parameters:
input- ofget-flow-statistics- Returns:
- output of
get-flow-statistics
-
getMeterStatistics
public com.google.common.util.concurrent.ListenableFuture<org.opendaylight.yangtools.yang.common.RpcResult<GetMeterStatisticsOutput>> getMeterStatistics(GetMeterStatisticsInput input)
Description copied from interface:OpendaylightDirectStatisticsServiceInvokeget-meter-statisticsRPC.Get statistics for given meter- Specified by:
getMeterStatisticsin interfaceOpendaylightDirectStatisticsService- Parameters:
input- ofget-meter-statistics- Returns:
- output of
get-meter-statistics
-
getNodeConnectorStatistics
public com.google.common.util.concurrent.ListenableFuture<org.opendaylight.yangtools.yang.common.RpcResult<GetNodeConnectorStatisticsOutput>> getNodeConnectorStatistics(GetNodeConnectorStatisticsInput input)
Description copied from interface:OpendaylightDirectStatisticsServiceInvokeget-node-connector-statisticsRPC.Get statistics for given node connector from the node- Specified by:
getNodeConnectorStatisticsin interfaceOpendaylightDirectStatisticsService- Parameters:
input- ofget-node-connector-statistics- Returns:
- output of
get-node-connector-statistics
-
-