|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object akka.persistence.Persistence
public class Persistence
Persistence extension.
Constructor Summary | |
---|---|
Persistence(ExtendedActorSystem system)
|
Method Summary | |
---|---|
java.lang.String |
channelId(ActorRef channel)
Creates a canonical channel id from a channel actor ref. |
ActorRef |
confirmationBatchingJournalForChannel(java.lang.String channelId)
INTERNAL API. |
static Persistence |
createExtension(ExtendedActorSystem system)
|
ActorRef |
deletionBatchingJournalForChannel(java.lang.String channelId)
INTERNAL API. |
static Persistence |
get(ActorSystem system)
Java API. |
ActorRef |
journalFor(java.lang.String persistenceId)
Returns a journal for a processor identified by persistenceId . |
static Persistence$ |
lookup()
|
java.lang.String |
persistenceId(ActorRef persistentActor)
Creates a canonical persistent actor id from a processor actor ref. |
java.lang.String |
processorId(ActorRef processor)
Creates a canonical processor id from a processor actor ref. |
PersistenceSettings |
settings()
|
ActorRef |
snapshotStoreFor(java.lang.String persistenceId)
Returns a snapshot store for a processor identified by persistenceId . |
ExtendedActorSystem |
system()
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public Persistence(ExtendedActorSystem system)
Method Detail |
---|
public static Persistence get(ActorSystem system)
system
- (undocumented)
public static Persistence createExtension(ExtendedActorSystem system)
public static Persistence$ lookup()
public ExtendedActorSystem system()
public PersistenceSettings settings()
public java.lang.String processorId(ActorRef processor)
processor
- (undocumented)
public java.lang.String persistenceId(ActorRef persistentActor)
persistentActor
- (undocumented)
public java.lang.String channelId(ActorRef channel)
channel
- (undocumented)
public ActorRef snapshotStoreFor(java.lang.String persistenceId)
persistenceId
.
persistenceId
- (undocumented)
public ActorRef journalFor(java.lang.String persistenceId)
persistenceId
.
persistenceId
- (undocumented)
public ActorRef confirmationBatchingJournalForChannel(java.lang.String channelId)
channelId
- (undocumented)
public ActorRef deletionBatchingJournalForChannel(java.lang.String channelId)
channelId
- (undocumented)
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |