public interface InternalActorSystem extends ActorSystem, ShardAccessor, SerializationAccessor
| Modifier and Type | Method and Description |
|---|---|
ElasticActor |
getActorInstance(ActorRef actorRef,
Class<? extends ElasticActor> actorClass)
Return the singleton instance of an
ElasticActor |
List<ActorLifecycleListener<?>> |
getActorLifecycleListeners(Class<? extends ElasticActor> actorClass) |
InternalActorSystemConfiguration |
getConfiguration() |
InternalScheduler |
getInternalScheduler() |
int |
getMultiQueueHashSeed() |
ActorNode |
getNode()
Returns the local
ActorNode |
ActorNode |
getNode(String nodeId)
Returns a
ActorNode that can be either remote or local |
InternalActorSystems |
getParent() |
int |
getQueuesPerNode() |
int |
getQueuesPerShard() |
ElasticActor |
getServiceInstance(ActorRef serviceRef)
Return a service or null if the service was not found
|
int |
getShardHashSeed() |
boolean |
isStable()
Returns whether or not the actor system is currently stable, i.e.
|
default void |
shutdown() |
ActorRef |
tempActorFor(String actorId)
Return a reference to a temporary actor
|
actorFor, actorOf, actorOf, actorOf, actorOf, actorOf, getEventListenerRegistry, getName, getScheduler, groupOf, serviceActorFor, serviceActorFor, stop, tempActorOfgetNumberOfShards, getShard, getShardgetDeserializer, getSerializerInternalActorSystemConfiguration getConfiguration()
getConfiguration in interface ActorSystemActorRef tempActorFor(String actorId)
actorId - ElasticActor getActorInstance(ActorRef actorRef, Class<? extends ElasticActor> actorClass)
ElasticActoractorRef - actorClass - ElasticActor getServiceInstance(ActorRef serviceRef)
serviceRef - default void shutdown()
ActorNode getNode(String nodeId)
ActorNode that can be either remote or localnodeId - InternalScheduler getInternalScheduler()
InternalActorSystems getParent()
getParent in interface ActorSystemList<ActorLifecycleListener<?>> getActorLifecycleListeners(Class<? extends ElasticActor> actorClass)
int getQueuesPerNode()
int getQueuesPerShard()
int getShardHashSeed()
int getMultiQueueHashSeed()
boolean isStable()
Copyright © 2021. All rights reserved.