com.github.manosbatsis.corda.rpc.poolboy.pool.client / CordaRpcClientFactory / passivateObject
passivateObject¶
fun passivateObject(key:PoolKey, p: PooledObject<CordaRPCClient>): Unit
Uninitialize an instance to be returned to the idle object pool.
Parameters¶
key - the key used when selecting the object
p - a {@code PooledObject} wrapping the instance to be passivated