Package deltix.util.io.offheap
Class OffHeap
- java.lang.Object
-
- deltix.util.io.offheap.OffHeap
-
public final class OffHeap extends java.lang.Object
-
-
Field Summary
Fields Modifier and Type Field Description static java.util.logging.LoggerLOGGERstatic java.lang.StringOFFHEAP_DIRstatic intQUEUE_SIZE
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static deltix.util.collections.OffHeapByteQueuecreateByteQueue(java.io.RandomAccessFile raf)static java.io.InputStreamcreateInputStream(java.io.RandomAccessFile raf)static java.io.InputStreamcreateInputStream(java.lang.String name)static OffHeapOutputStreamcreateOutputStream(java.io.RandomAccessFile raf)static java.io.OutputStreamcreateOutputStream(java.lang.String name)static java.io.RandomAccessFilecreateRandomAccessFile(java.lang.String name)static java.lang.StringgetOffHeapDir()static voidstart(java.lang.String offheapDir, boolean isServer)
-
-
-
Field Detail
-
LOGGER
public static final java.util.logging.Logger LOGGER
-
QUEUE_SIZE
public static final int QUEUE_SIZE
- See Also:
- Constant Field Values
-
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()
-
-