| 程序包 | 说明 |
|---|---|
| org.apache.flink.runtime.persistence | |
| org.apache.flink.runtime.zookeeper |
| 限定符和类型 | 方法和说明 |
|---|---|
static IntegerResourceVersion |
IntegerResourceVersion.notExisting() |
static IntegerResourceVersion |
IntegerResourceVersion.valueOf(int value)
Create a
IntegerResourceVersion with given integer value. |
| 限定符和类型 | 方法和说明 |
|---|---|
int |
IntegerResourceVersion.compareTo(IntegerResourceVersion other) |
| 限定符和类型 | 方法和说明 |
|---|---|
IntegerResourceVersion |
ZooKeeperStateHandleStore.exists(String pathInZooKeeper)
Returns the version of the node if it exists and is not marked for deletion or
-1
. |
| 限定符和类型 | 方法和说明 |
|---|---|
void |
ZooKeeperStateHandleStore.replace(String pathInZooKeeper,
IntegerResourceVersion expectedVersion,
T state)
Replaces a state handle in ZooKeeper and discards the old state handle.
|
Copyright © 2014–2023 The Apache Software Foundation. All rights reserved.