java.lang.Object
io.helidon.webclient.spi.ClientConnectionCache
io.helidon.webclient.http2.Http2ConnectionCache
- All Implemented Interfaces:
Resumable
,ReleasableResource
A cache of HTTP2 connections.
-
Method Summary
Modifier and TypeMethodDescriptionvoid
Closes the resource, we cannot use nameclose
, as that would conflict withAutoCloseable
, as we do not want to have a checked exception thrown.static Http2ConnectionCache
create()
Creates a fresh connection cache.protected void
evict()
static Http2ConnectionCache
shared()
Returns a reference to the shared connection cache.Methods inherited from class io.helidon.webclient.spi.ClientConnectionCache
resume, suspend
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface io.helidon.webclient.api.ReleasableResource
releaseResource
-
Method Details
-
create
Creates a fresh connection cache.- Returns:
- new connection cache
-
evict
protected void evict()- Specified by:
evict
in classClientConnectionCache
-
closeResource
public void closeResource()Description copied from interface:ReleasableResource
Closes the resource, we cannot use nameclose
, as that would conflict withAutoCloseable
, as we do not want to have a checked exception thrown.