public static class RecoveryState.File extends Object implements ToXContent, Streamable
ToXContent.DelegatingMapParams, ToXContent.MapParams, ToXContent.ParamsEMPTY_PARAMS| 修飾子とタイプ | メソッドと説明 |
|---|---|
boolean |
equals(Object obj) |
int |
hashCode() |
long |
length()
file length *
|
String |
name()
file name *
|
static RecoveryState.File |
readFile(StreamInput in) |
void |
readFrom(StreamInput in) |
long |
recovered()
number of bytes recovered for this file (so far). 0 if the file is reused *
|
boolean |
reused()
returns true if the file is reused from a local copy
|
String |
toString() |
XContentBuilder |
toXContent(XContentBuilder builder,
ToXContent.Params params) |
void |
writeTo(StreamOutput out) |
public File()
public File(String name, long length, boolean reused)
public String name()
public long length()
public long recovered()
public boolean reused()
public static RecoveryState.File readFile(StreamInput in) throws IOException
IOExceptionpublic void readFrom(StreamInput in) throws IOException
readFrom インタフェース内 StreamableIOExceptionpublic void writeTo(StreamOutput out) throws IOException
writeTo インタフェース内 StreamableIOExceptionpublic XContentBuilder toXContent(XContentBuilder builder, ToXContent.Params params) throws IOException
toXContent インタフェース内 ToXContentIOExceptionCopyright © 2009–2016. All rights reserved.