Class JournalLoadInformation
- java.lang.Object
-
- org.apache.activemq.artemis.core.journal.JournalLoadInformation
-
public class JournalLoadInformation extends java.lang.ObjectThis is a POJO containing information about the journal during load time.
-
-
Constructor Summary
Constructors Constructor Description JournalLoadInformation()JournalLoadInformation(int numberOfRecords, long maxID)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanequals(java.lang.Object obj)longgetMaxID()intgetNumberOfRecords()inthashCode()voidsetMaxID(long maxID)voidsetNumberOfRecords(int numberOfRecords)java.lang.StringtoString()
-
-
-
Method Detail
-
getNumberOfRecords
public int getNumberOfRecords()
- Returns:
- the numberOfRecords
-
setNumberOfRecords
public void setNumberOfRecords(int numberOfRecords)
- Parameters:
numberOfRecords- the numberOfRecords to set
-
getMaxID
public long getMaxID()
- Returns:
- the maxID
-
setMaxID
public void setMaxID(long maxID)
- Parameters:
maxID- the maxID to set
-
hashCode
public int hashCode()
- Overrides:
hashCodein classjava.lang.Object
-
equals
public boolean equals(java.lang.Object obj)
- Overrides:
equalsin classjava.lang.Object
-
toString
public java.lang.String toString()
- Overrides:
toStringin classjava.lang.Object
-
-