Show / Hide Table of Contents

Class AbstractEvolvable

An abstract base class for implementing IEvolvable objects.

Inheritance
object
AbstractEvolvable
Implements
IEvolvable
Inherited Members
object.Equals(object)
object.Equals(object, object)
object.GetHashCode()
object.GetType()
object.MemberwiseClone()
object.ReferenceEquals(object, object)
object.ToString()
Namespace: Tangosol.IO
Assembly: Coherence.dll
Syntax
public abstract class AbstractEvolvable : IEvolvable

Properties

DataVersion

Gets or sets the version associated with the data stream from which this object was deserialized.

Declaration
public int DataVersion { get; set; }
Property Value
Type Description
int

The version of the data used to initialize this object, greater than or equal to zero.

Remarks

If the object was constructed (not deserialized), the data version is the same as the implementation version.

Exceptions
Type Condition
ArgumentException

If the specified version is negative.

InvalidOperationException

If the object is not in a state in which the version can be set, for example outside of deserialization.

FutureData

Gets or sets all the unknown remainder of the data stream from which this object was deserialized.

Declaration
public Binary FutureData { get; set; }
Property Value
Type Description
Binary

Future data in binary form.

Remarks

The remainder is unknown because it is data that was originally written by a future version of this object's type.

Exceptions
Type Condition
InvalidOperationException

If the object is not in a state in which the version can be set, for example outside of deserialization.

ImplVersion

Determine the serialization version supported by the implementing type.

Declaration
public abstract int ImplVersion { get; }
Property Value
Type Description
int

The serialization version supported by this object.

Implements

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