Writeable.Reader<V>, Writeable.Writer<V>| Constructor and Description |
|---|
Snapshot(StreamInput in)
Constructs a snapshot from the stream input.
|
Snapshot(java.lang.String repository,
SnapshotId snapshotId)
Constructs a snapshot.
|
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(java.lang.Object o) |
java.lang.String |
getRepository()
Gets the repository name for the snapshot.
|
SnapshotId |
getSnapshotId()
Gets the snapshot id for the snapshot.
|
int |
hashCode() |
java.lang.String |
toString() |
void |
writeTo(StreamOutput out)
Write this into the StreamOutput.
|
public Snapshot(java.lang.String repository,
SnapshotId snapshotId)
public Snapshot(StreamInput in) throws java.io.IOException
java.io.IOExceptionpublic java.lang.String getRepository()
public SnapshotId getSnapshotId()
public java.lang.String toString()
toString in class java.lang.Objectpublic boolean equals(java.lang.Object o)
equals in class java.lang.Objectpublic int hashCode()
hashCode in class java.lang.Objectpublic void writeTo(StreamOutput out) throws java.io.IOException
Writeable