public class MergeChangeSetCommand extends Command
Purpose: Provide a remote command implementation for remote cache merges of changes.
Description: This command provides the implementation for cache synchronization using RCM.
Modifier and Type | Field and Description |
---|---|
protected org.eclipse.persistence.internal.sessions.UnitOfWorkChangeSet |
changeSet
The changes to be applied remotely
|
Constructor and Description |
---|
MergeChangeSetCommand() |
Modifier and Type | Method and Description |
---|---|
void |
executeWithSession(org.eclipse.persistence.internal.sessions.AbstractSession session)
INTERNAL:
This method will be invoked by the RCM only when the CommandProcessor is a
TopLink session.
|
org.eclipse.persistence.internal.sessions.UnitOfWorkChangeSet |
getChangeSet(org.eclipse.persistence.internal.sessions.AbstractSession session)
INTERNAL:
Return the changes to be applied
|
void |
setChangeSet(org.eclipse.persistence.internal.sessions.UnitOfWorkChangeSet newChangeSet)
INTERNAL:
Set the changes to be applied
|
getServiceId, isInternalCommand, setServiceId
protected org.eclipse.persistence.internal.sessions.UnitOfWorkChangeSet changeSet
public org.eclipse.persistence.internal.sessions.UnitOfWorkChangeSet getChangeSet(org.eclipse.persistence.internal.sessions.AbstractSession session)
public void setChangeSet(org.eclipse.persistence.internal.sessions.UnitOfWorkChangeSet newChangeSet)
public void executeWithSession(org.eclipse.persistence.internal.sessions.AbstractSession session)
executeWithSession
in class Command
session
- The session that can be used to execute the command on.