V - the type of the operation's result@Experimental public class ClusterManagementOperationResult<A extends ClusterManagementOperation<V>,V extends OperationResult> extends ClusterManagementResult
ClusterManagementService.start(ClusterManagementOperation) to convey status of
launching the async operation,
and by ClusterManagementService.get(ClusterManagementOperation, String) to
describe the status of
a started async operation.ClusterManagementResult.StatusCode| Constructor and Description |
|---|
ClusterManagementOperationResult()
for internal use only
|
ClusterManagementOperationResult(ClusterManagementResult.StatusCode statusCode,
java.lang.String message,
java.util.Date operationStart,
java.util.Date operationEnd,
A operation,
java.lang.String operationId,
V operationResult,
java.lang.Throwable throwable)
normally called by
ClusterManagementService.start(ClusterManagementOperation) |
| Modifier and Type | Method and Description |
|---|---|
A |
getOperation()
Returns the async operation.
|
java.util.Date |
getOperationEnd()
Returns the time the operation was completed.
|
java.lang.String |
getOperationId()
returns the operation id started by this operation.
|
V |
getOperationResult()
Returns the operation result as an extension of
OperationResult |
java.util.Date |
getOperationStart()
Returns the time the operation was started
|
java.lang.Throwable |
getThrowable()
Returns any exceptions that might be returned as a result of the operation.
|
equals, getStatusCode, getStatusMessage, hashCode, isSuccessful, setLinks, setStatus, toStringpublic ClusterManagementOperationResult()
public ClusterManagementOperationResult(ClusterManagementResult.StatusCode statusCode, java.lang.String message, java.util.Date operationStart, java.util.Date operationEnd, A operation, java.lang.String operationId, V operationResult, java.lang.Throwable throwable)
ClusterManagementService.start(ClusterManagementOperation)public A getOperation()
public java.lang.String getOperationId()
public java.util.Date getOperationStart()
public java.util.Date getOperationEnd()
public V getOperationResult()
OperationResultpublic java.lang.Throwable getThrowable()