public static class Engine.CommitId extends Object implements Writeable
| Constructor and Description |
|---|
CommitId(byte[] id) |
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 CommitId(byte[] id)
public CommitId(StreamInput in) throws IOException
IOExceptionpublic Engine.CommitId readFrom(StreamInput in) throws IOException
StreamableReaderreadFrom in interface StreamableReaderIOExceptionpublic void writeTo(StreamOutput out) throws IOException
WriteablewriteTo in interface WriteableIOExceptionpublic boolean idsEqual(byte[] id)
Copyright © 2009–2016. All rights reserved.