public class TransactionSettings extends Object
TransactionExecutor.| Modifier and Type | Field and Description |
|---|---|
private TransactionIsolationLevel |
isolationLevel |
private Integer |
timeout |
| Constructor and Description |
|---|
TransactionSettings()
The constructor.
|
| Modifier and Type | Method and Description |
|---|---|
TransactionIsolationLevel |
getIsolationLevel()
This method gets the
isolation-level. |
Integer |
getTimeout()
This method gets the timeout.
|
void |
setIsolationLevel(TransactionIsolationLevel isolationLevel) |
void |
setTimeout(Integer timeout)
This method sets the
timeout. |
private TransactionIsolationLevel isolationLevel
getIsolationLevel()private Integer timeout
getTimeout()public TransactionIsolationLevel getIsolationLevel()
isolation-level.null to use the default.public void setIsolationLevel(TransactionIsolationLevel isolationLevel)
isolationLevel - is the isolationLevel to setpublic Integer getTimeout()
null for no timeout.Copyright © 2001–2016 mmm-Team. All rights reserved.