Skip to content

com.github.manosbatsis.corda.rpc.poolboy / PoolBoyNonPooledConnection

PoolBoyNonPooledConnection

open class PoolBoyNonPooledConnection :PoolBoyConnection

Non-pooled PoolBoyConnection adapter implementation for legacy apps using a “static” NodeRpcConnection

Constructors

Name Summary
<init> PoolBoyNonPooledConnection(connection:NodeRpcConnection)
Non-pooled PoolBoyConnection adapter implementation for legacy apps using a “static” NodeRpcConnection

Properties

Name Summary
connection val connection:NodeRpcConnection

Functions

Name Summary
borrowConnection open fun borrowConnection():NodeRpcConnection
Reuses the preconfigured NodeRpcConnection
returnConnection open fun returnConnection(rpcConnection:NodeRpcConnection): Unit
No-op

Inherited Functions

Name Summary
withConnection open fun <A> withConnection(block: (NodeRpcConnection) ->A):A
Run some code with with a NodeRpcConnection from the pool in-context using the preconfigured key

Inheritors

Name Summary
PoolBoyNonPooledRawRpcConnection class PoolBoyNonPooledRawRpcConnection :PoolBoyNonPooledConnection
Non-pooled PoolBoyConnection adapter implementation for legacy apps using a “static” CordaRPCOps