예제 #1
0
 public OracleStorageConnection(OracleStorage storage)
 {
     if (storage == null)
     {
         throw new ArgumentNullException("storage");
     }
     _storage = storage;
 }
예제 #2
0
        public OracleWriteOnlyTransaction(OracleStorage storage)
        {
            if (storage == null)
            {
                throw new ArgumentNullException("storage");
            }

            _storage = storage;
        }
        public ExpirationManager(OracleStorage storage, TimeSpan checkInterval)
        {
            if (storage == null)
            {
                throw new ArgumentNullException("storage");
            }

            _storage       = storage;
            _checkInterval = checkInterval;
        }
예제 #4
0
        public CountersAggregator(OracleStorage storage, TimeSpan interval)
        {
            if (storage == null)
            {
                throw new ArgumentNullException("storage");
            }

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