Class Location

    • Constructor Detail

      • Location

        public Location()
      • Location

        public Location​(Location item)
      • Location

        public Location​(int dataFileId,
                        int offset)
    • Method Detail

      • getSize

        public int getSize()
        Returns:
        the size of the data record including the header.
      • setSize

        public void setSize​(int size)
        Parameters:
        size - the size of the data record including the header.
      • getOffset

        public int getOffset()
      • setOffset

        public void setOffset​(int offset)
      • getDataFileId

        public int getDataFileId()
      • setDataFileId

        public void setDataFileId​(int file)
      • getType

        public byte getType()
      • setType

        public void setType​(byte type)
      • setBatch

        public void setBatch​(org.apache.activemq.store.kahadb.disk.journal.DataFileAppender.WriteBatch batch)
      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class Object