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 Details

    • isValid

      public boolean isValid()
      Checks if the connection to iRODS is usable.
      Since:
      0.1.0
    • getRcComm

      public IRODSApi.RcComm getRcComm()
      Returns the IRODSApi.RcComm managed by the connection.
      Since:
      0.1.0
    • close

      public void close() throws Exception
      Returns the connection to the pool.
      Specified by:
      close in interface AutoCloseable
      Throws:
      Exception
      Since:
      0.1.0