Interface IDistributedActivePivotTransaction

    • Method Detail

      • onInitialRemoteCommit

        void onInitialRemoteCommit​(List<? extends IDimension<? extends IHierarchy>> contributionsDelta,
                                   IEpoch epoch,
                                   long viewId,
                                   String remoteAddress,
                                   String applicationId,
                                   String remotePivotId,
                                   Properties properties)
                            throws MergeException
        Merges the delta dimensions from a remote instance's initial commit into the underlying IDistributedActivePivot's cube's main dimensions and notify the listeners.
        Parameters:
        contributionsDelta - The remote contributions
        epoch - The epoch associated with these delta dimensions on the remote pivot.
        viewId - The ID of the view associated with this commit
        remoteAddress - The address of the remote instance responsible for this commit
        applicationId - The application to which the remote instance belongs
        remotePivotId - The ID of the remote pivot instance responsible for this commit
        properties - The properties
        Throws:
        MergeException - if an exception is encountered during the transaction
      • removeMembersFromCube

        void removeMembersFromCube​(Set<String> membersToRemove,
                                   long viewId,
                                   boolean discard)
                            throws MergeException
        Removes all the contributions from the cluster members membersToRemove and notify the listeners.
        Parameters:
        membersToRemove - The addresses of the cluster members to remove
        viewId - The ID of the view associated with this removal
        discard - True to remove all contributions from the given remote instances.
        Throws:
        MergeException - if an exception is encountered during the transaction