Class OpendaylightDirectStatisticsServiceProvider
- java.lang.Object
-
- org.opendaylight.openflowplugin.impl.statistics.services.direct.OpendaylightDirectStatisticsServiceProvider
-
public class OpendaylightDirectStatisticsServiceProvider extends Object
The Opendaylight direct statistics service provider.
-
-
Constructor Summary
Constructors Constructor Description OpendaylightDirectStatisticsServiceProvider()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Optional<? extends org.opendaylight.openflowplugin.impl.statistics.services.direct.AbstractDirectStatisticsService>
lookup(Class<? extends org.opendaylight.openflowplugin.impl.statistics.services.direct.AbstractDirectStatisticsService> type)
Lookup direct statistics service.void
register(Class<? extends org.opendaylight.openflowplugin.impl.statistics.services.direct.AbstractDirectStatisticsService> type, org.opendaylight.openflowplugin.impl.statistics.services.direct.AbstractDirectStatisticsService service)
Register direct statistics service.
-
-
-
Method Detail
-
register
public void register(Class<? extends org.opendaylight.openflowplugin.impl.statistics.services.direct.AbstractDirectStatisticsService> type, org.opendaylight.openflowplugin.impl.statistics.services.direct.AbstractDirectStatisticsService service)
Register direct statistics service.- Parameters:
type
- the service typeservice
- the service instance
-
lookup
public Optional<? extends org.opendaylight.openflowplugin.impl.statistics.services.direct.AbstractDirectStatisticsService> lookup(Class<? extends org.opendaylight.openflowplugin.impl.statistics.services.direct.AbstractDirectStatisticsService> type)
Lookup direct statistics service.- Parameters:
type
- the service type- Returns:
- the service instance
-
-