public class SnapshotStats extends Object implements Streamable, ToXContent
ToXContent.DelegatingMapParams, ToXContent.MapParams, ToXContent.ParamsEMPTY_PARAMS| 修飾子とタイプ | メソッドと説明 |
|---|---|
int |
getNumberOfFiles()
Returns number of files in the snapshot
|
int |
getProcessedFiles()
Returns number of files in the snapshot that were processed so far
|
long |
getProcessedSize()
Returns total size of files in the snapshot that were processed so far
|
long |
getStartTime()
Returns time when snapshot started
|
long |
getTime()
Returns snapshot running time
|
long |
getTotalSize()
Returns total size of files in the snapshot
|
void |
readFrom(StreamInput in) |
static SnapshotStats |
readSnapshotStats(StreamInput in) |
XContentBuilder |
toXContent(XContentBuilder builder,
ToXContent.Params params) |
void |
writeTo(StreamOutput out) |
public long getStartTime()
public long getTime()
public int getNumberOfFiles()
public int getProcessedFiles()
public long getTotalSize()
public long getProcessedSize()
public static SnapshotStats readSnapshotStats(StreamInput in) throws IOException
IOExceptionpublic void writeTo(StreamOutput out) throws IOException
writeTo インタフェース内 StreamableIOExceptionpublic void readFrom(StreamInput in) throws IOException
readFrom インタフェース内 StreamableIOExceptionpublic XContentBuilder toXContent(XContentBuilder builder, ToXContent.Params params) throws IOException
toXContent インタフェース内 ToXContentIOExceptionCopyright © 2009–2016. All rights reserved.