Oracle® Coherence .NET API Reference Release 3.7.1
E22844-03

A local in-memory cache implementation.

The LocalCache..::.Entry type exposes the following members.

Constructors

  NameDescription
LocalCache..::.Entry
Construct the cacheable entry that holds the cached value.

Methods

  NameDescription
CalculateUnits
Calculate a cache cost for the specified object.
Discard
Called to inform the Entry that it is no longer used.
Equals
Determines whether the specified Object is equal to the current Object.
(Inherited from Object.)
Extract
Extract a value out of the entry's value.
Finalize
Allows an Object to attempt to free resources and perform other cleanup operations before the Object is reclaimed by garbage collection.
(Inherited from Object.)
GetHashCode
Serves as a hash function for a particular type.
(Inherited from Object.)
GetType
Gets the Type of the current instance.
(Inherited from Object.)
IndexOfMSB
Determine the most significant bit of the passed integral value.
MemberwiseClone
Creates a shallow copy of the current Object.
(Inherited from Object.)
Remove
Remove this entry from the cache if it is present in the cache.
ResetTouchCount
Reset the number of times that the cache entry has been touched.
ScheduleExpiry
Reschedule the cache entry expiration.
SetValue
Store the value corresponding to this entry.
ToString
Render the cache entry as a string.
(Overrides Object..::.ToString()()().)
Touch
Called each time the entry is accessed or modified.
Update
Update the entry's value.

Operators

  NameDescription
ImplicitOverloaded.

Fields

  NameDescription
m_cache
Parent cache.
m_key
Entry's key.
m_value
Entry's value.

Properties

  NameDescription
Cache
Parent cache.
CreatedMillis
Determine when the cache entry was created.
ExpiryMillis
Determine when the cache entry will expire, if ever.
IsDiscarded
Determine if this entry has already been discarded from the cache.
IsExpired
Determine if the cache entry has expired.
IsPresent
Determine if this entry exists in the cache.
Key
Gets the key corresponding to this entry.
LastTouchMillis
Determine when the cache entry was last touched.
Priority
Calculate a cache priority.
TouchCount
Determine the number of times that the cache entry has been touched.
Units
Determine the number of cache units used by this Entry.
Value
Gets or sets the value corresponding to this entry.

See Also