Show / Hide Table of Contents

Interface IValueUpdater

IValueUpdater is used to update an object's state.

Namespace: Tangosol.Util
Assembly: Coherence.dll
Syntax
public interface IValueUpdater

Methods

Update(object, object)

Update the state of the passed target object using the passed value.

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

The object to update the state of.

object value

The new value to update the state with.

Exceptions
Type Condition
InvalidCastException

If this IValueUpdater is incompatible with the passed target object or the value and the implementation requires the passed object or the value to be of a certain type.

ArgumentException

If this IValueUpdater cannot handle the passed target object or value for any other reason; an implementor should include a descriptive message.

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