D - the task result data typepublic class DistributedTaskResult<D> extends Object
| 构造器和说明 |
|---|
DistributedTaskResult(D data)
Constructs a successful distributed task result with the task result data
|
DistributedTaskResult(String message)
Constructs a failure distributed task result with a failure message
|
DistributedTaskResult(String message,
Exception e)
Constructs a failure distributed task result with a failure message and the exception
|
public DistributedTaskResult(D data)
data - the task result datapublic DistributedTaskResult(String message)
message - a failure messageCopyright © 2019. All rights reserved.