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
ConstructorsConstructorDescriptionInstantiates a new Opendaylight direct statistics service. -
Method Summary
Modifier and TypeMethodDescriptioncom.google.common.util.concurrent.ListenableFuture<org.opendaylight.yangtools.yang.common.RpcResult<GetFlowStatisticsOutput>>Invokeget-flow-statisticsRPC.com.google.common.util.concurrent.ListenableFuture<org.opendaylight.yangtools.yang.common.RpcResult<GetGroupStatisticsOutput>>Invokeget-group-statisticsRPC.com.google.common.util.concurrent.ListenableFuture<org.opendaylight.yangtools.yang.common.RpcResult<GetMeterStatisticsOutput>>Invokeget-meter-statisticsRPC.com.google.common.util.concurrent.ListenableFuture<org.opendaylight.yangtools.yang.common.RpcResult<GetNodeConnectorStatisticsOutput>>Invokeget-node-connector-statisticsRPC.com.google.common.util.concurrent.ListenableFuture<org.opendaylight.yangtools.yang.common.RpcResult<GetQueueStatisticsOutput>>Invokeget-queue-statisticsRPC.
-
Constructor Details
-
OpendaylightDirectStatisticsServiceImpl
public OpendaylightDirectStatisticsServiceImpl(OpendaylightDirectStatisticsServiceProvider provider) Instantiates a new Opendaylight direct statistics service.- Parameters:
provider- the openflow direct statistics service provider
-
-
Method Details
-
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
-