Package net.solarnetwork.central.dao
Enum Class BulkLoadingDao.LoadingTransactionMode
java.lang.Object
java.lang.Enum<BulkLoadingDao.LoadingTransactionMode>
net.solarnetwork.central.dao.BulkLoadingDao.LoadingTransactionMode
- All Implemented Interfaces:
Serializable,Comparable<BulkLoadingDao.LoadingTransactionMode>,Constable
- Enclosing interface:
BulkLoadingDao<T extends net.solarnetwork.dao.Entity<PK>,PK extends Serializable>
public static enum BulkLoadingDao.LoadingTransactionMode
extends Enum<BulkLoadingDao.LoadingTransactionMode>
Batch loading transaction mode.
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>> -
Enum Constant Summary
Enum ConstantsEnum ConstantDescriptionPerform batch-size level transactions.Load without any transaction.Perform the batch in a single transaction.Support transaction checkpoints, within an overall single transaction. -
Method Summary
Modifier and TypeMethodDescriptionReturns the enum constant of this class with the specified name.values()Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
SingleTransaction
Perform the batch in a single transaction. -
TransactionCheckpoints
Support transaction checkpoints, within an overall single transaction. -
BatchTransactions
Perform batch-size level transactions. -
NoTransaction
Load without any transaction.
-
-
Method Details
-
values
Returns an array containing the constants of this enum class, in the order they are declared.- Returns:
- an array containing the constants of this enum class, in the order they are declared
-
valueOf
Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (Extraneous whitespace characters are not permitted.)- Parameters:
name- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
IllegalArgumentException- if this enum class has no constant with the specified nameNullPointerException- if the argument is null
-