Class MergeChangeSetCommand

  • All Implemented Interfaces:
    java.io.Serializable

    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.

    See Also:
    Serialized Form
    Author:
    Steven Vo
    Since:
    OracleAS TopLink 10g (9.0.4)
    • Field Summary

      Fields 
      Modifier and Type Field Description
      protected org.eclipse.persistence.internal.sessions.UnitOfWorkChangeSet changeSet
      The changes to be applied remotely
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method 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
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Field Detail

      • changeSet

        protected org.eclipse.persistence.internal.sessions.UnitOfWorkChangeSet changeSet
        The changes to be applied remotely
    • Constructor Detail

      • MergeChangeSetCommand

        public MergeChangeSetCommand()
    • Method Detail

      • getChangeSet

        public org.eclipse.persistence.internal.sessions.UnitOfWorkChangeSet getChangeSet​(org.eclipse.persistence.internal.sessions.AbstractSession session)
        INTERNAL: Return the changes to be applied
      • setChangeSet

        public void setChangeSet​(org.eclipse.persistence.internal.sessions.UnitOfWorkChangeSet newChangeSet)
        INTERNAL: Set the changes to be applied
      • executeWithSession

        public 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. The session will be passed in for the command to use.
        Specified by:
        executeWithSession in class Command
        Parameters:
        session - The session that can be used to execute the command on.