Class SystemIndex


  • public class SystemIndex
    extends java.lang.Object
    • Field Summary

      Fields 
      Modifier and Type Field Description
      static int BlockReadCacheSize
      Size of read block cache (32 bit systems only).
      static int BlockSize
      Default size, in bytes, of a block
      static int BlockSizeTest
      Size, in bytes, of a block for in-memory stores (testing)
      static int BlockWriteCacheSize
      Size of the delayed-write block cache (32 bit systems only) (per file)
      static boolean Checking  
      static byte FillByte
      FillByte value for NullOut
      static boolean is64bitSystem  
      static int Node2NodeIdCacheSize
      Size of Node to NodeId cache.
      static int NodeId2NodeCacheSize
      Size of NodeId to Node cache.
      static int NodeMissCacheSize
      Size of Node lookup miss cache.
      static boolean NullOut
      null out (with the FillByte) freed up space in buffers
      static int SegmentSize
      Size, in bytes, of a segment (used for memory mapped files)
      static int SizeOfPointer
      Size, in bytes, of a pointer between blocks
    • Constructor Summary

      Constructors 
      Constructor Description
      SystemIndex()  
    • Method Summary

      All Methods Static Methods Concrete Methods 
      Modifier and Type Method Description
      static FileMode fileMode()  
      static boolean getNullOut()
      Are we nulling out unused space in bytebuffers (records, points etc)
      static void init()  
      static void setFileMode​(FileMode newFileMode)  
      static void setNullOut​(boolean nullOut)  
      • Methods inherited from class java.lang.Object

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

      • SizeOfPointer

        public static final int SizeOfPointer
        Size, in bytes, of a pointer between blocks
        See Also:
        Constant Field Values
      • is64bitSystem

        public static final boolean is64bitSystem
      • BlockSize

        public static final int BlockSize
        Default size, in bytes, of a block
        See Also:
        Constant Field Values
      • BlockSizeTest

        public static final int BlockSizeTest
        Size, in bytes, of a block for in-memory stores (testing)
        See Also:
        Constant Field Values
      • SegmentSize

        public static final int SegmentSize
        Size, in bytes, of a segment (used for memory mapped files)
        See Also:
        Constant Field Values
      • Node2NodeIdCacheSize

        public static final int Node2NodeIdCacheSize
        Size of Node to NodeId cache. Used to map from Node to NodeId spaces. Used for loading and for query preparation.
      • NodeId2NodeCacheSize

        public static final int NodeId2NodeCacheSize
        Size of NodeId to Node cache. Used to map from NodeId to Node spaces. Used for retriveing results.
      • NodeMissCacheSize

        public static final int NodeMissCacheSize
        Size of Node lookup miss cache.
        See Also:
        Constant Field Values
      • BlockWriteCacheSize

        public static final int BlockWriteCacheSize
        Size of the delayed-write block cache (32 bit systems only) (per file)
      • BlockReadCacheSize

        public static final int BlockReadCacheSize
        Size of read block cache (32 bit systems only). Increase JVM size as necessary. Per file.
      • NullOut

        public static boolean NullOut
        null out (with the FillByte) freed up space in buffers
      • Checking

        public static boolean Checking
    • Constructor Detail

      • SystemIndex

        public SystemIndex()
    • Method Detail

      • init

        public static void init()
      • setNullOut

        public static void setNullOut​(boolean nullOut)
      • getNullOut

        public static boolean getNullOut()
        Are we nulling out unused space in bytebuffers (records, points etc)
      • fileMode

        public static FileMode fileMode()
      • setFileMode

        public static void setFileMode​(FileMode newFileMode)