コード例 #1
0
 public DbClusterLeaseService(IDbClusterUtils dbClusterService, DbClusterParameters dbClusterParameters, DbClusterReservateSettings settings)
 {
     this.onDisposeCancelSource = new CancellationTokenSource();
     this.dbClusterService      = dbClusterService;
     this.dbClusterParameters   = dbClusterParameters;
     this.settings = settings;
 }
コード例 #2
0
 public static DbClusterPacketsStore CreateMongoClusterPacketsStore(DbClusterReservateSettings settings)
 {
     return(new DbClusterPacketsStore(new DbClusterLeaseService(new DbClusterUtils(new MongoDbServicesFactory()), settings)));
 }