Package org.apache.storm.daemon.drpc

# Class BlockingOutstandingRequest

java.lang.Object
org.apache.storm.daemon.drpc.OutstandingRequest
org.apache.storm.daemon.drpc.BlockingOutstandingRequest

public class BlockingOutstandingRequest extends OutstandingRequest

- ## Field Summary

  Fields
  Modifier and Type
  Field
  Description
  `static final RequestFactory<BlockingOutstandingRequest>`
  `FACTORY`

- ## Constructor Summary

  Constructors
  Constructor
  Description
  `BlockingOutstandingRequest(String function, DRPCRequest req)`

- ## Method Summary

  Modifier and Type
  Method
  Description
  `void`
  `fail(DRPCExecutionException e)`
  `String`
  `getResult()`
  `void`
  `returnResult(String result)`

  ### Methods inherited from class org.apache.storm.daemon.drpc.OutstandingRequest

  `fetched, getFunction, getRequest, isTimedOut, wasFetched`

  ### Methods inherited from class java.lang.Object

  `clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

- ## Field Details

  - ### FACTORY

    public static final RequestFactory<BlockingOutstandingRequest> FACTORY

- ## Constructor Details

  - ### BlockingOutstandingRequest

    public BlockingOutstandingRequest(String function, DRPCRequest req)

- ## Method Details

  - ### getResult

    public String getResult() throws DRPCExecutionException
    Throws:
      `DRPCExecutionException`

  - ### returnResult

    public void returnResult(String result)
    Specified by:
      `returnResult` in class `OutstandingRequest`

  - ### fail

    public void fail(DRPCExecutionException e)
    Specified by:
      `fail` in class `OutstandingRequest`