Class LogPartition


  • public class LogPartition
    extends Object
    A tuple to store a Log name and the partition index.
    Since:
    9.3
    • Field Detail

      • name

        protected final Name name
      • partition

        protected final int partition
    • Constructor Detail

      • LogPartition

        public LogPartition​(Name name,
                            int partition)
    • Method Detail

      • name

        public Name name()
        Returns the Log's name
      • partition

        public int partition()
        Returns the partition index.
      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class Object