Skip to content

com.github.manosbatsis.corda.rpc.poolboy.config / PoolParams

PoolParams

data class PoolParams

Provides configuration parameters for RPC pooling

Constructors

Name Summary
<init> PoolParams(baseNodeParams:PoolParams)``PoolParams(rpcClientsMode:RpcClientsMode? = null, rpcClientPool:GenericKeyedObjectPoolConfigData? = null, rpcOpsPool:GenericKeyedObjectPoolConfigData? = null)
Provides configuration parameters for RPC pooling

Properties

Name Summary
rpcClientPool var rpcClientPool:GenericKeyedObjectPoolConfigData?
RPC client pool configuration, ignored if rpcClientPoolDisable is true
rpcClientsMode var rpcClientsMode:RpcClientsMode?
Whether to use shared, pooled or dedicated RPC Clients, default is shared
rpcOpsPool var rpcOpsPool:GenericKeyedObjectPoolConfigData?
RPC Ops pool configuration

Companion Object Properties

Name Summary
DEFAULT val DEFAULT:PoolParams

Companion Object Functions

Name Summary
mergeParams fun mergeParams(partialParams:PoolParams, defaults:PoolParams?):PoolParams
Merge in order of precedence, with NodeParams.DEFAULT being the implicit last option