Class IRODSConnectionPool.PoolConnection
java.lang.Object
org.irods.irods4j.high_level.connection.IRODSConnectionPool.PoolConnection
- All Implemented Interfaces:
AutoCloseable
- Enclosing class:
- IRODSConnectionPool
public static final class IRODSConnectionPool.PoolConnection
extends Object
implements AutoCloseable
A class representing a connection within an
IRODSConnectionPool.- Since:
- 0.1.0
-
Method Summary
Modifier and TypeMethodDescriptionvoidclose()Returns the connection to the pool.Returns theIRODSApi.RcCommmanaged by the connection.booleanisValid()Checks if the connection to iRODS is usable.
-
Method Details
-
isValid
public boolean isValid()Checks if the connection to iRODS is usable.- Since:
- 0.1.0
-
getRcComm
Returns theIRODSApi.RcCommmanaged by the connection.- Since:
- 0.1.0
-
close
Returns the connection to the pool.- Specified by:
closein interfaceAutoCloseable- Throws:
Exception- Since:
- 0.1.0
-