Stopsessionpool, Getsessionpool, Suspendsessionpool – HP NonStop G-Series User Manual
Page 280
![background image](/manuals/398286/280/background.png)
Reserved for future use. Must be null.
Returns This method returns the number of successful connections.
Usage Create a session pool with multiple restartable connections. The caller provides a unique
ID to identify the session pool. If a connection in the session pool is terminated unexpectedly, a
new connection will be established to keep the session pool alive. A session pool provides
load-balancing among connections and failover capability by letting the user specify a primary
server address list and a secondary server address list. The id must be null for this release.
stopSessionPool
final void stopSessionPool(String id)
id
Reserved for future use. Must be null.
Usage Shut down a session pool; all active connections in the session are also terminated
immediately. The ID must be null for this release. This method is part of the administrative
class library.
getSessionPool
final SessionPool getSessionPool(String id)
id
Reserved for future use. Must be null.
Returns A session pool or null if it does not exist.
Usage Get the session pool. If the session pool does not exist, this method will return a null
object. The ID must be null for this release.
suspendSessionPool
final void suspendSessionPool(String id, boolean action)
id
Reserved for future use. Must be null.
action
true to suspend the session pool; false to resume it.
Usage Suspend this session pool so it will not accept any new requests. It allows the
administrator to shut down the session pool gracefully. The ID must be null for this release.