Class SynchronizedPoolableStack<T>
Inheritance
System.Object
SynchronizedPoolableStack<T>
Implements
IPool<T>
Inherited Members
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.ToString()
Namespace: FixAntenna.Common.Pool
Assembly: FixAntenna.Common.dll
Syntax
public class SynchronizedPoolableStack<T> : IPool<T> where T : class
Type Parameters
Name | Description |
---|---|
T |
Constructors
SynchronizedPoolableStack(Int32, Int32, IPoolableProvider<T>)
Declaration
public SynchronizedPoolableStack(int initSize, int maxSize, IPoolableProvider<T> poolableProvider)
Parameters
Type | Name | Description |
---|---|---|
System.Int32 | initSize | |
System.Int32 | maxSize | |
IPoolableProvider<T> | poolableProvider |
Methods
Clean()
Declaration
public virtual void Clean()
GetInfo()
Declaration
public virtual string GetInfo()
Returns
Type | Description |
---|---|
System.String |
GetObject()
Declaration
public T GetObject()
Returns
Type | Description |
---|---|
T |
GetObjectsCreated()
Declaration
public virtual int GetObjectsCreated()
Returns
Type | Description |
---|---|
System.Int32 |
ReturnObject(T)
Declaration
public virtual void ReturnObject(T object)
Parameters
Type | Name | Description |
---|---|---|
T | object |