public synchronized void init(){
  init=true;
  for (  String mapName : store.getMapNames()) {
    if (mapName.startsWith("temp.")) {
      MVMap<Object,Integer> temp=openTempMap(mapName);
      store.removeMap(temp);
    }
  }
synchronized (undoLog) {
    if (undoLog.size() > 0) {
      for (      Long key : undoLog.keySet()) {
        int transactionId=getTransactionId(key);
        openTransactions.set(transactionId);
      }
    }
  }
}

public synchronized void init ( ) { init = true ; for ( String mapName : store . getMapNames ( ) ) { if ( mapName . startsWith ( "temp." ) ) { MVMap < Object , Integer > temp = openTempMap ( mapName ) ; store . removeMap ( temp ) ; } } synchronized ( undoLog ) { if ( undoLog . size ( ) > 0 ) { for ( Long key : undoLog . keySet ( ) ) { int transactionId = getTransactionId ( key ) ; openTransactions . set ( transactionId ) ; } } } }
initialize the store . this is needed before a transaction can be opened . if the transaction store is corrupt , this method can throw an exception , in which case the store can only be used for reading .
