Class RntbdRequestRecord
- java.lang.Object
-
- java.util.concurrent.CompletableFuture<com.microsoft.azure.cosmosdb.internal.directconnectivity.StoreResponse>
-
- com.microsoft.azure.cosmosdb.internal.directconnectivity.rntbd.RntbdRequestRecord
-
- All Implemented Interfaces:
CompletionStage<com.microsoft.azure.cosmosdb.internal.directconnectivity.StoreResponse>,Future<com.microsoft.azure.cosmosdb.internal.directconnectivity.StoreResponse>
public final class RntbdRequestRecord extends CompletableFuture<com.microsoft.azure.cosmosdb.internal.directconnectivity.StoreResponse>
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classRntbdRequestRecord.Stage-
Nested classes/interfaces inherited from class java.util.concurrent.CompletableFuture
CompletableFuture.AsynchronousCompletionTask
-
-
Constructor Summary
Constructors Constructor Description RntbdRequestRecord(RntbdRequestArgs args, RntbdRequestTimer timer)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description UUIDactivityId()RntbdRequestArgsargs()booleanexpire()Durationlifetime()io.netty.util.TimeoutnewTimeout(io.netty.util.TimerTask task)intrequestLength()intresponseLength()RntbdRequestRecord.Stagestage()RntbdRequestRecordstage(RntbdRequestRecord.Stage value)longstop(io.micrometer.core.instrument.Timer requests, io.micrometer.core.instrument.Timer responses)RequestTimelinetakeTimelineSnapshot()OffsetDateTimetimeCompleted()OffsetDateTimetimeCreated()OffsetDateTimetimePipelined()OffsetDateTimetimeQueued()OffsetDateTimetimeReceived()OffsetDateTimetimeSent()StringtoString()longtransportRequestId()-
Methods inherited from class java.util.concurrent.CompletableFuture
acceptEither, acceptEitherAsync, acceptEitherAsync, allOf, anyOf, applyToEither, applyToEitherAsync, applyToEitherAsync, cancel, complete, completeAsync, completeAsync, completedFuture, completedStage, completeExceptionally, completeOnTimeout, copy, defaultExecutor, delayedExecutor, delayedExecutor, exceptionally, failedFuture, failedStage, get, get, getNow, getNumberOfDependents, handle, handleAsync, handleAsync, isCancelled, isCompletedExceptionally, isDone, join, minimalCompletionStage, newIncompleteFuture, obtrudeException, obtrudeValue, orTimeout, runAfterBoth, runAfterBothAsync, runAfterBothAsync, runAfterEither, runAfterEitherAsync, runAfterEitherAsync, runAsync, runAsync, supplyAsync, supplyAsync, thenAccept, thenAcceptAsync, thenAcceptAsync, thenAcceptBoth, thenAcceptBothAsync, thenAcceptBothAsync, thenApply, thenApplyAsync, thenApplyAsync, thenCombine, thenCombineAsync, thenCombineAsync, thenCompose, thenComposeAsync, thenComposeAsync, thenRun, thenRunAsync, thenRunAsync, toCompletableFuture, whenComplete, whenCompleteAsync, whenCompleteAsync
-
-
-
-
Constructor Detail
-
RntbdRequestRecord
public RntbdRequestRecord(RntbdRequestArgs args, RntbdRequestTimer timer)
-
-
Method Detail
-
activityId
public UUID activityId()
-
args
public RntbdRequestArgs args()
-
lifetime
public Duration lifetime()
-
requestLength
public int requestLength()
-
responseLength
public int responseLength()
-
stage
public RntbdRequestRecord.Stage stage()
-
stage
public RntbdRequestRecord stage(RntbdRequestRecord.Stage value)
-
timeCompleted
public OffsetDateTime timeCompleted()
-
timeCreated
public OffsetDateTime timeCreated()
-
timePipelined
public OffsetDateTime timePipelined()
-
timeQueued
public OffsetDateTime timeQueued()
-
timeReceived
public OffsetDateTime timeReceived()
-
timeSent
public OffsetDateTime timeSent()
-
transportRequestId
public long transportRequestId()
-
expire
public boolean expire()
-
newTimeout
public io.netty.util.Timeout newTimeout(io.netty.util.TimerTask task)
-
takeTimelineSnapshot
public RequestTimeline takeTimelineSnapshot()
-
stop
public long stop(io.micrometer.core.instrument.Timer requests, io.micrometer.core.instrument.Timer responses)
-
toString
public String toString()
- Overrides:
toStringin classCompletableFuture<com.microsoft.azure.cosmosdb.internal.directconnectivity.StoreResponse>
-
-