public class AsyncHandle
extends java.lang.Object
implements java.io.Serializable
Modifier and Type | Class and Description |
---|---|
static class |
AsyncHandle.Builder |
Modifier and Type | Field and Description |
---|---|
static long |
serialVersionUID |
Constructor and Description |
---|
AsyncHandle() |
AsyncHandle(java.lang.Long asyncResultID,
java.lang.Boolean completed,
java.lang.String createTime,
java.lang.String lastUpdateTime,
java.lang.String resultType,
java.lang.Boolean success,
Attributes data) |
Modifier and Type | Method and Description |
---|---|
AsyncHandle.Builder |
asBuilder() |
static AsyncHandle.Builder |
builder() |
boolean |
equals(java.lang.Object o) |
java.lang.Long |
getAsyncResultID()
The ID of the result.
|
java.lang.Boolean |
getCompleted()
Returns true if it is completed and false if it isn't.
|
java.lang.String |
getCreateTime()
The time at which the asyncronous result was created
|
Attributes |
getData()
Attributes related to the result
|
java.lang.String |
getLastUpdateTime()
Time at which the result was last updated
|
java.lang.String |
getResultType()
The type of result.
|
java.lang.Boolean |
getSuccess()
Returns whether the result was a success or failure.
|
int |
hashCode() |
void |
setAsyncResultID(java.lang.Long asyncResultID) |
void |
setCompleted(java.lang.Boolean completed) |
void |
setCreateTime(java.lang.String createTime) |
void |
setData(Attributes data) |
void |
setLastUpdateTime(java.lang.String lastUpdateTime) |
void |
setResultType(java.lang.String resultType) |
void |
setSuccess(java.lang.Boolean success) |
java.util.Map<java.lang.String,java.lang.Object> |
toMap() |
java.lang.String |
toString() |
public static final long serialVersionUID
@Since(value="7.0") public AsyncHandle(java.lang.Long asyncResultID, java.lang.Boolean completed, java.lang.String createTime, java.lang.String lastUpdateTime, java.lang.String resultType, java.lang.Boolean success, Attributes data)
public java.lang.Long getAsyncResultID()
public void setAsyncResultID(java.lang.Long asyncResultID)
public java.lang.Boolean getCompleted()
public void setCompleted(java.lang.Boolean completed)
public java.lang.String getCreateTime()
public void setCreateTime(java.lang.String createTime)
public java.lang.String getLastUpdateTime()
public void setLastUpdateTime(java.lang.String lastUpdateTime)
public java.lang.String getResultType()
public void setResultType(java.lang.String resultType)
public java.lang.Boolean getSuccess()
public void setSuccess(java.lang.Boolean success)
public Attributes getData()
public void setData(Attributes data)
public boolean equals(java.lang.Object o)
equals
in class java.lang.Object
public int hashCode()
hashCode
in class java.lang.Object
public java.util.Map<java.lang.String,java.lang.Object> toMap()
public java.lang.String toString()
toString
in class java.lang.Object
public static AsyncHandle.Builder builder()
public final AsyncHandle.Builder asBuilder()