Class RntbdServiceEndpoint.Provider
- java.lang.Object
-
- com.microsoft.azure.cosmosdb.internal.directconnectivity.rntbd.RntbdServiceEndpoint.Provider
-
- All Implemented Interfaces:
RntbdEndpoint.Provider,AutoCloseable
- Enclosing class:
- RntbdServiceEndpoint
public static final class RntbdServiceEndpoint.Provider extends Object implements RntbdEndpoint.Provider
-
-
Constructor Summary
Constructors Constructor Description Provider(RntbdTransportClient transportClient, RntbdTransportClient.Options options, io.netty.handler.ssl.SslContext sslContext)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidclose()RntbdEndpoint.Configconfig()intcount()intevictions()RntbdEndpointget(URI physicalAddress)Stream<RntbdEndpoint>list()
-
-
-
Constructor Detail
-
Provider
public Provider(RntbdTransportClient transportClient, RntbdTransportClient.Options options, io.netty.handler.ssl.SslContext sslContext)
-
-
Method Detail
-
close
public void close()
- Specified by:
closein interfaceAutoCloseable- Specified by:
closein interfaceRntbdEndpoint.Provider
-
config
public RntbdEndpoint.Config config()
- Specified by:
configin interfaceRntbdEndpoint.Provider
-
count
public int count()
- Specified by:
countin interfaceRntbdEndpoint.Provider
-
evictions
public int evictions()
- Specified by:
evictionsin interfaceRntbdEndpoint.Provider
-
get
public RntbdEndpoint get(URI physicalAddress)
- Specified by:
getin interfaceRntbdEndpoint.Provider
-
list
public Stream<RntbdEndpoint> list()
- Specified by:
listin interfaceRntbdEndpoint.Provider
-
-