Click or drag to resize

VersionedPut Class

Oracle® Fusion Middleware .NET API Reference for Oracle Coherence
14c (14.1.1.0)
F23534-02
VersionedPut is an IEntryProcessor that assumes that entry values implement IVersionable interface and sets an Value property if and only if the version of the specified value matches to the version of the current value.
Inheritance Hierarchy

Namespace:  Tangosol.Util.Processor
Assembly:  Coherence (in Coherence.dll) Version: 14.1.1.14 (14.1.1.14)
Syntax
C#
public class VersionedPut : AbstractProcessor, 
	IPortableObject

The VersionedPut type exposes the following members.

Constructors
  NameDescription
Public methodVersionedPut
Default constructor.
Public methodVersionedPut(IVersionable)
Construct a VersionedPut 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).
Public methodVersionedPut(IVersionable, Boolean, Boolean)
Construct a VersionedPut 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.
Top
Methods
  NameDescription
Public methodEquals
Compare the VersionedPut with another object to determine equality.
(Overrides ObjectEquals(Object).)
Protected methodFinalize
Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection.
(Inherited from Object.)
Public methodGetHashCode
Determine a hash value for the VersionedPut object according to the general GetHashCode contract.
(Overrides ObjectGetHashCode.)
Public methodGetType
Gets the Type of the current instance.
(Inherited from Object.)
Protected methodMemberwiseClone
Creates a shallow copy of the current Object.
(Inherited from Object.)
Public methodProcess
Process an IInvocableCacheEntry.
(Overrides AbstractProcessorProcess(IInvocableCacheEntry).)
Public methodProcessAll
Process a collection of IInvocableCacheEntry objects.
(Overrides AbstractProcessorProcessAll(ICollection).)
Protected methodprocessEntry
Process the given entry.
Public methodReadExternal
Restore the contents of a user type instance by reading its state using the specified IPofReader object.
Public methodToString
Return a human-readable description for this VersionedPut.
(Overrides ObjectToString.)
Public methodWriteExternal
Save the contents of a POF user type instance by writing its state using the specified IPofWriter object.
Top
Fields
  NameDescription
Protected fieldm_insert
Specifies whether or not an insert is allowed.
Protected fieldm_return
Specifies whether or not a return value is required.
Protected fieldm_value
Specifies the new value to update an entry with.
Protected fieldNO_RESULT
Used internally to differentiate between "no result" and null result.
Top
Remarks
In case of the match, the VersionedPut will increment the version indicator before the value is updated.
See Also