/// <inheritdoc /> public override async Task <int> CountAsync() { var requestMessage = ListSizeCodec.EncodeRequest(Name); var responseMessage = await Cluster.Messaging.SendToPartitionOwnerAsync(requestMessage, PartitionId).CAF(); return(ListSizeCodec.DecodeResponse(responseMessage).Response); }
public override int Size() { var request = ListSizeCodec.EncodeRequest(GetName()); return(Invoke(request, m => ListSizeCodec.DecodeResponse(m).response)); }