| Package | Description |
|---|---|
| org.elasticsoftware.elasticactors.state |
| Modifier and Type | Method and Description |
|---|---|
com.google.common.collect.HashMultimap<String,MessageSubscriber> |
PersistentActor.getMessageSubscribers() |
| Modifier and Type | Method and Description |
|---|---|
void |
PersistentActor.addSubscriber(String messageName,
MessageSubscriber messageSubscriber) |
boolean |
PersistentActor.removeSubscriber(String messageName,
MessageSubscriber messageSubscriber) |
| Constructor and Description |
|---|
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.