Annotation Type HugeAtomicArray


  • @Target(TYPE)
    @Retention(CLASS)
    public @interface HugeAtomicArray
    • Required Element Summary

      Required Elements 
      Modifier and Type Required Element Description
      java.lang.Class<?> pageCreatorInterface
      The interface which is expected to extend PageCreator.
      java.lang.Class<?> valueOperatorInterface
      The functional interface which takes the valueType and returns the valueType.
      java.lang.Class<?> valueType
      The type which is stored in the generated HugeAtomicArray.
    • Optional Element Summary

      Optional Elements 
      Modifier and Type Optional Element Description
      int pageShift
      The page shift defines the page size used in the generated HugeAtomicArray.
    • Element Detail

      • valueType

        java.lang.Class<?> valueType
        The type which is stored in the generated HugeAtomicArray.
      • valueOperatorInterface

        java.lang.Class<?> valueOperatorInterface
        The functional interface which takes the valueType and returns the valueType. The method is expected to be named "apply".
      • pageCreatorInterface

        java.lang.Class<?> pageCreatorInterface
        The interface which is expected to extend PageCreator.
      • pageShift

        int pageShift
        The page shift defines the page size used in the generated HugeAtomicArray. The default value of 14 leads so 2^14 = 16384 elements per page (array).
        Default:
        14