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 inputIOException
public void readFrom(StreamInput in) throws IOException
readFrom
in interface Streamable
IOException
public void writeTo(StreamOutput out) throws IOException
writeTo
in interface Streamable
IOException
Copyright © 2009–2016. All rights reserved.