public class MigrationLog extends Object
| Constructor and Description |
|---|
MigrationLog(File logFile) |
public MigrationLog(File logFile) throws IOException
IOExceptionpublic Set<Integer> read() throws IOException
IOExceptionpublic void write(int scheduleId)
throws IOException
scheduleId to the log. Writes go to an internal buffer and are not immediately flushed to
disk. When the buffer fills up, it is automatically flushed. This method supports concurrent access.IOExceptionpublic void close()
throws IOException
IOExceptionCopyright © 2008-2014 Red Hat, Inc.. All Rights Reserved.