Class MemoryJournal.MemoryRecord

  • Enclosing class:
    MemoryJournal

    public static class MemoryJournal.MemoryRecord
    extends Object
    Memory record.
    • Constructor Detail

      • MemoryRecord

        public MemoryRecord​(String journalId,
                            String producerId,
                            byte[] data)
        Create a new instance of this class
        Parameters:
        journalId - journal id
        producerId - producer id
        data - data
    • Method Detail

      • getJournalId

        public String getJournalId()
        Return the journal id.
        Returns:
        the journal id
      • getProducerId

        public String getProducerId()
        Return the producer id.
        Returns:
        the producer id
      • getData

        public byte[] getData()
        Return the data.
        Returns:
        data