java.lang.Object | |
↳ | org.hibernate.engine.ActionQueue |
Responsible for maintaining the queue of actions related to events.
The ActionQueue holds the DML operations queued as part of a session's transactional-write-behind semantics. DML operations are queued here until a flush forces them to be executed against the database.Public Constructors | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
Constructs an action queue bound to the given session.
|
Public Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
Performs cleanup of any held cache softlocks.
| |||||||||||
Check whether any insertion or deletion actions are currently queued.
| |||||||||||
Check whether the given tables/query-spaces are to be executed against
given the currently queued actions.
| |||||||||||
Execute any registered
BeforeTransactionCompletionProcess
| |||||||||||
Used by the owning session to explicitly control deserialization of the
action queue
| |||||||||||
Perform all currently queued actions.
| |||||||||||
Perform all currently queued entity-insertion actions.
| |||||||||||
Prepares the internal action queues for execution.
| |||||||||||
Used by the owning session to explicitly control serialization of the
action queue
| |||||||||||
Returns a string representation of the object.
|
[Expand]
Inherited Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
From class
java.lang.Object
|
Constructs an action queue bound to the given session.
session | The session "owning" this queue. |
---|
Performs cleanup of any held cache softlocks.
success | Was the transaction successful. |
---|
Check whether any insertion or deletion actions are currently queued.
Check whether the given tables/query-spaces are to be executed against given the currently queued actions.
tables | The table/query-spaces to check. |
---|
Execute any registered BeforeTransactionCompletionProcess
Used by the owning session to explicitly control deserialization of the action queue
ois | The stream from which to read the action queue |
---|---|
session | The session to which the action queue belongs |
IOException | indicates a problem reading from the stream |
---|---|
ClassNotFoundException | Generally means we were unable to locate user classes. |
Perform all currently queued actions.
HibernateException | error executing queued actions. |
---|
Perform all currently queued entity-insertion actions.
HibernateException | error executing queued insertion actions. |
---|
Prepares the internal action queues for execution.
HibernateException | error preparing actions. |
---|
Used by the owning session to explicitly control serialization of the action queue
oos | The stream to which the action queue should get written |
---|
IOException | Indicates an error writing to the stream |
---|
Returns a string representation of the object.