com.github.manosbatsis.corda.rpc.poolboy.pool.client / CordaRpcClientFactory / destroyObject
destroyObject¶
fun destroyObject(key:
PoolKey
, p: PooledObject<CordaRPCClient>): Unit
Destroy an instance no longer needed by the pool.
Parameters¶
key
- the key used when selecting the instance
p
- a {@code PooledObject} wrapping the instance to be destroyed