Package org.elasticsearch.index.translog
Class Translog.Location
java.lang.Object
org.elasticsearch.index.translog.Translog.Location
- All Implemented Interfaces:
Comparable<Translog.Location>
- Enclosing class:
- Translog
-
Field Summary
Modifier and TypeFieldDescriptionfinal long
final int
final long
-
Constructor Summary
-
Method Summary
-
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
-
compareTo
- Specified by:
compareTo
in interfaceComparable<Translog.Location>
-
equals
-
hashCode
public int hashCode()
-