com.atomikos.recovery.imp
Class InMemoryRepository
java.lang.Object
com.atomikos.recovery.imp.InMemoryRepository
- All Implemented Interfaces:
- Repository
public class InMemoryRepository
- extends Object
- implements Repository
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
InMemoryRepository
public InMemoryRepository()
init
public void init()
- Specified by:
init in interface Repository
put
public void put(String id,
CoordinatorLogEntry coordinatorLogEntry)
throws IllegalArgumentException
- Specified by:
put in interface Repository
- Throws:
IllegalArgumentException
get
public CoordinatorLogEntry get(String coordinatorId)
- Specified by:
get in interface Repository
findAllCommittingCoordinatorLogEntries
public Collection<CoordinatorLogEntry> findAllCommittingCoordinatorLogEntries()
- Specified by:
findAllCommittingCoordinatorLogEntries in interface Repository
close
public void close()
- Specified by:
close in interface Repository
getAllCoordinatorLogEntries
public Collection<CoordinatorLogEntry> getAllCoordinatorLogEntries()
- Specified by:
getAllCoordinatorLogEntries in interface Repository
writeCheckpoint
public void writeCheckpoint(Collection<CoordinatorLogEntry> checkpointContent)
- Specified by:
writeCheckpoint in interface Repository
isClosed
public boolean isClosed()
Copyright © 2016. All Rights Reserved.