Class DirectTupleSchema.Builder

    • Field Detail

      • wordSize

        protected int wordSize
    • Method Detail

      • padToWordSize

        public DirectTupleSchema.Builder padToWordSize​(int wordSize)
        Pads out the size of each individual record such that it fits within a multiple of the wordSize. This is useful for eliminating false sharing when adjacent records are being utilized by different threads.
        Parameters:
        wordSize - - Word size to pad between tuples
        Returns:
        - DirectTupleSchema.Builder
      • build

        public DirectTupleSchema build()
                                throws java.lang.Exception
        Throws:
        java.lang.Exception