Package com.qfs.plan

Interface IPartitionTransactionContent

    • Method Detail

      • getPartitionId

        int getPartitionId()
        The id of the partition this content belongs to.
        Returns:
        the id of the partition linked to this content
      • publishToListeners

        void publishToListeners​(Collection<? extends IAsyncCompositeSelectionListener> listeners,
                                CountedCompleter<?> parent)
        Publish this content to the listeners.

        This method will invoke a publication task in the pool attached to the partition. Make sure to call this method in the relevant pool to avoid potential deadlock.

        Parameters:
        listeners - the listeners to publish this content to.
        parent - parent completer to notify at the end of the publication