Class OpendaylightDirectStatisticsServiceProvider


  • public class OpendaylightDirectStatisticsServiceProvider
    extends Object
    The Opendaylight direct statistics service provider.
    • Constructor Detail

      • OpendaylightDirectStatisticsServiceProvider

        public OpendaylightDirectStatisticsServiceProvider()
    • 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 type
        service - 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