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