| 程序包 | 说明 |
|---|---|
| com.alipay.sofa.jraft | |
| com.alipay.sofa.jraft.core | |
| com.alipay.sofa.jraft.entity |
| 限定符和类型 | 方法和说明 |
|---|---|
void |
Node.apply(Task task)
[Thread-safe and wait-free]
Apply task to the replicated-state-machine
About the ownership:
|task.data|: for the performance consideration, we will take away the
content.
|
| 限定符和类型 | 方法和说明 |
|---|---|
void |
NodeImpl.apply(Task task) |
| 限定符和类型 | 方法和说明 |
|---|---|
static List<Closure> |
Task.joinAll(List<Task> tasks)
Waiting for all tasks to complete.
|
static List<Closure> |
Task.joinAll(List<Task> tasks,
long timeoutMillis)
Waiting for all tasks to complete with a timeout millis.
|
Copyright © 2021. All rights reserved.