de.grogra.persistence
Class LogStore

java.lang.Object
  extended by de.grogra.persistence.LogStore

public final class LogStore
extends java.lang.Object


Nested Class Summary
static class LogStore.Entry
           
 
Constructor Summary
LogStore(boolean keepAll)
           
 
Method Summary
 void add(Transaction.Key key, Transaction.Data data)
           
 void clear()
           
 Transaction.Data get(Transaction.Key key)
           
 LogStore.Entry getFirstEntry()
           
 LogStore.Entry getLastEntry()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

LogStore

public LogStore(boolean keepAll)
Method Detail

add

public void add(Transaction.Key key,
                Transaction.Data data)

clear

public void clear()

get

public Transaction.Data get(Transaction.Key key)

getFirstEntry

public LogStore.Entry getFirstEntry()

getLastEntry

public LogStore.Entry getLastEntry()