Click or drag to resize
Grid Solutions Framework

PIConnectionPool Class

Note: This API is now obsolete.

Represents a pool of PIConnection instances.
Inheritance Hierarchy
SystemObject
  PIAdaptersPIConnectionPool

Namespace: PIAdapters
Assembly: PIAdapters (in PIAdapters.dll) Version: 2.4.218-beta
Syntax
[ObsoleteAttribute("Pooling connections was a PI-SDK optimization technique, this is not required for AF-SDK implementations.", 
	false)]
public class PIConnectionPool : IDisposable
View Source

The PIConnectionPool type exposes the following members.

Constructors
 NameDescription
Public methodPIConnectionPool Creates a new PIConnectionPool.
Public methodPIConnectionPool(Int32) Creates a new PIConnectionPool.
Top
Properties
 NameDescription
Public propertyAccessCountPerConnection Gets or sets maximum accessibility count for each PIConnection.
Public propertyMinimumPoolSize Gets minimum pool size for the PIConnectionPool.
Public propertySize Gets current size of connection pool.
Top
Methods
 NameDescription
Public methodDispose Releases all the resources used by the PIConnectionPool object.
Protected methodDispose(Boolean) Releases the unmanaged resources used by the PIConnectionPool object and optionally releases the managed resources.
Public methodEqualsDetermines whether the specified object is equal to the current object.
(Inherited from Object)
Protected methodFinalize Releases the unmanaged resources before the PIConnectionPool object is reclaimed by GC.
(Overrides ObjectFinalize)
Public methodGetHashCodeServes as the default hash function.
(Inherited from Object)
Public methodGetPooledConnection Gets a connection from the pool or creates a new one if all current connections are being used at peak access.
Public methodGetTypeGets the Type of the current instance.
(Inherited from Object)
Protected methodMemberwiseCloneCreates a shallow copy of the current Object.
(Inherited from Object)
Public methodReturnPooledConnection Returns PIConnection to the pool.
Public methodToStringReturns a string that represents the current object.
(Inherited from Object)
Top
Events
 NameDescription
Public eventDisconnected Raised when a PIConnection has been disconnected from server.
Top
Fields
See Also