| 
 | EclipseLink 1.1.4, build 'v20100812-r7860' API Reference | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.eclipse.persistence.sessions.coordination.Command
org.eclipse.persistence.sessions.coordination.MergeChangeSetCommand
public class MergeChangeSetCommand
Purpose: Provide a remote command implementation for remote cache merges of changes.
Description: This command provides the implementation for cache synchronization using RCM.
| Field Summary | |
|---|---|
| protected  org.eclipse.persistence.internal.sessions.UnitOfWorkChangeSet | changeSetThe changes to be applied remotely | 
| protected  byte[] | changeSetBytes | 
| Constructor Summary | |
|---|---|
| MergeChangeSetCommand() | |
| Method Summary | |
|---|---|
|  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 | 
| Methods inherited from class org.eclipse.persistence.sessions.coordination.Command | 
|---|
| getServiceId, isInternalCommand, setServiceId | 
| Methods inherited from class java.lang.Object | 
|---|
| clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait | 
| Field Detail | 
|---|
protected transient org.eclipse.persistence.internal.sessions.UnitOfWorkChangeSet changeSet
protected byte[] changeSetBytes
| Constructor Detail | 
|---|
public MergeChangeSetCommand()
| Method Detail | 
|---|
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 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.| 
 | EclipseLink 1.1.4, build 'v20100812-r7860' API Reference | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||