Class ActorSystemProviderImpl
java.lang.Object
org.opendaylight.controller.cluster.akka.impl.ActorSystemProviderImpl
- All Implemented Interfaces:
AutoCloseable
,ActorSystemProvider
-
Constructor Summary
ConstructorsConstructorDescriptionActorSystemProviderImpl
(ClassLoader classLoader, org.apache.pekko.actor.Props quarantinedMonitorActorProps, com.typesafe.config.Config akkaConfig) -
Method Summary
-
Constructor Details
-
ActorSystemProviderImpl
public ActorSystemProviderImpl(ClassLoader classLoader, org.apache.pekko.actor.Props quarantinedMonitorActorProps, com.typesafe.config.Config akkaConfig)
-
-
Method Details
-
getActorSystem
public org.apache.pekko.actor.ActorSystem getActorSystem()Description copied from interface:ActorSystemProvider
Returns the ActorSystem.- Specified by:
getActorSystem
in interfaceActorSystemProvider
- Returns:
- the ActorSystem.
-
registerActorSystemProviderListener
public ObjectRegistration<ActorSystemProviderListener> registerActorSystemProviderListener(ActorSystemProviderListener listener) Description copied from interface:ActorSystemProvider
Register a listener for ActorSystem lifecycle events.- Specified by:
registerActorSystemProviderListener
in interfaceActorSystemProvider
- Parameters:
listener
- the ActorSystemProviderListener to register- Returns:
- a ListenerRegistration instance to be used to unregister
-
asyncClose
public scala.concurrent.Future<org.apache.pekko.actor.Terminated> asyncClose() -
close
public void close(scala.concurrent.duration.FiniteDuration wait) throws TimeoutException, InterruptedException - Throws:
TimeoutException
InterruptedException
-
close
- Specified by:
close
in interfaceAutoCloseable
- Throws:
TimeoutException
InterruptedException
-