public virtual ICollection <TValue> Get(TKey key)
        {
            var keyData = ToData(key);
            var request = MultiMapGetCodec.EncodeRequest(GetName(), keyData, ThreadUtil.GetThreadId());
            var list    = Invoke(request, keyData, m => MultiMapGetCodec.DecodeResponse(m).response);

            return(ToList <TValue>(list));
        }
예제 #2
0
        public virtual ICollection <TValue> Get(TKey key)
        {
            var keyData = ToData(key);
            var request = MultiMapGetCodec.EncodeRequest(GetName(), keyData, ThreadUtil.GetThreadId());
            var list    = Invoke(request, keyData, m => MultiMapGetCodec.DecodeResponse(m).response);

            return(new ReadOnlyLazyList <TValue, IData>(list, GetContext().GetSerializationService()));
        }