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 class StatisticsManagerImpl extends Object implements StatisticsManager, StatisticsManagerControlService
-
-
Constructor Summary
Constructors Constructor Description StatisticsManagerImpl(@NonNull OpenflowProviderConfig config, @NonNull org.opendaylight.mdsal.binding.api.RpcProviderService rpcProviderRegistry, ConvertorExecutor convertorExecutor, @NonNull Executor executor)
-
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<ChangeStatisticsWorkModeOutput>>
changeStatisticsWorkMode(ChangeStatisticsWorkModeInput input)
Invokechange-statistics-work-mode
RPC.void
close()
StatisticsContext
createContext(@NonNull DeviceContext deviceContext, boolean useReconciliationFramework)
com.google.common.util.concurrent.ListenableFuture<org.opendaylight.yangtools.yang.common.RpcResult<GetStatisticsWorkModeOutput>>
getStatisticsWorkMode(GetStatisticsWorkModeInput input)
Invokeget-statistics-work-mode
RPC.void
onDeviceRemoved(DeviceInfo deviceInfo)
Method is used to propagate information about device being removed from manager.
-
-
-
Constructor Detail
-
StatisticsManagerImpl
public StatisticsManagerImpl(@NonNull OpenflowProviderConfig config, @NonNull org.opendaylight.mdsal.binding.api.RpcProviderService rpcProviderRegistry, ConvertorExecutor convertorExecutor, @NonNull Executor executor)
-
-
Method Detail
-
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
public void onDeviceRemoved(DeviceInfo deviceInfo)
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
-
-