Show / Hide Table of Contents

Class PofStreamWriter.ReferenceLibrary

A "library" of object references and their corresponding identities in the POF stream.

Inheritance
object
PofStreamWriter.ReferenceLibrary
Inherited Members
object.Equals(object)
object.Equals(object, object)
object.GetHashCode()
object.GetType()
object.MemberwiseClone()
object.ReferenceEquals(object, object)
object.ToString()
Namespace: Tangosol.IO.Pof
Assembly: Coherence.dll
Syntax
public class PofStreamWriter.ReferenceLibrary

Fields

m_mapIdentities

A map from objects that can be referenced to their integer identities.

Declaration
public Hashtable m_mapIdentities
Field Value
Type Description
Hashtable

Methods

getIdentity(object)

Look up an identity for an object.

Declaration
public int getIdentity(object o)
Parameters
Type Name Description
object o

the object

Returns
Type Description
int

the identity, or -1 if the object is not registered

registerReference(object)

Register an object.

Declaration
public int registerReference(object o)
Parameters
Type Name Description
object o

the object

Returns
Type Description
int

the assigned identity for the object

Exceptions
Type Condition
InvalidOperationException

if the object is already registered

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