Click or drag to resize
CacheableStack Class

Note: This API is now obsolete.

A mutable IGFSerializable vector wrapper that can serve as a distributable object for caching.
Inheritance Hierarchy
SystemObject
  System.Collections.GenericStackIGFSerializable
    GemStone.GemFire.CacheCacheableStack

Namespace: GemStone.GemFire.Cache
Assembly: Gemstone.Gemfire.Cache (in Gemstone.Gemfire.Cache.dll) Version: 9.0.6.18
Syntax
[ObsoleteAttribute("Use classes and APIs from the GemStone.GemFire.Cache.Generic namespace")]
public class CacheableStack : Stack<IGFSerializable>, 
	IGFSerializable

The CacheableStack type exposes the following members.

Constructors
Properties
  NameDescription
Public propertyClassId
Returns the classId of the instance being serialized. This is used by deserialization to determine what instance type to create and deserialize into.
Public propertyCount (Inherited from StackIGFSerializable.)
Public propertyObjectSize
return the size of this object in bytes
Top
Methods
  NameDescription
Public methodClear (Inherited from StackIGFSerializable.)
Public methodContains (Inherited from StackIGFSerializable.)
Public methodCopyTo (Inherited from StackIGFSerializable.)
Public methodStatic memberCreate
Static function to create a new empty instance.
Public methodStatic memberCreate(Int32)
Static function to create a new instance with given initial size.
Public methodStatic memberCreate(IEnumerableIGFSerializable)
Public methodStatic memberCreateDeserializable
Factory function to register this class.
Public methodEquals
Determines whether the specified object is equal to the current object.
(Inherited from Object.)
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 methodFromData
Deserialize this object, typical implementation should return the 'this' pointer.
Public methodGetEnumerator (Inherited from StackIGFSerializable.)
Public methodGetHashCode
Serves as the default hash function.
(Inherited from 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 methodPeek (Inherited from StackIGFSerializable.)
Public methodPop (Inherited from StackIGFSerializable.)
Public methodPush (Inherited from StackIGFSerializable.)
Public methodToArray (Inherited from StackIGFSerializable.)
Public methodToData
Serializes this object.
Public methodToString
Returns a string that represents the current object.
(Inherited from Object.)
Public methodTrimExcess
Sets the capacity to the actual number of elements in the StackT, if that number is less than 90 percent of current capacity.
(Inherited from StackIGFSerializable.)
Top
Explicit Interface Implementations
  NameDescription
Explicit interface implementationPrivate methodICollectionCopyTo
Copies the elements of the ICollection to an Array, starting at a particular Array index.
(Inherited from StackIGFSerializable.)
Explicit interface implementationPrivate methodIEnumerableTGetEnumerator
Returns an enumerator that iterates through the collection.
(Inherited from StackIGFSerializable.)
Explicit interface implementationPrivate methodIEnumerableGetEnumerator
Returns an enumerator that iterates through a collection.
(Inherited from StackIGFSerializable.)
Explicit interface implementationPrivate propertyICollectionIsSynchronized
Gets a value indicating whether access to the ICollection is synchronized (thread safe).
(Inherited from StackIGFSerializable.)
Explicit interface implementationPrivate propertyICollectionSyncRoot
Gets an object that can be used to synchronize access to the ICollection.
(Inherited from StackIGFSerializable.)
Top
See Also