public class SnapshotId extends Object implements Streamable
| Constructor and Description |
|---|
SnapshotId(String repository,
String snapshot)
Constructs new snapshot id
|
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object o) |
String |
getRepository()
Returns repository name
|
String |
getSnapshot()
Returns snapshot name
|
int |
hashCode() |
void |
readFrom(StreamInput in) |
static SnapshotId |
readSnapshotId(StreamInput in)
Reads snapshot id from stream input
|
String |
toString() |
void |
writeTo(StreamOutput out) |
public String getRepository()
public String getSnapshot()
public static SnapshotId readSnapshotId(StreamInput in) throws IOException
in - stream inputIOExceptionpublic void readFrom(StreamInput in) throws IOException
readFrom in interface StreamableIOExceptionpublic void writeTo(StreamOutput out) throws IOException
writeTo in interface StreamableIOExceptionCopyright © 2009–2017. All rights reserved.