public static class RecoveryState.Translog extends RecoveryState.Timer implements ToXContent, Streamable
ToXContent.DelegatingMapParams, ToXContent.MapParams, ToXContent.Params| 修飾子とタイプ | フィールドと説明 |
|---|---|
static int |
UNKNOWN |
startNanoTime, startTime, stopTime, timeEMPTY_PARAMS| コンストラクタと説明 |
|---|
Translog() |
| 修飾子とタイプ | メソッドと説明 |
|---|---|
void |
decrementRecoveredOperations(int ops) |
void |
incrementRecoveredOperations() |
void |
readFrom(StreamInput in) |
int |
recoveredOperations()
returns the total number of translog operations recovered so far
|
float |
recoveredPercent() |
void |
reset() |
int |
totalOperations()
returns the total number of translog operations needed to be recovered at this moment.
|
void |
totalOperations(int total) |
int |
totalOperationsOnStart()
returns the total number of translog operations to recovered, on the start of the recovery.
|
void |
totalOperationsOnStart(int total) |
XContentBuilder |
toXContent(XContentBuilder builder,
ToXContent.Params params) |
void |
writeTo(StreamOutput out) |
public static final int UNKNOWN
public void reset()
reset クラス内 RecoveryState.Timerpublic void incrementRecoveredOperations()
public void decrementRecoveredOperations(int ops)
public int recoveredOperations()
public int totalOperations()
A value of -1 (UNKNOWN is return if this is unknown (typically a gateway recovery)
public void totalOperations(int total)
public int totalOperationsOnStart()
totalOperations()
this does change during recovery.
A value of -1 (UNKNOWN is return if this is unknown (typically a gateway recovery)
public void totalOperationsOnStart(int total)
public float recoveredPercent()
public void readFrom(StreamInput in) throws IOException
readFrom インタフェース内 StreamablereadFrom クラス内 RecoveryState.TimerIOExceptionpublic void writeTo(StreamOutput out) throws IOException
writeTo インタフェース内 StreamablewriteTo クラス内 RecoveryState.TimerIOExceptionpublic XContentBuilder toXContent(XContentBuilder builder, ToXContent.Params params) throws IOException
toXContent インタフェース内 ToXContentIOExceptionCopyright © 2009–2016. All rights reserved.