public final class Zstd extends Object
Modifier and Type | Method and Description |
---|---|
static Throwable |
cause()
Returns
Throwable of unavailability cause |
static void |
ensureAvailability()
Throws when zstd support is missing from the classpath or is unavailable on this platform
|
static boolean |
isAvailable() |
public static boolean isAvailable()
public static void ensureAvailability() throws Throwable
Throwable
- a ClassNotFoundException if zstd-jni is missing
or a ExceptionInInitializerError if zstd native lib can't be loadedCopyright © 2008–2024 The Netty Project. All rights reserved.