Enum Class CommitStrategy
- All Implemented Interfaces:
Serializable
,Comparable<CommitStrategy>
,Constable
Deprecated.
This module will be discontinued, along with its classes and methods.
The strategy how the commitment of created, updated or deleted records is conducted after the execution of an
AbstractRemoteFunctionRequest
in the remote system.
For instance, after the invocation of a BAPI using BapiRequest
it may be required to invoke
BAPI_TRANSACTION_COMMIT in order to trigger the commitment in the remote system. This strategy decides if
BAPI_TRANSACTION_COMMIT is invoked and if so, whether its processing is executed synchronously or asynchronously.
- See Also:
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>>
-
Enum Constant Summary
Enum ConstantDescriptionDeprecated.The commitment in the remote system is triggered asynchronously.Deprecated.The commitment in the remote system is triggered synchronously.Deprecated.No commitment is triggered in the remote system. -
Method Summary
Modifier and TypeMethodDescriptionstatic CommitStrategy
Deprecated.Returns the enum constant of this class with the specified name.static CommitStrategy[]
values()
Deprecated.Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
NO_COMMIT
Deprecated.No commitment is triggered in the remote system. -
COMMIT_SYNC
Deprecated.The commitment in the remote system is triggered synchronously. That is, the methodAbstractRemoteFunctionRequest#execute()
returns after the commitment is finished in the remote system. If the commitment in the remote system failed, the methodAbstractRemoteFunctionRequest#execute()
throws anRemoteFunctionCommitFailedException
accordingly. -
COMMIT_ASYNC
Deprecated.The commitment in the remote system is triggered asynchronously. That is, the methodAbstractRemoteFunctionRequest#execute()
invokes the commitment in the remote system, but does not wait for its processing. Consequently, there is no means to find out if the commitment in the remote system was successful.
-
-
Method Details
-
values
Deprecated.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
Deprecated.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
-