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.
| Constructor and Description |
|---|
MergeChangeSetCommand() |
| Modifier and Type | Method and Description |
|---|---|
boolean |
convertChangeSetToByteArray(org.eclipse.persistence.internal.sessions.AbstractSession session)
INTERNAL: Custom serialize this change set by converting it to a byte array.
|
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, setServiceIdpublic 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 boolean convertChangeSetToByteArray(org.eclipse.persistence.internal.sessions.AbstractSession session)
throws java.io.IOException
java.io.IOExceptionpublic void executeWithSession(org.eclipse.persistence.internal.sessions.AbstractSession session)
executeWithSession in class Commandsession - The session that can be used to execute the command on.