org.gillius.realdb.io
Interface Formattable
- All Known Subinterfaces:
- BlockPool, CircularQueueBlockIO
- All Known Implementing Classes:
- CircularQueue, Database, DataIndex, DataIndexSection, DefaultBlockPool, ReliableSequencedBlock, TransactionLog
public interface Formattable
A Formattable object can format its portion of a BlockFile to complete reset it to an initial
state.
- Author:
- Jason Winnebeck
Method Summary |
void |
format()
Formats the underlying data storage for this object to represent an "initial" (usually means
"empty" state). |
format
void format()
throws java.io.IOException
- Formats the underlying data storage for this object to represent an "initial" (usually means
"empty" state). This operation is not interruptable and if it fails the object and the
underlying data storage is an undefined state, which only can be recovered through another
format operation.
- Throws:
java.io.IOException
- if an error occurs writing to the data storage
Copyright © 2008-2010 Jason Winnebeck. All Rights Reserved.