| Package | Description |
|---|---|
| org.elasticsoftware.elasticactors.cluster | |
| org.elasticsoftware.elasticactors.state |
| Modifier and Type | Method and Description |
|---|---|
InternalActorSystem |
InternalActorSystems.get(String name) |
| Constructor and Description |
|---|
PersistentActor(K key,
InternalActorSystem actorSystem,
String previousActorStateVersion,
ActorRef ref,
Class<? extends ElasticActor> actorClass,
ActorState actorState)
This Constructor should be used when creating a new PersistentActor in memory
|
PersistentActor(K key,
InternalActorSystem actorSystem,
String previousActorStateVersion,
ActorRef ref,
String affinityKey,
Class<? extends ElasticActor> actorClass,
ActorState actorState) |
PersistentActor(K key,
InternalActorSystem actorSystem,
String currentActorStateVersion,
String previousActorSystemVersion,
ActorRef ref,
Class<? extends ElasticActor> actorClass,
byte[] serializedState,
com.google.common.collect.HashMultimap<String,MessageSubscriber> messageSubscribers,
List<InternalPersistentSubscription> persistentSubscriptions)
This Constructor should be used when the PersistentActor is deserialized
|
PersistentActor(K key,
InternalActorSystem actorSystem,
String currentActorStateVersion,
String previousActorSystemVersion,
ActorRef ref,
Class<? extends ElasticActor> actorClass,
byte[] serializedState,
String affinityKey,
com.google.common.collect.HashMultimap<String,MessageSubscriber> messageSubscribers,
List<InternalPersistentSubscription> persistentSubscriptions) |
Copyright © 2021. All rights reserved.