java.lang.Object
io.helidon.webclient.spi.ClientConnectionCache
io.helidon.webclient.http2.Http2ConnectionCache
- All Implemented Interfaces:
io.helidon.common.resumable.Resumable,io.helidon.webclient.api.ReleasableResource
public final class Http2ConnectionCache
extends io.helidon.webclient.spi.ClientConnectionCache
A cache of HTTP2 connections.
-
Method Summary
Modifier and TypeMethodDescriptionvoidstatic Http2ConnectionCachecreate()Creates a fresh connection cache.protected voidevict()static Http2ConnectionCacheshared()Returns a reference to the shared connection cache.Methods inherited from class io.helidon.webclient.spi.ClientConnectionCache
resume, suspendMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods 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:
evictin classio.helidon.webclient.spi.ClientConnectionCache
-
closeResource
public void closeResource()