Package io.trino.filesystem.alluxio
Class AlluxioCoordinatorFileSystemCache
java.lang.Object
io.trino.filesystem.alluxio.AlluxioCoordinatorFileSystemCache
- All Implemented Interfaces:
TrinoFileSystemCache
When AllowFilesystemCacheOnCoordinator is disabled, used to skip caching data on coordinator
while still registering alluxio metrics so that JMX queries for metrics can succeed on the coordinator.
-
Constructor Summary
ConstructorsConstructorDescriptionAlluxioCoordinatorFileSystemCache(boolean allowFilesystemCacheOnCoordinator, io.opentelemetry.api.trace.Tracer tracer, AlluxioFileSystemCacheConfig config, AlluxioCacheStats statistics) -
Method Summary
Modifier and TypeMethodDescriptioncacheInput(TrinoInputFile delegate, String key) cacheStream(TrinoInputFile delegate, String key) void
-
Constructor Details
-
AlluxioCoordinatorFileSystemCache
@Inject public AlluxioCoordinatorFileSystemCache(boolean allowFilesystemCacheOnCoordinator, io.opentelemetry.api.trace.Tracer tracer, AlluxioFileSystemCacheConfig config, AlluxioCacheStats statistics) throws IOException - Throws:
IOException
-
-
Method Details
-
cacheInput
- Specified by:
cacheInputin interfaceTrinoFileSystemCache- Throws:
IOException
-
cacheStream
- Specified by:
cacheStreamin interfaceTrinoFileSystemCache- Throws:
IOException
-
expire
- Specified by:
expirein interfaceTrinoFileSystemCache- Throws:
IOException
-