public static class Translog.NoOp extends java.lang.Object implements Translog.Operation
Translog.Operation.Type
Writeable.Reader<V>, Writeable.Writer<V>
Constructor and Description |
---|
NoOp(long seqNo,
long primaryTerm,
java.lang.String reason) |
Modifier and Type | Method and 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() |
void |
writeTo(StreamOutput out)
Write this into the StreamOutput.
|
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
readType, writeType
public long seqNo()
seqNo
in interface Translog.Operation
public long primaryTerm()
primaryTerm
in interface Translog.Operation
public java.lang.String reason()
public void writeTo(StreamOutput out) throws java.io.IOException
Writeable
public Translog.Operation.Type opType()
opType
in interface Translog.Operation
public long estimateSize()
estimateSize
in interface Translog.Operation
public Translog.Source getSource()
getSource
in interface Translog.Operation
public boolean equals(java.lang.Object obj)
equals
in class java.lang.Object
public int hashCode()
hashCode
in class java.lang.Object
public java.lang.String toString()
toString
in class java.lang.Object