public static class Engine.CommitId extends Object implements Writeable
Constructor and Description |
---|
Engine.CommitId(byte[] id) |
Engine.CommitId(StreamInput in) |
Modifier and Type | Method and Description |
---|---|
boolean |
equals(Object o) |
int |
hashCode() |
boolean |
idsEqual(byte[] id) |
Engine.CommitId |
readFrom(StreamInput in)
Reads a copy of an object with the same type form the stream input
The caller object remains unchanged.
|
String |
toString() |
void |
writeTo(StreamOutput out)
Writes the current object into the output stream out
|
public Engine.CommitId(byte[] id)
public Engine.CommitId(StreamInput in) throws IOException
IOException
public Engine.CommitId readFrom(StreamInput in) throws IOException
StreamableReader
readFrom
in interface StreamableReader
IOException
public void writeTo(StreamOutput out) throws IOException
Writeable
writeTo
in interface Writeable
IOException
public boolean idsEqual(byte[] id)
Copyright © 2009–2017. All rights reserved.