org.apache.jackrabbit.core.journal
Class MemoryJournal.MemoryRecord

java.lang.Object
  extended by org.apache.jackrabbit.core.journal.MemoryJournal.MemoryRecord
Enclosing class:
MemoryJournal

public class MemoryJournal.MemoryRecord
extends Object

Memory record.


Constructor Summary
MemoryJournal.MemoryRecord(String journalId, String producerId, byte[] data)
          Create a new instance of this class
 
Method Summary
 byte[] getData()
          Return the data.
 String getJournalId()
          Return the journal id.
 String getProducerId()
          Return the producer id.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

MemoryJournal.MemoryRecord

public MemoryJournal.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


Copyright © 2004-2010 The Apache Software Foundation. All Rights Reserved.