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 com.google.common.util.concurrent.ListeningExecutorService executorService)
-
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)
Set statistics manager work modevoid
close()
StatisticsContext
createContext(@NonNull DeviceContext deviceContext, boolean useReconciliationFramework)
com.google.common.util.concurrent.ListenableFuture<org.opendaylight.yangtools.yang.common.RpcResult<GetStatisticsWorkModeOutput>>
getStatisticsWorkMode(GetStatisticsWorkModeInput input)
Get statistics manager work modevoid
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 com.google.common.util.concurrent.ListeningExecutorService executorService)
-
-
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
Get statistics manager work mode- Specified by:
getStatisticsWorkMode
in interfaceStatisticsManagerControlService
-
changeStatisticsWorkMode
public com.google.common.util.concurrent.ListenableFuture<org.opendaylight.yangtools.yang.common.RpcResult<ChangeStatisticsWorkModeOutput>> changeStatisticsWorkMode(ChangeStatisticsWorkModeInput input)
Description copied from interface:StatisticsManagerControlService
Set statistics manager work mode- Specified by:
changeStatisticsWorkMode
in interfaceStatisticsManagerControlService
-
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
-
-