Package akka.pattern
Class CircuitBreakersRegistry$
- java.lang.Object
-
- akka.pattern.CircuitBreakersRegistry$
-
- All Implemented Interfaces:
ExtensionId<CircuitBreakersRegistry>
,ExtensionIdProvider
public class CircuitBreakersRegistry$ extends java.lang.Object implements ExtensionId<CircuitBreakersRegistry>, ExtensionIdProvider
Companion object providing factory methods for Circuit Breaker which runs callbacks in caller's thread
-
-
Field Summary
Fields Modifier and Type Field Description static CircuitBreakersRegistry$
MODULE$
Static reference to the singleton instance of this Scala object.
-
Constructor Summary
Constructors Constructor Description CircuitBreakersRegistry$()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description CircuitBreakersRegistry
createExtension(ExtendedActorSystem system)
Is used by Akka to instantiate the Extension identified by this ExtensionId, internal use only.CircuitBreakersRegistry
get(ActorSystem system)
Returns an instance of the extension identified by this ExtensionId instance.CircuitBreakersRegistry
get(ClassicActorSystemProvider system)
Returns an instance of the extension identified by this ExtensionId instance.ExtensionId<? extends Extension>
lookup()
Returns the canonical ExtensionId for this Extension-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface akka.actor.ExtensionId
apply, apply, equals, hashCode
-
-
-
-
Field Detail
-
MODULE$
public static final CircuitBreakersRegistry$ MODULE$
Static reference to the singleton instance of this Scala object.
-
-
Method Detail
-
createExtension
public CircuitBreakersRegistry createExtension(ExtendedActorSystem system)
Is used by Akka to instantiate the Extension identified by this ExtensionId, internal use only.- Specified by:
createExtension
in interfaceExtensionId<CircuitBreakersRegistry>
-
lookup
public ExtensionId<? extends Extension> lookup()
Returns the canonical ExtensionId for this Extension- Specified by:
lookup
in interfaceExtensionIdProvider
-
get
public CircuitBreakersRegistry get(ActorSystem system)
Returns an instance of the extension identified by this ExtensionId instance. Java API- Specified by:
get
in interfaceExtensionId<CircuitBreakersRegistry>
-
get
public CircuitBreakersRegistry get(ClassicActorSystemProvider system)
Returns an instance of the extension identified by this ExtensionId instance. Java API- Specified by:
get
in interfaceExtensionId<CircuitBreakersRegistry>
-
-