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