Пример #1
0
        //Delete that can be use to Delete nay item in cache by providing only key
        public virtual void Delete(string key)
        {
            LockHandle lockHandle = null;

            LockAccessType accessType = LockAccessType.IGNORE_LOCK;
            object         lockId     = (lockHandle == null) ? null : lockHandle.LockId;
            BitSet         flagMap    = new BitSet();
            short          dsItemRemovedCallbackId = -1;

            this.Delete(key, flagMap, dsItemRemovedCallbackId, lockId, accessType);
        }
Пример #2
0
 internal virtual bool IsLocked(string key, ref LockHandle lockHandle)
 {
     return(false);
 }
Пример #3
0
 public virtual bool Lock(string key, TimeSpan lockTimeout, out LockHandle lockHandle)
 {
     lockHandle = null;
     return(false);
 }
Пример #4
0
 public virtual object GetCacheItem(string key, BitSet flagMap, ref LockHandle lockHandle, TimeSpan lockTimeout, LockAccessType accessType)
 {
     return(null);
 }
Пример #5
0
 public virtual CompressedValueEntry Get <T>(string key, BitSet flagMap, string group, string subGroup, ref LockHandle lockHandle, TimeSpan lockTimeout, LockAccessType accessType)
 {
     return(null);
 }