Package | Description |
---|---|
org.apache.curator.framework.recipes.shared |
Modifier and Type | Method and Description |
---|---|
VersionedValue<byte[]> |
SharedValue.getVersionedValue() |
VersionedValue<Integer> |
SharedCountReader.getVersionedValue()
Return the current count and version
|
VersionedValue<Integer> |
SharedCount.getVersionedValue() |
VersionedValue<byte[]> |
SharedValueReader.getVersionedValue()
Return the current version and value
|
Modifier and Type | Method and Description |
---|---|
boolean |
SharedCount.trySetCount(VersionedValue<Integer> previous,
int newCount)
Changes the shared count only if its value has not changed since the version specified by
newCount.
|
boolean |
SharedValue.trySetValue(VersionedValue<byte[]> previous,
byte[] newValue)
Changes the shared value only if its value has not changed since the version specified by
newValue.
|
Copyright © 2011–2023 The Apache Software Foundation. All rights reserved.