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
ConstructorDescriptionInstantiates 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-statistics
RPC.com.google.common.util.concurrent.ListenableFuture<org.opendaylight.yangtools.yang.common.RpcResult<GetGroupStatisticsOutput>>
Invokeget-group-statistics
RPC.com.google.common.util.concurrent.ListenableFuture<org.opendaylight.yangtools.yang.common.RpcResult<GetMeterStatisticsOutput>>
Invokeget-meter-statistics
RPC.com.google.common.util.concurrent.ListenableFuture<org.opendaylight.yangtools.yang.common.RpcResult<GetNodeConnectorStatisticsOutput>>
Invokeget-node-connector-statistics
RPC.com.google.common.util.concurrent.ListenableFuture<org.opendaylight.yangtools.yang.common.RpcResult<GetQueueStatisticsOutput>>
Invokeget-queue-statistics
RPC.
-
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:OpendaylightDirectStatisticsService
Invokeget-group-statistics
RPC.Get statistics for given group
- Specified by:
getGroupStatistics
in 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:OpendaylightDirectStatisticsService
Invokeget-queue-statistics
RPC.Get statistics for given queues from given port of the node
- Specified by:
getQueueStatistics
in 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:OpendaylightDirectStatisticsService
Invokeget-flow-statistics
RPC.Get statistics for given flow
- Specified by:
getFlowStatistics
in 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:OpendaylightDirectStatisticsService
Invokeget-meter-statistics
RPC.Get statistics for given meter
- Specified by:
getMeterStatistics
in 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:OpendaylightDirectStatisticsService
Invokeget-node-connector-statistics
RPC.Get statistics for given node connector from the node
- Specified by:
getNodeConnectorStatistics
in interfaceOpendaylightDirectStatisticsService
- Parameters:
input
- ofget-node-connector-statistics
- Returns:
- output of
get-node-connector-statistics
-