Class TransactionOptions

java.lang.Object
com.hazelcast.transaction.TransactionOptions
All Implemented Interfaces:
DataSerializable

public final class TransactionOptions extends Object implements DataSerializable
Contains the configuration for a Hazelcast transaction.
  • Field Details

    • DEFAULT_TIMEOUT_MILLIS

      public static final long DEFAULT_TIMEOUT_MILLIS
      2 minutes as default timeout value
  • Constructor Details

    • TransactionOptions

      public TransactionOptions()
      Creates a new default configured TransactionsOptions.

      It will be configured with a timeout of 2 minutes, durability of 1 and a TransactionType.TWO_PHASE.

  • Method Details