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
     
  • Method Summary

    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.

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • 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 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