Class AutoCloseBase
java.lang.Object
com.github.luben.zstd.AutoCloseBase
- All Implemented Interfaces:
Closeable, AutoCloseable
- Direct Known Subclasses:
SharedDictBase, ZstdCompressCtx, ZstdDecompressCtx
-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate static final intprivate static final AtomicIntegerFieldUpdater<AutoCloseBase> private int -
Constructor Summary
Constructors -
Method Summary
-
Field Details
-
SHARED_LOCK_UPDATER
-
SHARED_LOCK_CLOSED
private static final int SHARED_LOCK_CLOSED- See Also:
-
-
Constructor Details
-
AutoCloseBase
AutoCloseBase()
-
-
Method Details
-
storeFence
void storeFence() -
doClose
abstract void doClose() -
close
public void close()- Specified by:
closein interfaceAutoCloseable- Specified by:
closein interfaceCloseable
-