Package io.trino.filesystem.tracing
Class TracingFileSystemCache
java.lang.Object
io.trino.filesystem.tracing.TracingFileSystemCache
- All Implemented Interfaces:
TrinoFileSystemCache
-
Constructor Summary
ConstructorsConstructorDescriptionTracingFileSystemCache(io.opentelemetry.api.trace.Tracer tracer, TrinoFileSystemCache delegate) -
Method Summary
Modifier and TypeMethodDescriptioncacheInput(TrinoInputFile delegate, String key) Get the TrinoInput of the TrinoInputFile, potentially using or updating the data cached at key.cacheStream(TrinoInputFile delegate, String key) Get the TrinoInputStream of the TrinoInputFile, potentially using or updating the data cached at key.voidGive a hint to the cache that the cache entry for location should be expired.
-
Constructor Details
-
TracingFileSystemCache
public TracingFileSystemCache(io.opentelemetry.api.trace.Tracer tracer, TrinoFileSystemCache delegate)
-
-
Method Details
-
cacheInput
Description copied from interface:TrinoFileSystemCacheGet the TrinoInput of the TrinoInputFile, potentially using or updating the data cached at key.- Specified by:
cacheInputin interfaceTrinoFileSystemCache- Throws:
IOException
-
cacheStream
Description copied from interface:TrinoFileSystemCacheGet the TrinoInputStream of the TrinoInputFile, potentially using or updating the data cached at key.- Specified by:
cacheStreamin interfaceTrinoFileSystemCache- Throws:
IOException
-
expire
Description copied from interface:TrinoFileSystemCacheGive a hint to the cache that the cache entry for location should be expired.- Specified by:
expirein interfaceTrinoFileSystemCache- Throws:
IOException
-