V - type of the result valuepublic class AsynchronousOperationResult<V> extends Object implements AsynchronouslyCreatedResource<V>
| 限定符和类型 | 字段和说明 |
|---|---|
static String |
FIELD_NAME_OPERATION |
| 限定符和类型 | 方法和说明 |
|---|---|
static <V> AsynchronousOperationResult<V> |
completed(V value) |
static <V> AsynchronousOperationResult<V> |
inProgress() |
QueueStatus |
queueStatus()
Returns the status of the resource creation.
|
V |
resource()
Returns the resource if it is available,
null otherwise. |
public QueueStatus queueStatus()
AsynchronouslyCreatedResourcequeueStatus 在接口中 AsynchronouslyCreatedResource<V>@Nullable public V resource()
AsynchronouslyCreatedResourcenull otherwise.resource 在接口中 AsynchronouslyCreatedResource<V>public static <V> AsynchronousOperationResult<V> inProgress()
public static <V> AsynchronousOperationResult<V> completed(V value)
Copyright © 2014–2023 The Apache Software Foundation. All rights reserved.