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

com.atomikos.recovery.xa.PreviousXidRepository Maven / Gradle / Ivy

There is a newer version: 6.0.0
Show newest version
/**
 * Copyright (C) 2000-2019 Atomikos 
 *
 * LICENSE CONDITIONS
 *
 * See http://www.atomikos.com/Main/WhichLicenseApplies for details.
 */

package com.atomikos.recovery.xa;

import java.util.List;

import com.atomikos.datasource.xa.XID;

public interface PreviousXidRepository {

	List findXidsExpiredAt(long startOfRecoveryScan);

	/**
	 * Remembers the given Xids for later. Xids that are already known are ignored.
	 * @param xidsToStoreForNextScan
	 * @param expiration
	 */
	void remember(List xidsToStoreForNextScan, long expiration);

	void forgetXidsExpiredAt(long startOfRecoveryScan);

}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy