Class ConverterCollections.AbstractConverterCacheEntry
An abstract ICacheEntry that lazily converts the key and value.
Inheritance
Implements
Inherited Members
Namespace: Tangosol.Util
Assembly: Coherence.dll
Syntax
[Serializable]
public abstract class ConverterCollections.AbstractConverterCacheEntry : ICacheEntry
Constructors
AbstractConverterCacheEntry(ICacheEntry)
Constructor.
Declaration
protected AbstractConverterCacheEntry(ICacheEntry entry)
Parameters
Type | Name | Description |
---|---|---|
ICacheEntry | entry | The ICacheEntry to wrap. |
Fields
m_entry
The underlying entry.
Declaration
protected ICacheEntry m_entry
Field Value
Type | Description |
---|---|
ICacheEntry |
m_keyUp
Cached converted key.
Declaration
[NonSerialized]
protected object m_keyUp
Field Value
Type | Description |
---|---|
object |
m_valueUp
Cached converted value.
Declaration
[NonSerialized]
protected object m_valueUp
Field Value
Type | Description |
---|---|
object |
Properties
ConverterKeyUp
The IConverter to view the underlying entry's key through.
Declaration
protected abstract IConverter ConverterKeyUp { get; }
Property Value
Type | Description |
---|---|
IConverter | The IConverter to view the underlying entry's key through. |
ConverterValueDown
The IConverter used to change value in the underlying entry.
Declaration
protected abstract IConverter ConverterValueDown { get; }
Property Value
Type | Description |
---|---|
IConverter | The IConverter used to change value in the underlying entry. |
ConverterValueUp
The IConverter to view the underlying entry's value through.
Declaration
protected abstract IConverter ConverterValueUp { get; }
Property Value
Type | Description |
---|---|
IConverter | The IConverter to view the underlying entry's value through. |
Entry
The underlying ICacheEntry.
Declaration
public virtual ICacheEntry Entry { get; }
Property Value
Type | Description |
---|---|
ICacheEntry | The underlying ICacheEntry. |
Key
Gets the key corresponding to this entry.
Declaration
public virtual object Key { get; }
Property Value
Type | Description |
---|---|
object | The key corresponding to this entry; may be |
Value
Gets or sets the value corresponding to this entry.
Declaration
public virtual object Value { get; set; }
Property Value
Type | Description |
---|---|
object | The value corresponding to this entry; may be |
Methods
Equals(object)
Compares the specified object with this entry for equality.
Declaration
public override bool Equals(object o)
Parameters
Type | Name | Description |
---|---|---|
object | o | Object to be compared for equality with this cache entry. |
Returns
Type | Description |
---|---|
bool | true if the specified object is equal to this cache entry. |
Overrides
GetHashCode()
Returns the hash code value for this cache entry.
Declaration
public override int GetHashCode()
Returns
Type | Description |
---|---|
int | The hash code value for this cache entry. |
Overrides
ToString()
Return a string description for this entry.
Declaration
public override string ToString()
Returns
Type | Description |
---|---|
string | A string description of the entry. |