Esempio n. 1
0
 public AkkaConfiguration(IAkkaNetworkAddress networkConf,
                          IAkkaDbConfiguration dbConf,
                          LogVerbosity logVerbosity = LogVerbosity.Warning)
 {
     Network       = networkConf;
     Persistence   = dbConf;
     _logVerbosity = logVerbosity;
 }
Esempio n. 2
0
 public static void ClearData(IAkkaDbConfiguration akkaConf)
 {
     ClearWriteAkkaDb(akkaConf);
 }
Esempio n. 3
0
 private static void ClearWriteAkkaDb(IAkkaDbConfiguration akkaConf)
 {
     Truncate(akkaConf.SnapshotConnectionString.Replace("\\\\", "\\"), akkaConf.SnapshotTableName);
     Truncate(akkaConf.JournalConnectionString.Replace("\\\\", "\\"), akkaConf.JournalTableName,
              akkaConf.MetadataTableName);
 }
Esempio n. 4
0
 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);
 }