Returns the configured limit of transport sessions used.

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

Syntax

C#
public int TransportSessions{ get;}
Visual Basic (Declaration)
Public ReadOnly Property TransportSessions As Integer
Visual C++
public:
property int TransportSessions {
	int get ();
}

Return Value

the limit of transport sessions used

Remarks

This governs the number of logical communication groups and contributes to the limit on the number of connected sockets between peers. The formula for the socket connection limit is ( sessions * peers * k ) where k is 4 for members that are type PEER, k is 4 + server-threads (default 4) for members of type SERVER, and k is 2 for members of type CLIENT. Note members of type CLIENT need only 2 sessions, and effectively have only 1 PEER. Sessions defaults to 10.

See Also