Package org.elasticsearch.index.translog
Class Translog.NoOp
- java.lang.Object
-
- org.elasticsearch.index.translog.Translog.NoOp
-
- All Implemented Interfaces:
Translog.Operation
- Enclosing class:
- Translog
public static class Translog.NoOp extends java.lang.Object implements Translog.Operation
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from interface org.elasticsearch.index.translog.Translog.Operation
Translog.Operation.Type
-
-
Constructor Summary
Constructors Constructor Description NoOp(long seqNo, long primaryTerm, java.lang.String reason)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
equals(java.lang.Object obj)
long
estimateSize()
Translog.Source
getSource()
int
hashCode()
Translog.Operation.Type
opType()
long
primaryTerm()
java.lang.String
reason()
long
seqNo()
java.lang.String
toString()
-
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface org.elasticsearch.index.translog.Translog.Operation
-
-
-
-
Method Detail
-
seqNo
public long seqNo()
- Specified by:
seqNo
in interfaceTranslog.Operation
-
primaryTerm
public long primaryTerm()
- Specified by:
primaryTerm
in interfaceTranslog.Operation
-
reason
public java.lang.String reason()
-
opType
public Translog.Operation.Type opType()
- Specified by:
opType
in interfaceTranslog.Operation
-
estimateSize
public long estimateSize()
- Specified by:
estimateSize
in interfaceTranslog.Operation
-
getSource
public Translog.Source getSource()
- Specified by:
getSource
in interfaceTranslog.Operation
-
equals
public boolean equals(java.lang.Object obj)
- Overrides:
equals
in classjava.lang.Object
-
hashCode
public int hashCode()
- Overrides:
hashCode
in classjava.lang.Object
-
toString
public java.lang.String toString()
- Overrides:
toString
in classjava.lang.Object
-
-