public final class SystemSessionPool extends Object
The pool has a statically-configured maximum number of sessions. If a session is closed and the pool is full, then the session will be disconnected when returned to the pool.
| Constructor and Description |
|---|
SystemSessionPool() |
| Modifier and Type | Method and Description |
|---|---|
static LibrarySession |
getSystemSession()
Gets a system session from the pool.
|
static void |
putSystemSession(LibrarySession systemSession)
Returns a system session back to the pool.
|
public static final LibrarySession getSystemSession()
putSystemSession().public static final void putSystemSession(LibrarySession systemSession)
Copyright © 2025. All rights reserved.