long requestId = lookupResult.getRequestId(); CompletableFuture<LookupDataResult> requestFuture = getAndRemovePendingLookupRequest(requestId); if (requestFuture.isCompletedExceptionally()) { if (log.isDebugEnabled()) { log.debug("{} Request {} already timed-out", ctx.channel(), lookupResult.getRequestId()); log.warn("{} Received unknown request id from server: {}", ctx.channel(), lookupResult.getRequestId());
long requestId = lookupResult.getRequestId(); CompletableFuture<LookupDataResult> requestFuture = getAndRemovePendingLookupRequest(requestId); if (requestFuture.isCompletedExceptionally()) { if (log.isDebugEnabled()) { log.debug("{} Request {} already timed-out", ctx.channel(), lookupResult.getRequestId()); log.warn("{} Received unknown request id from server: {}", ctx.channel(), lookupResult.getRequestId());
public Builder mergeFrom(org.apache.pulsar.common.api.proto.PulsarApi.CommandPartitionedTopicMetadataResponse other) { if (other == org.apache.pulsar.common.api.proto.PulsarApi.CommandPartitionedTopicMetadataResponse.getDefaultInstance()) return this; if (other.hasPartitions()) { setPartitions(other.getPartitions()); } if (other.hasRequestId()) { setRequestId(other.getRequestId()); } if (other.hasResponse()) { setResponse(other.getResponse()); } if (other.hasError()) { setError(other.getError()); } if (other.hasMessage()) { setMessage(other.getMessage()); } return this; }
public Builder mergeFrom(org.apache.pulsar.common.api.proto.PulsarApi.CommandPartitionedTopicMetadataResponse other) { if (other == org.apache.pulsar.common.api.proto.PulsarApi.CommandPartitionedTopicMetadataResponse.getDefaultInstance()) return this; if (other.hasPartitions()) { setPartitions(other.getPartitions()); } if (other.hasRequestId()) { setRequestId(other.getRequestId()); } if (other.hasResponse()) { setResponse(other.getResponse()); } if (other.hasError()) { setError(other.getError()); } if (other.hasMessage()) { setMessage(other.getMessage()); } return this; }