CachedObjectId Class

ScaleOut Software NamedCache API
The CachedObjectId class serves as an identifier for a cached object in a NamedCache collection.
Inheritance Hierarchy

SystemObject
  Soss.ClientCachedObjectId
    Soss.ClientCachedObjectIdT

Namespace:  Soss.Client
Assembly:  soss_namedcache (in soss_namedcache.dll) Version: 6.1.0.0
Syntax

[SerializableAttribute]
public class CachedObjectId : IEquatable<CachedObjectId>

The CachedObjectId type exposes the following members.

Properties

  NameDescription
Public propertyKey
The StateServerKey representing the key of a cached object. Read-only.
Public propertyValue
Fetches the object corresponding to this CachedObjectId from the NamedCache and returns it.
Top
Methods

  NameDescription
Public methodEquals(Object)
Determines whether two CachedObjectId instances are equal.
(Overrides ObjectEquals(Object).)
Public methodEquals(CachedObjectId)
Determines whether two CachedObjectId instances are equal.
Protected methodFinalize
Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection.
(Inherited from Object.)
Public methodGetHashCode
Overrides GetHashCode method.
(Overrides ObjectGetHashCode.)
Public methodGetStringKey
Retrieves the original (unhashed) string used as a key to a StateServer object.
Public methodGetType
Gets the Type of the current instance.
(Inherited from Object.)
Protected methodMemberwiseClone
Creates a shallow copy of the current Object.
(Inherited from Object.)
Public methodToString
Returns a string representing this key.
(Overrides ObjectToString.)
Top
Operators

  NameDescription
Public operatorStatic memberEquality
Compares two CachedObjectId instances for equality.
Public operatorStatic memberInequality
Compares two CachedObjectId instances for inequality.
Top
Remarks

CachedObjectIds are created by a NamedCache, and are valid for use with that NamedCache. NamedCache supports methods for constructing CachedObjectIds from String, Byte[], or Guid identifier values.
See Also

Reference