Show / Hide Table of Contents

# Class TransactionConfiguration

Transactions configuration.

##### Inheritance

System.Object
TransactionConfiguration

##### Inherited Members

System.Object.ToString()
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()

###### Namespace: Apache.Ignite.Core.Transactions

###### Assembly: Apache.Ignite.Core.dll

##### Syntax

    public class TransactionConfiguration

### Constructors

#### TransactionConfiguration()

Initializes a new instance of the TransactionConfiguration class.

##### Declaration

    public TransactionConfiguration()

### Fields

#### DefaultDeadlockTimeout

The default value for DeadlockTimeout

##### Declaration

    public static readonly TimeSpan DefaultDeadlockTimeout

##### Field Value

Type | Description
--- | ---
System.TimeSpan |

#### DefaultDefaultTimeout

The default value for DefaultTransactionIsolation property.

##### Declaration

    public static readonly TimeSpan DefaultDefaultTimeout

##### Field Value

Type | Description
--- | ---
System.TimeSpan |

#### DefaultDefaultTimeoutOnPartitionMapExchange

The default value for DefaultTimeoutOnPartitionMapExchange

##### Declaration

    public static readonly TimeSpan DefaultDefaultTimeoutOnPartitionMapExchange

##### Field Value

Type | Description
--- | ---
System.TimeSpan |

#### DefaultDefaultTransactionConcurrency

The default value for DefaultTransactionConcurrency property.

##### Declaration

    public const TransactionConcurrency DefaultDefaultTransactionConcurrency = TransactionConcurrency.Pessimistic

##### Field Value

Type | Description
--- | ---
TransactionConcurrency |

#### DefaultDefaultTransactionIsolation

The default value for DefaultTransactionIsolation property.

##### Declaration

    public const TransactionIsolation DefaultDefaultTransactionIsolation = TransactionIsolation.RepeatableRead

##### Field Value

Type | Description
--- | ---
TransactionIsolation |

#### DefaultPessimisticTransactionLogLinger

The default value for PessimisticTransactionLogLinger property.

##### Declaration

    public static readonly TimeSpan DefaultPessimisticTransactionLogLinger

##### Field Value

Type | Description
--- | ---
System.TimeSpan |

#### DefaultPessimisticTransactionLogSize

The default value for PessimisticTransactionLogSize property.

##### Declaration

    public const int DefaultPessimisticTransactionLogSize = 0

##### Field Value

Type | Description
--- | ---
System.Int32 |

### Properties

#### DeadlockTimeout

This is an experimental feature. Transactional SQL is currently in a beta status.

Gets or sets timeout before starting deadlock detection for caches configured with

    TransactionalSnapshot

cache atomicity mode.

System.TimeSpan.Zero for disabling deadlock detection.

##### Declaration

    public TimeSpan DeadlockTimeout { get; set; }

##### Property Value

Type | Description
--- | ---
System.TimeSpan |

#### DefaultTimeout

Gets or sets the cache transaction timeout to use when one is not explicitly specified. System.TimeSpan.Zero for infinite timeout.

##### Declaration

    public TimeSpan DefaultTimeout { get; set; }

##### Property Value

Type | Description
--- | ---
System.TimeSpan |

#### DefaultTimeoutOnPartitionMapExchange

Gets or sets transaction timeout for partition map synchronization. System.TimeSpan.Zero for infinite timeout.

##### Declaration

    public TimeSpan DefaultTimeoutOnPartitionMapExchange { get; set; }

##### Property Value

Type | Description
--- | ---
System.TimeSpan |

#### DefaultTransactionConcurrency

Gets or sets the cache transaction concurrency to use when one is not explicitly specified.

##### Declaration

    public TransactionConcurrency DefaultTransactionConcurrency { get; set; }

##### Property Value

Type | Description
--- | ---
TransactionConcurrency |

#### DefaultTransactionIsolation

Gets or sets the cache transaction isolation to use when one is not explicitly specified.

##### Declaration

    public TransactionIsolation DefaultTransactionIsolation { get; set; }

##### Property Value

Type | Description
--- | ---
TransactionIsolation |

#### PessimisticTransactionLogLinger

Gets or sets the delay after which pessimistic recovery entries will be cleaned up for failed node.

##### Declaration

    public TimeSpan PessimisticTransactionLogLinger { get; set; }

##### Property Value

Type | Description
--- | ---
System.TimeSpan |

#### PessimisticTransactionLogSize

Gets or sets the size of pessimistic transactions log stored on node in order to recover transaction commit if originating node has left grid before it has sent all messages to transaction nodes.

    0

for unlimited.

##### Declaration

    public int PessimisticTransactionLogSize { get; set; }

##### Property Value

Type | Description
--- | ---
System.Int32 |