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-2020 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 XID for later.
	 * @param xidToStoreForNextScan
	 * @param expiration
	 */
	void remember(XID xidToStoreForNextScan, long expiration);

	void forgetXidsExpiredAt(long startOfRecoveryScan);

    boolean isEmpty();

}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy