Package org.agrona

Class UnsafeAccess


  • public final class UnsafeAccess
    extends java.lang.Object
    Obtain access the Unsafe class for direct memory operations.
    • Field Summary

      Fields 
      Modifier and Type Field Description
      static int ARRAY_BYTE_BASE_OFFSET
      Byte array base offset.
      static sun.misc.Unsafe UNSAFE
      Reference to the Unsafe instance.
    • Constructor Summary

      Constructors 
      Modifier Constructor Description
      private UnsafeAccess()  
    • Method Summary

      • Methods inherited from class java.lang.Object

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

      • UNSAFE

        public static final sun.misc.Unsafe UNSAFE
        Reference to the Unsafe instance.
      • ARRAY_BYTE_BASE_OFFSET

        public static final int ARRAY_BYTE_BASE_OFFSET
        Byte array base offset.
    • Constructor Detail

      • UnsafeAccess

        private UnsafeAccess()