Package org.apache.pekko.actor.typed
Interface Extension
-
- All Known Subinterfaces:
ActorFlightRecorder,ClusterSharding,ReplicatedShardingExtension,ShardedDaemonProcess
- All Known Implementing Classes:
ActorRefResolver,Cluster,ClusterSingleton,DistributedData,DistributedData,NoOpActorFlightRecorder$,Receptionist
public interface ExtensionMarker trait/interface for extensions. An extension can be registered in the ActorSystem and is guaranteed to only have one instance perActorSysteminstance perExtensionId. The extension internals must be thread safe. For mutable state it should be preferred to use anActorrather than extensions as first choice.- See Also:
ExtensionId