Class StatisticsManagerImpl
java.lang.Object
org.opendaylight.openflowplugin.impl.statistics.StatisticsManagerImpl
- All Implemented Interfaces:
AutoCloseable
,DeviceRemovedHandler
,OFPManager
,StatisticsManager
,StatisticsManagerControlService
,org.opendaylight.yangtools.yang.binding.RpcService
public final class StatisticsManagerImpl
extends Object
implements StatisticsManager, StatisticsManagerControlService
-
Constructor Summary
ConstructorDescriptionStatisticsManagerImpl
(@NonNull OpenflowProviderConfig config, @NonNull org.opendaylight.mdsal.binding.api.RpcProviderService rpcProviderRegistry, ConvertorExecutor convertorExecutor, @NonNull Executor executor) -
Method Summary
Modifier and TypeMethodDescriptioncom.google.common.util.concurrent.ListenableFuture<org.opendaylight.yangtools.yang.common.RpcResult<ChangeStatisticsWorkModeOutput>>
Invokechange-statistics-work-mode
RPC.void
close()
createContext
(@NonNull DeviceContext deviceContext, boolean useReconciliationFramework) com.google.common.util.concurrent.ListenableFuture<org.opendaylight.yangtools.yang.common.RpcResult<GetStatisticsWorkModeOutput>>
Invokeget-statistics-work-mode
RPC.void
onDeviceRemoved
(DeviceInfo deviceInfo) Method is used to propagate information about device being removed from manager.
-
Constructor Details
-
StatisticsManagerImpl
public StatisticsManagerImpl(@NonNull OpenflowProviderConfig config, @NonNull org.opendaylight.mdsal.binding.api.RpcProviderService rpcProviderRegistry, ConvertorExecutor convertorExecutor, @NonNull Executor executor)
-
-
Method Details
-
getStatisticsWorkMode
public com.google.common.util.concurrent.ListenableFuture<org.opendaylight.yangtools.yang.common.RpcResult<GetStatisticsWorkModeOutput>> getStatisticsWorkMode(GetStatisticsWorkModeInput input) Description copied from interface:StatisticsManagerControlService
Invokeget-statistics-work-mode
RPC.Get statistics manager work mode
- Specified by:
getStatisticsWorkMode
in interfaceStatisticsManagerControlService
- Parameters:
input
- ofget-statistics-work-mode
- Returns:
- output of
get-statistics-work-mode
-
changeStatisticsWorkMode
public com.google.common.util.concurrent.ListenableFuture<org.opendaylight.yangtools.yang.common.RpcResult<ChangeStatisticsWorkModeOutput>> changeStatisticsWorkMode(ChangeStatisticsWorkModeInput input) Description copied from interface:StatisticsManagerControlService
Invokechange-statistics-work-mode
RPC.Set statistics manager work mode
- Specified by:
changeStatisticsWorkMode
in interfaceStatisticsManagerControlService
- Parameters:
input
- ofchange-statistics-work-mode
- Returns:
- output of
change-statistics-work-mode
-
createContext
public StatisticsContext createContext(@NonNull DeviceContext deviceContext, boolean useReconciliationFramework) - Specified by:
createContext
in interfaceStatisticsManager
-
onDeviceRemoved
Description copied from interface:DeviceRemovedHandler
Method is used to propagate information about device being removed from manager.- Specified by:
onDeviceRemoved
in interfaceDeviceRemovedHandler
-
close
public void close()- Specified by:
close
in interfaceAutoCloseable
- Specified by:
close
in interfaceOFPManager
-