Module org.eclipse.persistence.core
Class MergeChangeSetCommand
java.lang.Object
org.eclipse.persistence.sessions.coordination.Command
org.eclipse.persistence.sessions.coordination.MergeChangeSetCommand
- All Implemented Interfaces:
Serializable
Purpose: Provide a remote command implementation for remote cache merges of changes.
Description: This command provides the implementation for cache synchronization using RCM.
- Since:
- OracleAS TopLink 10g (9.0.4)
- See Also:
-
Field Summary
Modifier and TypeFieldDescriptionprotected UnitOfWorkChangeSet
The changes to be applied remotely -
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
executeWithSession
(AbstractSession session) INTERNAL: This method will be invoked by the RCM only when the CommandProcessor is a TopLink session.getChangeSet
(AbstractSession session) INTERNAL: Return the changes to be appliedvoid
setChangeSet
(UnitOfWorkChangeSet newChangeSet) INTERNAL: Set the changes to be appliedMethods inherited from class org.eclipse.persistence.sessions.coordination.Command
getServiceId, isInternalCommand, setServiceId
-
Field Details
-
changeSet
The changes to be applied remotely
-
-
Constructor Details
-
MergeChangeSetCommand
public MergeChangeSetCommand()
-
-
Method Details
-
getChangeSet
INTERNAL: Return the changes to be applied -
setChangeSet
INTERNAL: Set the changes to be applied -
executeWithSession
INTERNAL: This method will be invoked by the RCM only when the CommandProcessor is a TopLink session. The session will be passed in for the command to use.- Specified by:
executeWithSession
in classCommand
- Parameters:
session
- The session that can be used to execute the command on.
-