public CassandraJournal() { _cassandraExtension = CassandraPersistence.Instance.Apply(Context.System); _serializer = Context.System.Serialization.FindSerializerForType(PersistentRepresentationType); // Use setting from the persistence extension when batch deleting PersistenceExtension persistence = Context.System.PersistenceExtension(); _maxDeletionBatchSize = persistence.Settings.Journal.MaxDeletionBatchSize; }
public CassandraSnapshotStore() { _cassandraExtension = CassandraPersistence.Instance.Apply(Context.System); _serializer = Context.System.Serialization.FindSerializerForType(SnapshotType); _log = Context.System.Log; // Here so we can emulate the base class behavior but do deletes async PersistenceExtension persistence = Context.System.PersistenceExtension(); _publish = persistence.Settings.Internal.PublishPluginCommands; }