Show / Hide Table of Contents

Class OverflowAttributeKey

Overflow attribute key.

Inheritance
object
OverflowAttributeKey
Implements
IPortableObject
IKeyAssociation
Inherited Members
object.Equals(object, object)
object.GetType()
object.MemberwiseClone()
object.ReferenceEquals(object, object)
Namespace: Tangosol.Web
Assembly: Coherence.SessionStore.dll
Syntax
public class OverflowAttributeKey : IPortableObject, IKeyAssociation
Remarks

Overflow attribute key is a combination of session key and attribute name

Constructors

OverflowAttributeKey()

Default constructor.

Declaration
public OverflowAttributeKey()

OverflowAttributeKey(SessionKey, string)

Construct OverflowAttributeKey instance.

Declaration
public OverflowAttributeKey(SessionKey sessionKey, string attributeName)
Parameters
Type Name Description
SessionKey sessionKey

The session key.

string attributeName

The attribute name.

Properties

AssociatedKey

Determine the key object to which this key object is associated.

Declaration
public object AssociatedKey { get; }
Property Value
Type Description
object

The host key that for this key object, or null if this key has no association.

Remarks

The key object returned by this method is often referred to as a host key.

AttributeName

Attribute name.

Declaration
public string AttributeName { get; }
Property Value
Type Description
string

SessionKey

Session key.

Declaration
public SessionKey SessionKey { get; }
Property Value
Type Description
SessionKey

Methods

Equals(object)

Test objects for equality.

Declaration
public override bool Equals(object obj)
Parameters
Type Name Description
object obj

Object to compare this object with.

Returns
Type Description
bool

True if this object and the specified object are equal, false otherwise.

Overrides
object.Equals(object)

GetHashCode()

Return hash code for this object.

Declaration
public override int GetHashCode()
Returns
Type Description
int

This object's hash code.

Overrides
object.GetHashCode()

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.

ToString()

Return string representation of this object.

Declaration
public override string ToString()
Returns
Type Description
string

String representation of this object.

Overrides
object.ToString()

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.

Operators

operator ==(OverflowAttributeKey, OverflowAttributeKey)

Equality operator implementation.

Declaration
public static bool operator ==(OverflowAttributeKey left, OverflowAttributeKey right)
Parameters
Type Name Description
OverflowAttributeKey left

Left argument.

OverflowAttributeKey right

Right argument.

Returns
Type Description
bool

True if arguments are equal, false otherwise.

operator !=(OverflowAttributeKey, OverflowAttributeKey)

Inequality operator implementation.

Declaration
public static bool operator !=(OverflowAttributeKey left, OverflowAttributeKey right)
Parameters
Type Name Description
OverflowAttributeKey left

Left argument.

OverflowAttributeKey right

Right argument.

Returns
Type Description
bool

True if arguments are not equal, false otherwise.

Implements

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