com.github.manosbatsis.corda.rpc.poolboy.pool.connection / RpcClientPoolBackedNodeRpcConnectionFactory
RpcClientPoolBackedNodeRpcConnectionFactory¶
class RpcClientPoolBackedNodeRpcConnectionFactory :
AbstractRpcConnectionFactory
Pool factory for NodeRpcConnections backed by a nested CordaRPCClient pool
Constructors¶
Name | Summary |
---|---|
<init> | RpcClientPoolBackedNodeRpcConnectionFactory(nodeParamsService: RpcConfigurationService , rpcClientPool: CordaRpcClientPool ) Pool factory for NodeRpcConnections backed by a nested CordaRPCClient pool |
Properties¶
Name | Summary |
---|---|
nodeParamsService | val nodeParamsService: RpcConfigurationService |
rpcClientPool | val rpcClientPool: CordaRpcClientPool Parent pool for reusing CordaRPCClient |
Functions¶
Name | Summary |
---|---|
activateObject | fun activateObject(key: PoolKey , p: PooledObject< NodeRpcConnection >): Unit |
create | fun create(key: PoolKey ): NodeRpcConnection |
destroyObject | fun destroyObject(key: PoolKey , p: PooledObject< NodeRpcConnection >): Unit |
makeObject | fun makeObject(key: PoolKey ): PooledObject< NodeRpcConnection > |
passivateObject | fun passivateObject(key: PoolKey , p: PooledObject< NodeRpcConnection >): Unit |
validateObject | fun validateObject(key: PoolKey , p: PooledObject< NodeRpcConnection >): Boolean |
Inherited Functions¶
Name | Summary |
---|---|
wrap | open fun wrap(value: NodeRpcConnection ): PooledObject< NodeRpcConnection > |