Package com.mckoi.store
Interface MutableArea
- All Superinterfaces:
Area
An interface for an area that can be modified. Any changes made to an area
may or may not be immediately reflected in already open areas with the same
id. The specification does guarentee that after the 'checkOutAndClose'
method is invoked that any new Area or MutableArea objects created by the
backing store will contain the changes.
- Author:
- Tobias Downer
-
Method Summary
-
Method Details
-
checkOut
Checks out all changes made to this area. This should be called after a series of updates have been made to the area and the final change is to be 'finalized'. When this method returns, any new Area or MutableArea objects created by the backing store will contain the changes made to this object. Any changes made to the Area may or may not be made to any already existing areas.In a logging implementation, this may flush out the changes made to the area in a log.
- Throws:
IOException
-
put
- Throws:
IOException
-
put
- Throws:
IOException
-
put
- Throws:
IOException
-
putShort
- Throws:
IOException
-
putInt
- Throws:
IOException
-
putLong
- Throws:
IOException
-
putChar
- Throws:
IOException
-