Class OpendaylightDirectStatisticsServiceProvider
java.lang.Object
org.opendaylight.openflowplugin.impl.statistics.services.direct.OpendaylightDirectStatisticsServiceProvider
The Opendaylight direct statistics service provider.
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionOptional<? 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.
-
Constructor Details
-
OpendaylightDirectStatisticsServiceProvider
public OpendaylightDirectStatisticsServiceProvider()
-
-
Method Details
-
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
-