public final class CleanerUtil
extends java.lang.Object
| Modifier and Type | Class and Description | 
|---|---|
| static interface  | CleanerUtil.BufferCleanerPass in an implementation of this interface to cleanup ByteBuffers. | 
| Modifier and Type | Field and Description | 
|---|---|
| static java.lang.String | UNMAP_NOT_SUPPORTED_REASONif  UNMAP_SUPPORTEDisfalse, this contains the reason
 why unmapping is not supported. | 
| static boolean | UNMAP_SUPPORTEDtrue, if this platform supports unmapping mmapped files. | 
| Modifier and Type | Method and Description | 
|---|---|
| static CleanerUtil.BufferCleaner | getCleaner()Reference to a BufferCleaner that does unmapping. | 
public static final boolean UNMAP_SUPPORTED
true, if this platform supports unmapping mmapped files.public static final java.lang.String UNMAP_NOT_SUPPORTED_REASON
UNMAP_SUPPORTED is false, this contains the reason
 why unmapping is not supported.public static CleanerUtil.BufferCleaner getCleaner()
null if not supported.Copyright 2021 The Apache Software Foundation or its licensors, as applicable.