Interface MessageWriteSet


  • public interface MessageWriteSet
    The message set that needs to be written to a write interface
    • Method Detail

      • writeTo

        long writeTo​(Write writeChannel)
              throws StoreException
        Write the messages in this set to the given write channel
        Parameters:
        writeChannel - The write interface to write the messages to
        Returns:
        The size in bytes that was written to the write interface
        Throws:
        StoreException
      • getMessageSetInfo

        java.util.List<MessageInfo> getMessageSetInfo()
        Returns info about the messages contained in this write set. The messages need not be ordered in any specific format
        Returns:
        The list of message info about the message set