Package org.eclipse.mat.parser.index
Class IndexWriter.LongArray1NWriter
- java.lang.Object
-
- org.eclipse.mat.parser.index.IndexWriter.LongArray1NWriter
-
- Enclosing class:
- IndexWriter
public static class IndexWriter.LongArray1NWriter extends Object
-
-
Constructor Summary
Constructors Constructor Description LongArray1NWriter(int size, File indexFile)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidcancel()Terminate the LongArray1NWriter and delete any files which have been written so far.voidflush()FilegetIndexFile()voidlog(int index, long[] values)
-
-
-
Constructor Detail
-
LongArray1NWriter
public LongArray1NWriter(int size, File indexFile) throws IOException- Throws:
IOException
-
-
Method Detail
-
log
public void log(int index, long[] values) throws IOException- Throws:
IOException
-
flush
public void flush() throws IOException- Throws:
IOException
-
cancel
public void cancel()
Terminate the LongArray1NWriter and delete any files which have been written so far. Use to cancel part way through.
-
getIndexFile
public File getIndexFile()
-
-