Ejemplo n.º 1
0
        /** <inheritDoc /> */
        public Task <bool> ReplaceAsync(TK key, TV oldVal, TV newVal)
        {
            AsyncInstance.Replace(key, oldVal, newVal);

            return(AsyncInstance.GetTask <bool>(CacheOp.Replace3));
        }
Ejemplo n.º 2
0
        /** <inheritDoc /> */
        public Task <bool> ReplaceAsync(TK key, TV val)
        {
            AsyncInstance.Replace(key, val);

            return(AsyncInstance.GetTask <bool>(CacheOp.Replace2));
        }