/// <inheritdoc />
        public async Task ClearAsync()
        {
            var requestMessage  = AtomicRefSetCodec.EncodeRequest(CPGroupId, Name, null, returnOldValue: false);
            var responseMessage = await Cluster.Messaging.SendAsync(requestMessage).CfAwait();

            var response = AtomicRefSetCodec.DecodeResponse(responseMessage).Response;
        }
        /// <inheritdoc />
        public async Task <T> GetAndSetAsync(T value)
        {
            var requestMessage  = AtomicRefSetCodec.EncodeRequest(CPGroupId, Name, ToData(value), returnOldValue: true);
            var responseMessage = await Cluster.Messaging.SendAsync(requestMessage).CfAwait();

            var response = AtomicRefSetCodec.DecodeResponse(responseMessage).Response;

            return(ToObject(response));
        }