| Constructor and Description |
|---|
ClusterResponse() |
ClusterResponse(int id,
int type,
int status,
T data) |
| Modifier and Type | Method and Description |
|---|---|
T |
getData() |
int |
getId()
Get response ID.
|
int |
getStatus()
Get response status.
|
int |
getType()
Get response type.
|
ClusterResponse<T> |
setData(T data) |
ClusterResponse<T> |
setId(int id) |
ClusterResponse<T> |
setStatus(int status) |
ClusterResponse<T> |
setType(int type) |
String |
toString() |
public ClusterResponse()
public ClusterResponse(int id,
int type,
int status,
T data)
public int getId()
Responsepublic ClusterResponse<T> setId(int id)
public int getType()
Responsepublic ClusterResponse<T> setType(int type)
public int getStatus()
Responsepublic ClusterResponse<T> setStatus(int status)
public T getData()
public ClusterResponse<T> setData(T data)
Copyright © 2020 Alibaba Group. All rights reserved.