public OracleStorageConnection(OracleStorage storage)
 {
     _storage = storage ?? throw new ArgumentNullException(nameof(storage));
 }
Example #2
0
 public OracleDistributedLock(OracleStorage storage, string resource, TimeSpan timeout)
     : this(storage.CreateAndOpenConnection(), resource, timeout)
 {
     _storage = storage;
 }
Example #3
0
 public CountersAggregator(OracleStorage storage, TimeSpan interval)
 {
     _storage  = storage ?? throw new ArgumentNullException(nameof(storage));
     _interval = interval;
 }
Example #4
0
 public OracleWriteOnlyTransaction(OracleStorage storage)
 {
     _storage = storage ?? throw new ArgumentNullException(nameof(storage));
 }
Example #5
0
 public ExpirationManager(OracleStorage storage, TimeSpan checkInterval)
 {
     _storage       = storage ?? throw new ArgumentNullException(nameof(storage));
     _checkInterval = checkInterval;
 }
Example #6
0
 public ExpirationManager(OracleStorage storage)
     : this(storage, TimeSpan.FromHours(1))
 {
 }