org.netbeans.mdr.persistence.btreeimpl.btreestorage
Interface FileCache.NotifyOnCommit
- All Known Implementing Classes:
- BtreeFileSource
- Enclosing interface:
- FileCache
- public static interface FileCache.NotifyOnCommit
An object which needs to be notified before the cache commits (for
instance, to write any changes to the cache before the cache is
flushed to disk) implements this interface, and calls addNotifier
on the cache.
Method Summary |
void |
prepareToCommit()
a callback method called before the cache commits. |
prepareToCommit
public void prepareToCommit()
throws StorageException
- a callback method called before the cache commits. If
the result is an exception, the commit does not take place.
- Throws:
StorageException
Copyright © 2005 Apache Software Foundation. All Rights Reserved.