SessionPoolOptions
Index
Properties
optionalblockedStatusCodes
optionalcreateSessionFunction
Custom function that should return Session
instance.
Any error thrown from this function will terminate the process.
Function receives SessionPool
instance as a parameter
optionalmaxPoolSize
Maximum size of the pool. Indicates how many sessions are rotated.
optionalpersistenceOptions
Control how and when to persist the state of the session pool.
optionalpersistStateKey
Session pool persists it's state under this key in Key value store.
optionalpersistStateKeyValueStoreId
Name or Id of KeyValueStore
where is the SessionPool
state stored.
optionalsessionOptions
The configuration options for Session instances.
Specifies which response status codes are considered as blocked. Session connected to such request will be marked as retired.