public AkkaConfiguration(IAkkaNetworkAddress networkConf, IAkkaDbConfiguration dbConf, LogVerbosity logVerbosity = LogVerbosity.Warning) { Network = networkConf; Persistence = dbConf; _logVerbosity = logVerbosity; }
public static void ClearData(IAkkaDbConfiguration akkaConf) { ClearWriteAkkaDb(akkaConf); }
private static void ClearWriteAkkaDb(IAkkaDbConfiguration akkaConf) { Truncate(akkaConf.SnapshotConnectionString.Replace("\\\\", "\\"), akkaConf.SnapshotTableName); Truncate(akkaConf.JournalConnectionString.Replace("\\\\", "\\"), akkaConf.JournalTableName, akkaConf.MetadataTableName); }
public static void ClearData(IDbConfiguration conf, IAkkaDbConfiguration akkaConf) { ClearData(conf); ClearData(akkaConf); }
public PersistenceJournalConfig(IAkkaDbConfiguration dbConfiguration, IAkkaConfig eventAdatpersConfig, Type sqlJournalType = null) { _eventAdatpersConfig = eventAdatpersConfig; _dbConfiguration = dbConfiguration; _sqlJournalType = sqlJournalType ?? typeof(SqlDomainJournal); }