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

org.multiverse.api.TransactionStatus Maven / Gradle / Ivy

There is a newer version: 0.7.0
Show newest version
package org.multiverse.api;

/**
 * An enumeration containing the different states a {@link Transaction} can be in. Every
 * transaction begins with the active status. If the transaction committed successfully, the status
 * will change to committed. Or when it is is aborted, the status will change to aborted.
 *
 * @author Peter Veentjer.
 * @see Transaction#getStatus()
 */
public enum TransactionStatus {

    active, committed, aborted
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy