Package org.apache.tika.io
Class MappedBufferCleaner
java.lang.Object
org.apache.tika.io.MappedBufferCleaner
Deprecated.
This version of the Apache Tika library is deprecated. Use your own version of Apache Tika.
Copied/pasted from the Apache Lucene/Solr project.
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final StringDeprecated.ifUNMAP_SUPPORTEDisfalse, this contains the reason why unmapping is not supported.static final booleanDeprecated.true, if this platform supports unmapping mmapped files. -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic voidDeprecated.If a cleaner is available, this buffer will be cleaned.
-
Field Details
-
UNMAP_SUPPORTED
public static final boolean UNMAP_SUPPORTEDDeprecated.true, if this platform supports unmapping mmapped files. -
UNMAP_NOT_SUPPORTED_REASON
Deprecated.ifUNMAP_SUPPORTEDisfalse, this contains the reason why unmapping is not supported.
-
-
Constructor Details
-
MappedBufferCleaner
public MappedBufferCleaner()Deprecated.
-
-
Method Details
-
freeBuffer
Deprecated.If a cleaner is available, this buffer will be cleaned. Otherwise, this is a no-op.- Parameters:
b- buffer to clean; no-op if buffer is null- Throws:
IOException
-