Class CPoolEntry

    • Field Summary

      Fields 
      Modifier and Type Field Description
      private org.apache.commons.logging.Log log  
      private boolean routeComplete  
    • Constructor Summary

      Constructors 
      Constructor Description
      CPoolEntry​(org.apache.commons.logging.Log log, java.lang.String id, HttpRoute route, ManagedHttpClientConnection conn, long timeToLive, java.util.concurrent.TimeUnit timeUnit)  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      void close()  
      void closeConnection()  
      boolean isClosed()  
      boolean isExpired​(long now)  
      boolean isRouteComplete()  
      void markRouteComplete()  
      void shutdownConnection()  
      • Methods inherited from class org.apache.http.pool.PoolEntry

        getConnection, getCreated, getExpiry, getId, getRoute, getState, getUpdated, getValidityDeadline, getValidUnit, setState, toString, updateExpiry
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
    • Field Detail

      • log

        private final org.apache.commons.logging.Log log
      • routeComplete

        private volatile boolean routeComplete
    • Constructor Detail

      • CPoolEntry

        public CPoolEntry​(org.apache.commons.logging.Log log,
                          java.lang.String id,
                          HttpRoute route,
                          ManagedHttpClientConnection conn,
                          long timeToLive,
                          java.util.concurrent.TimeUnit timeUnit)
    • Method Detail

      • markRouteComplete

        public void markRouteComplete()
      • isRouteComplete

        public boolean isRouteComplete()
      • closeConnection

        public void closeConnection()
                             throws java.io.IOException
        Throws:
        java.io.IOException
      • shutdownConnection

        public void shutdownConnection()
                                throws java.io.IOException
        Throws:
        java.io.IOException