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));
        }
Ejemplo n.º 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()));
        }