view src/org/dancres/blitz/entry/EntryEditor.java @ 35:6f68e94c1fb8 default tip

Add CondensedStats monitoring utility, equivalent to vmstat
author Dominic Cleal <dominic-cleal@cdo2.com>
date Thu, 05 Aug 2010 11:07:25 +0100
parents 3dc0c5604566
children
line wrap: on
line source

package org.dancres.blitz.entry;

import java.io.IOException;

/**
   Interface through which the WriteBuffer updates on-disk state - thus the
   WriteBuffer knows nothing of the underlying storage method.
 */
public interface EntryEditor {
    public String getType();
    public void delete(PersistentEntry anEntry) throws IOException;
    public void update(PersistentEntry anEntry) throws IOException;
    public void write(PersistentEntry anEntry) throws IOException;
}