_stop
public final void _stop()
delete
public final void delete(String dirName,
String name)
- delete in interface Transaction
init
public final void init(String path)
throws IOException
- init in interface Transaction
load
public final Object load(String name)
throws IOException,
ClassNotFoundException
- load in interface Transaction
load
public final Object load(String dirName,
String name)
throws IOException,
ClassNotFoundException
- load in interface Transaction
loadByteArray
public final byte[] loadByteArray(String dirName,
String name)
throws IOException
- loadByteArray in interface Transaction
newLogFile
protected void newLogFile()
throws IOException
save
public final void save(Serializable obj,
String name)
throws IOException
- save in interface Transaction
save
public final void save(Serializable obj,
String dirName,
String name)
throws IOException
- save in interface Transaction
saveByteArray
public final void saveByteArray(byte[] buf,
String name)
throws IOException
Save an object state already serialized. The byte array keeped in log is
a copy, so the original one may be modified.
- saveByteArray in interface Transaction
saveByteArray
public final void saveByteArray(byte[] buf,
String dirName,
String name)
throws IOException
Save an object state already serialized. The byte array keeped in log is
a copy, so the original one may be modified.
- saveByteArray in interface Transaction
syncLogFile
protected void syncLogFile()
throws IOException