Annotation Type | Description |
---|---|
LockFree |
No locks will be obtained on this method, though
any transaction context will still be on the thread.
|
Nested |
Defines that the container will create a new transaction
for each method invocation, regardless of whether there is
already a transaction associated with the caller.
|
NestedTopLevel |
Defines that the container will create a new transaction
for each method invocation, regardless of whether there is
already a transaction associated with the caller.
|
NotState |
Marks member variables that should not be saved/restored during a transaction.
|
Optimistic |
Use optimistic concurrency control.
|
Pessimistic |
Specifies that pessimistic concurrency control
should be used.
|
ReadLock |
Grab a read lock for this method.
|
RestoreState |
Used to define the specific restore_state method for the class.
|
Retry |
If pessimistic concurrency control is being used then a conflict will
immediately cause the operation to fail and the application can do something
else.
|
SaveState |
Used to define the specific save_state method for the class.
|
State |
State that will be written to the log (or restored).
|
Timeout |
If pessimistic concurrency control is being used then a conflict will
immediately cause the operation to fail and the application can do something
else.
|
Transactional |
Defines that implementations of the interface are to be managed within a transactional
container.
|
TransactionFree |
Means that the method is not transactional, so no context on
the thread or locks acquired/released.
|
WriteLock |
Grab a write lock for this method.
|
Copyright © 2021 JBoss by Red Hat. All rights reserved.