Class UnsafeUtil


  • public class UnsafeUtil
    extends java.lang.Object
    Provides access to unsafe operations.
    • Field Summary

      Fields 
      Modifier and Type Field Description
      private static java.lang.reflect.Method cleanerMethod  
      private static java.lang.reflect.Method cleanMethod  
      private static Logger LOGGER  
    • Constructor Summary

      Constructors 
      Constructor Description
      UnsafeUtil()  
    • Method Summary

      All Methods Static Methods Concrete Methods 
      Modifier and Type Method Description
      static void clean​(java.nio.ByteBuffer bb)  
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Field Detail

      • LOGGER

        private static final Logger LOGGER
      • cleanerMethod

        private static java.lang.reflect.Method cleanerMethod
      • cleanMethod

        private static java.lang.reflect.Method cleanMethod
    • Constructor Detail

      • UnsafeUtil

        public UnsafeUtil()
    • Method Detail

      • clean

        public static void clean​(java.nio.ByteBuffer bb)
                          throws java.lang.Exception
        Throws:
        java.lang.Exception