Package org.apache.commons.io.input
Class ByteBufferCleaner.Java9Cleaner
- java.lang.Object
-
- org.apache.commons.io.input.ByteBufferCleaner.Java9Cleaner
-
- All Implemented Interfaces:
ByteBufferCleaner.Cleaner
- Enclosing class:
- ByteBufferCleaner
private static class ByteBufferCleaner.Java9Cleaner extends java.lang.Object implements ByteBufferCleaner.Cleaner
-
-
Field Summary
Fields Modifier and Type Field Description private java.lang.reflect.Method
invokeCleaner
private java.lang.Object
theUnsafe
-
Constructor Summary
Constructors Modifier Constructor Description private
Java9Cleaner()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
clean(java.nio.ByteBuffer buffer)
-
-
-
Method Detail
-
clean
public void clean(java.nio.ByteBuffer buffer) throws java.lang.ReflectiveOperationException
- Specified by:
clean
in interfaceByteBufferCleaner.Cleaner
- Throws:
java.lang.ReflectiveOperationException
-
-