# Class: com.pnfsoftware.jeb.client.api.OperationRequest

An operation request. Reserved for internal use. 

 Not thread\-safe.

## Constructor: OperationRequest
- parameter: `op`, type: `com.pnfsoftware.jeb.client.api.Operation`

Description: Create an operation request.
parameter: op: requested operation
throws: if the operation is null

## Method: done
- return type: `boolean`

Description: Determine whether processing of this request is complete.
return: true if a result was set

## Method: duration
- return type: `long`

Description: Get the request duration.
return: elapsed time, in milliseconds

## Method: getOperation
- return type: `com.pnfsoftware.jeb.client.api.Operation`

Description: Get the requested operation.
return: the operation

## Method: prepare
- parameter: `operable`, type: `com.pnfsoftware.jeb.client.api.IOperable`
- return type: `boolean`

Description: Mark an operable object as processing this request.
parameter: operable: operable object
return: true if processing may proceed; false if the operable already processed or is         processing this request

## Method: proceed
- return type: `boolean`

Description: Determine whether processing should continue.
return: true if no result has been set yet

## Method: setResult
- parameter: `result`, type: `boolean`

Description: Set the final request result.
parameter: result: true if the operation was performed successfully

## Method: success
- return type: `boolean`

Description: Determine whether the request completed successfully.
return: true if a successful result was set

