| Package | Description |
|---|---|
| org.apache.curator.framework.recipes.shared |
| Modifier and Type | Method | Description |
|---|---|---|
VersionedValue<java.lang.Integer> |
SharedCount.getVersionedValue() |
|
VersionedValue<java.lang.Integer> |
SharedCountReader.getVersionedValue() |
Return the current count and version
|
VersionedValue<byte[]> |
SharedValue.getVersionedValue() |
|
VersionedValue<byte[]> |
SharedValueReader.getVersionedValue() |
Return the current version and value
|
| Modifier and Type | Method | Description |
|---|---|---|
boolean |
SharedCount.trySetCount(VersionedValue<java.lang.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–2018 The Apache Software Foundation. All rights reserved.