Modifier and Type | Field and Description |
---|---|
protected CompletableFuture<AsyncGraphResultSet> |
result |
Constructor and Description |
---|
GraphRequestHandler(GraphStatement<?> graphStatement,
com.datastax.oss.driver.internal.core.session.DefaultSession dseSession,
com.datastax.oss.driver.internal.core.context.InternalDriverContext context,
String sessionLogPrefix) |
Modifier and Type | Method and Description |
---|---|
CompletionStage<AsyncGraphResultSet> |
handle() |
void |
onThrottleFailure(RequestThrottlingException error) |
void |
onThrottleReady(boolean wasDelayed) |
protected final CompletableFuture<AsyncGraphResultSet> result
public GraphRequestHandler(@NonNull GraphStatement<?> graphStatement, @NonNull com.datastax.oss.driver.internal.core.session.DefaultSession dseSession, @NonNull com.datastax.oss.driver.internal.core.context.InternalDriverContext context, @NonNull String sessionLogPrefix)
public void onThrottleReady(boolean wasDelayed)
onThrottleReady
in interface Throttled
public CompletionStage<AsyncGraphResultSet> handle()
public void onThrottleFailure(@NonNull RequestThrottlingException error)
onThrottleFailure
in interface Throttled
Copyright © 2017–2019. All rights reserved.