Uses of Interface
com.tangosol.util.Versionable
Package
Description
Contains packages and classes related to the Coherence REST API utilities.
Contains various generic utilities.
Contains concrete
InvocableMap.EntryProcessor
implementations.-
Uses of Versionable in com.tangosol.coherence.rest.util
-
Uses of Versionable in com.tangosol.util
Modifier and TypeMethodDescriptionstatic <K,
V extends Versionable>
InvocableMap.EntryProcessor<K, V, V> Processors.versionedPut
(V oValue) Construct a versioned put processor that updates an entry with a new value if and only if the version of the new value matches to the version of the current entry's value (which must exist).static <K,
V extends Versionable>
InvocableMap.EntryProcessor<K, V, V> Processors.versionedPut
(V oValue, boolean fAllowInsert, boolean fReturn) Construct a versioned put processor that updates an entry with a new value if and only if the version of the new value matches to the version of the current entry's value.static <K,
V extends Versionable>
InvocableMap.EntryProcessor<K, V, V> Processors.versionedPutAll
(Map<? extends K, ? extends V> map) Construct a versioned putAll processor that updates an entry with a new value if and only if the version of the new value matches to the version of the current entry's value (which must exist).static <K,
V extends Versionable>
InvocableMap.EntryProcessor<K, V, V> Processors.versionedPutAll
(Map<? extends K, ? extends V> map, boolean fAllowInsert, boolean fReturn) Construct a versioned putAll processor that updates an entry with a new value if and only if the version of the new value matches to the version of the current entry's value (which must exist). -
Uses of Versionable in com.tangosol.util.processor
Modifier and TypeClassDescriptionclass
VersionedPut<K,
V extends Versionable> VersionedPut is an EntryProcessor that assumes that entry values implementVersionable
interface and performs anEntry.setValue
operation if and only if the version of the specified value matches to the version of the current value.class
VersionedPutAll<K,
V extends Versionable> VersionedPutAll is an EntryProcessor that assumes that entry values implementVersionable
interface and performs anEntry.setValue
operation only for entries whose versions match to versions of the corresponding current values.