Class ActorSystemProviderImpl
- java.lang.Object
-
- org.opendaylight.controller.cluster.akka.impl.ActorSystemProviderImpl
-
- All Implemented Interfaces:
AutoCloseable,org.opendaylight.controller.cluster.ActorSystemProvider
public class ActorSystemProviderImpl extends Object implements org.opendaylight.controller.cluster.ActorSystemProvider, AutoCloseable
-
-
Constructor Summary
Constructors Constructor Description ActorSystemProviderImpl(ClassLoader classLoader, akka.actor.Props quarantinedMonitorActorProps, com.typesafe.config.Config akkaConfig)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description scala.concurrent.Future<akka.actor.Terminated>asyncClose()voidclose()voidclose(scala.concurrent.duration.FiniteDuration wait)akka.actor.ActorSystemgetActorSystem()org.opendaylight.yangtools.concepts.ListenerRegistration<org.opendaylight.controller.cluster.ActorSystemProviderListener>registerActorSystemProviderListener(org.opendaylight.controller.cluster.ActorSystemProviderListener listener)
-
-
-
Constructor Detail
-
ActorSystemProviderImpl
public ActorSystemProviderImpl(ClassLoader classLoader, akka.actor.Props quarantinedMonitorActorProps, com.typesafe.config.Config akkaConfig)
-
-
Method Detail
-
getActorSystem
public akka.actor.ActorSystem getActorSystem()
- Specified by:
getActorSystemin interfaceorg.opendaylight.controller.cluster.ActorSystemProvider
-
registerActorSystemProviderListener
public org.opendaylight.yangtools.concepts.ListenerRegistration<org.opendaylight.controller.cluster.ActorSystemProviderListener> registerActorSystemProviderListener(org.opendaylight.controller.cluster.ActorSystemProviderListener listener)
- Specified by:
registerActorSystemProviderListenerin interfaceorg.opendaylight.controller.cluster.ActorSystemProvider
-
asyncClose
public scala.concurrent.Future<akka.actor.Terminated> asyncClose()
-
close
public void close(scala.concurrent.duration.FiniteDuration wait) throws TimeoutException, InterruptedException- Throws:
TimeoutExceptionInterruptedException
-
close
public void close() throws TimeoutException, InterruptedException- Specified by:
closein interfaceAutoCloseable- Throws:
TimeoutExceptionInterruptedException
-
-