All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.atomikos.recovery.fs.Repository Maven / Gradle / Ivy

/**
 * Copyright (C) 2000-2019 Atomikos 
 *
 * LICENSE CONDITIONS
 *
 * See http://www.atomikos.com/Main/WhichLicenseApplies for details.
 */

package com.atomikos.recovery.fs;

import java.util.Collection;

import com.atomikos.recovery.LogException;
import com.atomikos.recovery.LogReadException;
import com.atomikos.recovery.LogWriteException;
import com.atomikos.recovery.PendingTransactionRecord;

public interface Repository {

	void init() throws LogException;

	void put(String id,PendingTransactionRecord pendingTransactionRecord) throws LogWriteException;
	
	PendingTransactionRecord get(String coordinatorId) throws LogReadException;

	Collection findAllCommittingCoordinatorLogEntries() throws LogReadException;
	
	Collection getAllCoordinatorLogEntries() throws LogReadException;

	void writeCheckpoint(Collection checkpointContent) throws LogWriteException;
	
	void close();
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy