ZstdWrapper
flatgraph.storage.ZstdWrapper
object ZstdWrapper
Attributes
- Graph
-
- Supertypes
-
class Objecttrait Matchableclass Any
- Self type
-
ZstdWrapper.type
Members list
Type members
Classlikes
class JniInvocationException(message: String, cause: Option[Throwable]) extends RuntimeException
Attributes
- Supertypes
-
class RuntimeExceptionclass Exceptionclass Throwabletrait Serializableclass Objecttrait Matchableclass AnyShow all
class ZstdCtx extends AutoCloseable
Attributes
- Supertypes
-
trait AutoCloseableclass Objecttrait Matchableclass Any
Value members
Concrete methods
zstd-jni ships system libraries that are being unpacked, loaded and executed from the system tmp directory. If that fails we get a rather obscure error message - this wrapper adds a check if the tmp dir is executable, and enhances the error message if the zstd invocation fails.
zstd-jni ships system libraries that are being unpacked, loaded and executed from the system tmp directory. If that fails we get a rather obscure error message - this wrapper adds a check if the tmp dir is executable, and enhances the error message if the zstd invocation fails.
This is where zstd-jni loads the system library: https://github.com/luben/zstd-jni/blob/9b08f1d0cdcf3b12b7a307cbba3d9f195149250b/src/main/java/com/github/luben/zstd/util/Native.java#L71
Attributes
In this article