Class ClientConnectionCache

java.lang.Object
io.helidon.webclient.spi.ClientConnectionCache
All Implemented Interfaces:
Resumable, ReleasableResource
Direct Known Subclasses:
Http2ConnectionCache

public abstract class ClientConnectionCache extends Object implements ReleasableResource, Resumable
Client connection cache with release shutdown hook to provide graceful shutdown.
  • Constructor Details

    • ClientConnectionCache

      protected ClientConnectionCache(boolean shared)
  • Method Details

    • suspend

      public void suspend()
      Description copied from interface: Resumable
      Invoked by before suspend.
      Specified by:
      suspend in interface Resumable
    • resume

      public void resume()
      Description copied from interface: Resumable
      Invoked after restore.
      Specified by:
      resume in interface Resumable
    • evict

      protected abstract void evict()