/// <inheritdoc /> public async Task <long> GetSizeAsync() { var requestMessage = RingbufferSizeCodec.EncodeRequest(Name); var responseMessage = await Cluster.Messaging.SendToPartitionOwnerAsync(requestMessage, PartitionId).CfAwait(); return(RingbufferSizeCodec.DecodeResponse(responseMessage).Response); }
public long Size() { var request = RingbufferSizeCodec.EncodeRequest(GetName()); return(Invoke(request, m => RingbufferSizeCodec.DecodeResponse(m).response)); }