Class Translog.Location

org.elasticsearch.index.translog.Translog.Location
All Implemented Interfaces:
<Translog.Location>
Enclosing class:
Translog

public static class Translog.Location extends implements <Translog.Location>
  • Field Summary

    Fields
    Modifier and Type
    Field
    Description
    long
     
    int
     
    long
     
  • Constructor Summary

    Constructors
    Constructor
    Description
    Location​(long generation, long translogLocation, int size)
     
  • Method Summary

    Modifier and Type
    Method
    Description
    int
     
    boolean
     o)
     
    int
     
     

    Methods inherited from class java.lang.

    , , , , , , ,
  • Field Details

    • generation

      public final long generation
    • translogLocation

      public final long translogLocation
    • size

      public final int size
  • Constructor Details

    • Location

      public Location(long generation, long translogLocation, int size)
  • Method Details

    • toString

      public  toString()
      Overrides:
       in class 
    • compareTo

      public int compareTo(Translog.Location o)
      Specified by:
       in interface <Translog.Location>
    • equals

      public boolean equals( o)
      Overrides:
       in class 
    • hashCode

      public int hashCode()
      Overrides:
       in class