Show / Hide Table of Contents

Class UniversalUpdater

Universal IValueUpdater implementation.

Inheritance
object
UniversalUpdater
Implements
IValueUpdater
IPortableObject
Inherited Members
object.Equals(object)
object.Equals(object, object)
object.GetHashCode()
object.GetType()
object.MemberwiseClone()
object.ReferenceEquals(object, object)
object.ToString()
Namespace: Tangosol.Util.Extractor
Assembly: Coherence.dll
Syntax
public class UniversalUpdater : IValueUpdater, IPortableObject
Remarks

UniversalUpdater can only run within the Coherence cluster. Refer to the Coherence for Java documentation for more information.

Constructors

UniversalUpdater()

Default constructor (necessary for the IPortableObject interface).

Declaration
public UniversalUpdater()

UniversalUpdater(string)

Construct a UniversalUpdater for the provided name.

Declaration
public UniversalUpdater(string name)
Parameters
Type Name Description
string name

A method or property name.

Fields

m_name

A method name, or a property name.

Declaration
protected string m_name
Field Value
Type Description
string

Properties

Name

Get the method or property name.

Declaration
public virtual string Name { get; }
Property Value
Type Description
string

the method or property name.

Methods

ReadExternal(IPofReader)

Restore the contents of a user type instance by reading its state using the specified IPofReader object.

Declaration
public void ReadExternal(IPofReader reader)
Parameters
Type Name Description
IPofReader reader

The IPofReader from which to read the object's state.

Exceptions
Type Condition
IOException

If an I/O error occurs.

Update(object, object)

Update the passed target object using the specified value.

Declaration
public void Update(object target, object value)
Parameters
Type Name Description
object target

The object to update.

object value

The new value to update the target's property with.

Remarks

This method will always throw a NotSupportedException if called directly by the .NET client application, as its execution is only meaningful within the cluster.

Exceptions
Type Condition
NotSupportedException

Always, as it is expected that this extractor will only be executed within the cluster.

WriteExternal(IPofWriter)

Save the contents of a POF user type instance by writing its state using the specified IPofWriter object.

Declaration
public void WriteExternal(IPofWriter writer)
Parameters
Type Name Description
IPofWriter writer

The IPofWriter to which to write the object's state.

Exceptions
Type Condition
IOException

If an I/O error occurs.

Implements

IValueUpdater
IPortableObject
In this article
Back to top Copyright © 2000, 2024, Oracle and/or its affiliates.