public override CacheEntry GetGroup(object key, string group, string subGroup, ref ulong version, ref object lockId, ref DateTime lockDate, LockExpiration lockExpiration, LockAccessType accessType, OperationContext operationContext) { if (_grpIndexManager.KeyExists(key, group, subGroup)) { return(Get(key, ref version, ref lockId, ref lockDate, lockExpiration, accessType, operationContext)); } return(null); }
public override Hashtable GetGroup(object[] keys, string group, string subGroup, OperationContext operationContext) { Hashtable hashtable = new Hashtable(); for (int i = 0; i < keys.Length; i++) { try { if (_grpIndexManager.KeyExists(keys[i], group, subGroup)) { hashtable[keys[i]] = this.Get(keys[i], operationContext); } } catch (StateTransferException exception) { hashtable[keys[i]] = exception; } } return(hashtable); }