Package io.trino.filesystem.cache
Class DefaultCachingHostAddressProvider
java.lang.Object
io.trino.filesystem.cache.DefaultCachingHostAddressProvider
- All Implemented Interfaces:
CachingHostAddressProvider
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptiongetHosts(String splitPath, List<HostAddress> defaultAddresses) Returns a lists of hosts which are preferred to cache the split with the given path.
-
Constructor Details
-
DefaultCachingHostAddressProvider
public DefaultCachingHostAddressProvider()
-
-
Method Details
-
getHosts
Description copied from interface:CachingHostAddressProviderReturns a lists of hosts which are preferred to cache the split with the given path.- Specified by:
getHostsin interfaceCachingHostAddressProvider
-