Class OffHeap


  • public final class OffHeap
    extends java.lang.Object
    • Field Summary

      Fields 
      Modifier and Type Field Description
      static java.util.logging.Logger LOGGER  
      static java.lang.String OFFHEAP_DIR  
      static int QUEUE_SIZE  
    • Field Detail

      • LOGGER

        public static final java.util.logging.Logger LOGGER
      • OFFHEAP_DIR

        public static java.lang.String OFFHEAP_DIR
    • Method Detail

      • start

        public static void start​(java.lang.String offheapDir,
                                 boolean isServer)
      • createInputStream

        public static java.io.InputStream createInputStream​(java.lang.String name)
                                                     throws java.io.IOException
        Throws:
        java.io.IOException
      • createInputStream

        public static java.io.InputStream createInputStream​(java.io.RandomAccessFile raf)
                                                     throws java.io.IOException
        Throws:
        java.io.IOException
      • createOutputStream

        public static java.io.OutputStream createOutputStream​(java.lang.String name)
                                                       throws java.io.IOException
        Throws:
        java.io.IOException
      • createOutputStream

        public static OffHeapOutputStream createOutputStream​(java.io.RandomAccessFile raf)
                                                      throws java.io.IOException
        Throws:
        java.io.IOException
      • createRandomAccessFile

        public static java.io.RandomAccessFile createRandomAccessFile​(java.lang.String name)
                                                               throws java.io.FileNotFoundException
        Throws:
        java.io.FileNotFoundException
      • createByteQueue

        public static deltix.util.collections.OffHeapByteQueue createByteQueue​(java.io.RandomAccessFile raf)
                                                                        throws java.io.IOException
        Throws:
        java.io.IOException
      • getOffHeapDir

        public static java.lang.String getOffHeapDir()