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

com.atomikos.icatch.Propagation Maven / Gradle / Ivy

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

package com.atomikos.icatch;

import java.util.Stack;

/**
 * Information about the transaction context that can be 
 * shipped along with remote request, to make the other side
 * participate in the transaction present for the current thread in this VM.
 */

public interface Propagation extends java.io.Serializable 
{
    /**
     * Gets the ancestor information as a stack.
     *
     * @return Stack The ancestor transactions.
     */

     Stack getLineage();
    
    /**
     *
     * @return boolean True if serial mode was set.
     */
    
     boolean isSerial();
    
    
     /**
      *
      *@return long The time left before timeout, in millis.
      */
      
     long getTimeOut();
    
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy