public override async Task <bool> IsEmptyAsync() { var requestMessage = SetIsEmptyCodec.EncodeRequest(Name); var responseMessage = await Cluster.Messaging.SendToPartitionOwnerAsync(requestMessage, PartitionId).CfAwait(); return(SetIsEmptyCodec.DecodeResponse(responseMessage).Response); }
public override bool IsEmpty() { var request = SetIsEmptyCodec.EncodeRequest(GetName()); return(Invoke(request, m => SetIsEmptyCodec.DecodeResponse(m).response)); }