| Package | Description |
|---|---|
| org.elasticsoftware.elasticactors.reactivestreams | |
| org.elasticsoftware.elasticactors.state |
| Modifier and Type | Method and Description |
|---|---|
void |
ProcessorContext.addSubscription(InternalPersistentSubscription persistentSubscription) |
| Modifier and Type | Method and Description |
|---|---|
List<InternalPersistentSubscription> |
PersistentActor.getPersistentSubscriptions() |
Optional<InternalPersistentSubscription> |
PersistentActor.getSubscription(String messageName,
ActorRef publisherRef) |
| Modifier and Type | Method and Description |
|---|---|
void |
PersistentActor.addSubscription(InternalPersistentSubscription persistentSubscription) |
| 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.