public final class RemoteActorSystemInstance extends Object implements org.elasticsoftware.elasticactors.ActorSystem, org.elasticsoftware.elasticactors.cluster.ShardAccessor, SerializationAccessor
| Modifier and Type | Method and Description |
|---|---|
org.elasticsoftware.elasticactors.ActorRef |
actorFor(String actorId) |
<T> org.elasticsoftware.elasticactors.ActorRef |
actorOf(String actorId,
Class<T> actorClass) |
<T> org.elasticsoftware.elasticactors.ActorRef |
actorOf(String actorId,
Class<T> actorClass,
org.elasticsoftware.elasticactors.ActorState initialState) |
org.elasticsoftware.elasticactors.ActorRef |
actorOf(String actorId,
String actorClassName) |
org.elasticsoftware.elasticactors.ActorRef |
actorOf(String actorId,
String actorClassName,
org.elasticsoftware.elasticactors.ActorState initialState) |
org.elasticsoftware.elasticactors.ActorRef |
actorOf(String actorId,
String actorClassName,
org.elasticsoftware.elasticactors.ActorState initialState,
org.elasticsoftware.elasticactors.ActorRef creatorRef)
A specialization of
ActorSystem.actorOf(String, String, ActorState, ActorRef) for a
RemoteActorSystem. |
void |
destroy() |
org.elasticsoftware.elasticactors.ActorSystemConfiguration |
getConfiguration() |
<T> MessageDeserializer<T> |
getDeserializer(Class<T> messageClass) |
org.elasticsoftware.elasticactors.cluster.ActorSystemEventListenerRegistry |
getEventListenerRegistry() |
String |
getName() |
int |
getNumberOfShards() |
org.elasticsoftware.elasticactors.ActorSystems |
getParent() |
org.elasticsoftware.elasticactors.scheduler.Scheduler |
getScheduler() |
<T> MessageSerializer<T> |
getSerializer(Class<T> messageClass) |
org.elasticsoftware.elasticactors.ActorShard |
getShard(int shardId) |
org.elasticsoftware.elasticactors.ActorShard |
getShard(String actorPath) |
org.elasticsoftware.elasticactors.ActorRefGroup |
groupOf(Collection<org.elasticsoftware.elasticactors.ActorRef> members) |
void |
init() |
org.elasticsoftware.elasticactors.ActorRef |
serviceActorFor(String actorId) |
org.elasticsoftware.elasticactors.ActorRef |
serviceActorFor(String nodeId,
String actorId) |
void |
stop(org.elasticsoftware.elasticactors.ActorRef actorRef) |
<T> org.elasticsoftware.elasticactors.ActorRef |
tempActorOf(Class<T> actorClass,
org.elasticsoftware.elasticactors.ActorState initialState) |
public String getName()
getName in interface org.elasticsoftware.elasticactors.ActorSystempublic <T> org.elasticsoftware.elasticactors.ActorRef actorOf(String actorId, Class<T> actorClass) throws Exception
actorOf in interface org.elasticsoftware.elasticactors.ActorSystemExceptionpublic org.elasticsoftware.elasticactors.ActorRef actorOf(String actorId, String actorClassName) throws Exception
actorOf in interface org.elasticsoftware.elasticactors.ActorSystemExceptionpublic <T> org.elasticsoftware.elasticactors.ActorRef actorOf(String actorId, Class<T> actorClass, org.elasticsoftware.elasticactors.ActorState initialState) throws Exception
actorOf in interface org.elasticsoftware.elasticactors.ActorSystemExceptionpublic org.elasticsoftware.elasticactors.ActorRef actorOf(String actorId, String actorClassName, org.elasticsoftware.elasticactors.ActorState initialState) throws Exception
actorOf in interface org.elasticsoftware.elasticactors.ActorSystemExceptionpublic org.elasticsoftware.elasticactors.ActorRef actorOf(String actorId, String actorClassName, org.elasticsoftware.elasticactors.ActorState initialState, org.elasticsoftware.elasticactors.ActorRef creatorRef) throws Exception
ActorSystem.actorOf(String, String, ActorState, ActorRef) for a
RemoteActorSystem. actorOf in interface org.elasticsoftware.elasticactors.ActorSystemExceptionpublic <T> org.elasticsoftware.elasticactors.ActorRef tempActorOf(Class<T> actorClass, @Nullable org.elasticsoftware.elasticactors.ActorState initialState) throws Exception
tempActorOf in interface org.elasticsoftware.elasticactors.ActorSystemExceptionpublic org.elasticsoftware.elasticactors.ActorRef actorFor(String actorId)
actorFor in interface org.elasticsoftware.elasticactors.ActorSystempublic org.elasticsoftware.elasticactors.ActorRef serviceActorFor(String actorId)
serviceActorFor in interface org.elasticsoftware.elasticactors.ActorSystempublic org.elasticsoftware.elasticactors.ActorRef serviceActorFor(String nodeId, String actorId)
serviceActorFor in interface org.elasticsoftware.elasticactors.ActorSystempublic org.elasticsoftware.elasticactors.scheduler.Scheduler getScheduler()
getScheduler in interface org.elasticsoftware.elasticactors.ActorSystempublic org.elasticsoftware.elasticactors.ActorSystems getParent()
getParent in interface org.elasticsoftware.elasticactors.ActorSystempublic void stop(org.elasticsoftware.elasticactors.ActorRef actorRef)
throws Exception
stop in interface org.elasticsoftware.elasticactors.ActorSystemExceptionpublic org.elasticsoftware.elasticactors.ActorSystemConfiguration getConfiguration()
getConfiguration in interface org.elasticsoftware.elasticactors.ActorSystempublic org.elasticsoftware.elasticactors.cluster.ActorSystemEventListenerRegistry getEventListenerRegistry()
getEventListenerRegistry in interface org.elasticsoftware.elasticactors.ActorSystempublic org.elasticsoftware.elasticactors.ActorRefGroup groupOf(Collection<org.elasticsoftware.elasticactors.ActorRef> members) throws IllegalArgumentException
groupOf in interface org.elasticsoftware.elasticactors.ActorSystemIllegalArgumentException@PostConstruct public void init() throws Exception
Exception@PreDestroy public void destroy()
public org.elasticsoftware.elasticactors.ActorShard getShard(String actorPath)
getShard in interface org.elasticsoftware.elasticactors.cluster.ShardAccessorpublic org.elasticsoftware.elasticactors.ActorShard getShard(int shardId)
getShard in interface org.elasticsoftware.elasticactors.cluster.ShardAccessorpublic int getNumberOfShards()
getNumberOfShards in interface org.elasticsoftware.elasticactors.cluster.ShardAccessorpublic <T> MessageSerializer<T> getSerializer(Class<T> messageClass)
getSerializer in interface SerializationAccessorpublic <T> MessageDeserializer<T> getDeserializer(Class<T> messageClass)
getDeserializer in interface SerializationAccessorCopyright © 2021. All rights reserved.