A mutable IGFSerializable vector wrapper that can serve as a distributable object for caching.

Namespace: GemStone.GemFire.Cache
Assembly: GemStone.GemFire.Cache (in GemStone.GemFire.Cache.dll) Version: 8.2.4.0

Syntax

         
 C#  Visual Basic  Visual C++ 
[ObsoleteAttribute("Use classes and APIs from the GemStone.GemFire.Cache.Generic namespace")]
public class CacheableStack : Stack<IGFSerializable>, 
	IGFSerializable
<ObsoleteAttribute("Use classes and APIs from the GemStone.GemFire.Cache.Generic namespace")> _
Public Class CacheableStack _
	Inherits Stack(Of IGFSerializable) _
	Implements IGFSerializable
[ObsoleteAttribute(L"Use classes and APIs from the GemStone.GemFire.Cache.Generic namespace")]
public ref class CacheableStack : public Stack<IGFSerializable^>, 
	IGFSerializable

Members

               
 All Members  Constructors   Properties   Methods   Explicit Interface Implementations  
 Public

 Protected
 Instance

 Static 
 Declared

 Inherited
 XNA Framework Only 

 .NET Compact Framework Only 

 MemberDescription
CacheableStack()()()()
Allocates a new empty instance.
CacheableStack(Int32)
Allocates a new empty instance with given initial size.
CacheableStack(IEnumerable<(Of <<'(IGFSerializable>)>>))
Allocates a new instance copying from the given collection.
ClassId
Returns the classId of the instance being serialized. This is used by deserialization to determine what instance type to create and deserialize into.
Clear()()()()
Removes all objects from the Stack<(Of <(<'T>)>)>.
(Inherited from Stack<(Of <(<'IGFSerializable>)>)>.)
Contains(T)
Determines whether an element is in the Stack<(Of <(<'T>)>)>.
(Inherited from Stack<(Of <(<'IGFSerializable>)>)>.)
CopyTo(array<T>[]()[][], Int32)
Copies the Stack<(Of <(<'T>)>)> to an existing one-dimensional Array, starting at the specified array index.
(Inherited from Stack<(Of <(<'IGFSerializable>)>)>.)
ICollection..::..CopyTo(Array, Int32)
Copies the elements of the ICollection to an Array, starting at a particular Array index.
(Inherited from Stack<(Of <(<'IGFSerializable>)>)>.)
Count
Gets the number of elements contained in the Stack<(Of <(<'T>)>)>.
(Inherited from Stack<(Of <(<'IGFSerializable>)>)>.)
Create()()()()
Static function to create a new empty instance.
Create(Int32)
Static function to create a new instance with given initial size.
Create(IEnumerable<(Of <<'(IGFSerializable>)>>))
Static function to create a new instance copying from the given collection.
CreateDeserializable()()()()
Factory function to register this class.
Equals(Object)
Determines whether the specified Object is equal to the current Object.
(Inherited from Object.)
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.)
FromData(DataInput)
Deserialize this object, typical implementation should return the 'this' pointer.
GetEnumerator()()()()
Returns an enumerator for the Stack<(Of <(<'T>)>)>.
(Inherited from Stack<(Of <(<'IGFSerializable>)>)>.)
IEnumerable<(Of <<'(T>)>>)..::..GetEnumerator()()()()
Returns an enumerator that iterates through the collection.
(Inherited from Stack<(Of <(<'IGFSerializable>)>)>.)
IEnumerable..::..GetEnumerator()()()()
Returns an enumerator that iterates through a collection.
(Inherited from Stack<(Of <(<'IGFSerializable>)>)>.)
GetHashCode()()()()
Serves as a hash function for a particular type.
(Inherited from Object.)
GetType()()()()
Gets the Type of the current instance.
(Inherited from Object.)
ICollection..::..IsSynchronized
Gets a value indicating whether access to the ICollection is synchronized (thread safe).
(Inherited from Stack<(Of <(<'IGFSerializable>)>)>.)
MemberwiseClone()()()()
Creates a shallow copy of the current Object.
(Inherited from Object.)
ObjectSize
return the size of this object in bytes
Peek()()()()
Returns the object at the top of the Stack<(Of <(<'T>)>)> without removing it.
(Inherited from Stack<(Of <(<'IGFSerializable>)>)>.)
Pop()()()()
Removes and returns the object at the top of the Stack<(Of <(<'T>)>)>.
(Inherited from Stack<(Of <(<'IGFSerializable>)>)>.)
Push(T)
Inserts an object at the top of the Stack<(Of <(<'T>)>)>.
(Inherited from Stack<(Of <(<'IGFSerializable>)>)>.)
ICollection..::..SyncRoot
Gets an object that can be used to synchronize access to the ICollection.
(Inherited from Stack<(Of <(<'IGFSerializable>)>)>.)
ToArray()()()()
Copies the Stack<(Of <(<'T>)>)> to a new array.
(Inherited from Stack<(Of <(<'IGFSerializable>)>)>.)
ToData(DataOutput)
Serializes this object.
ToString()()()()
Returns a String that represents the current Object.
(Inherited from Object.)
TrimExcess()()()()
Sets the capacity to the actual number of elements in the Stack<(Of <(<'T>)>)>, if that number is less than 90 percent of current capacity.
(Inherited from Stack<(Of <(<'IGFSerializable>)>)>.)

Inheritance Hierarchy

System..::..Object
  System.Collections.Generic..::..Stack<(Of <(<'IGFSerializable>)>)>
    GemStone.GemFire.Cache..::..CacheableStack

See Also