Exemple #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);
        }
Exemple #2
0
 internal virtual bool IsLocked(string key, ref LockHandle lockHandle)
 {
     return(false);
 }
Exemple #3
0
 public virtual bool Lock(string key, TimeSpan lockTimeout, out LockHandle lockHandle)
 {
     lockHandle = null;
     return(false);
 }
Exemple #4
0
 public virtual object GetCacheItem(string key, BitSet flagMap, ref LockHandle lockHandle, TimeSpan lockTimeout, LockAccessType accessType)
 {
     return(null);
 }
Exemple #5
0
 public virtual CompressedValueEntry Get <T>(string key, BitSet flagMap, string group, string subGroup, ref LockHandle lockHandle, TimeSpan lockTimeout, LockAccessType accessType)
 {
     return(null);
 }