public class BlockingOutstandingRequest extends OutstandingRequest
Modifier and Type | Field and Description |
---|---|
static RequestFactory<BlockingOutstandingRequest> |
FACTORY |
Constructor and Description |
---|
BlockingOutstandingRequest(String function,
DRPCRequest req) |
Modifier and Type | Method and Description |
---|---|
void |
fail(DRPCExecutionException e) |
String |
getResult() |
void |
returnResult(String result) |
fetched, getFunction, getRequest, isTimedOut, wasFetched
public static final RequestFactory<BlockingOutstandingRequest> FACTORY
public BlockingOutstandingRequest(String function, DRPCRequest req)
public String getResult() throws DRPCExecutionException
DRPCExecutionException
public void returnResult(String result)
returnResult
in class OutstandingRequest
public void fail(DRPCExecutionException e)
fail
in class OutstandingRequest
Copyright © 2023 The Apache Software Foundation. All rights reserved.