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