Module org.elasticsearch.xcore
Class TransformCheckpointStats
java.lang.Object
org.elasticsearch.xpack.core.transform.transforms.TransformCheckpointStats
- All Implemented Interfaces:
Writeable,org.elasticsearch.xcontent.ToXContent,org.elasticsearch.xcontent.ToXContentObject
public class TransformCheckpointStats
extends Object
implements Writeable, org.elasticsearch.xcontent.ToXContentObject
Checkpoint stats data for 1 checkpoint
This is the user-facing side of TransformCheckpoint, containing only the stats to be exposed.
-
Nested Class Summary
Nested classes/interfaces inherited from interface org.elasticsearch.xcontent.ToXContent
org.elasticsearch.xcontent.ToXContent.DelegatingMapParams, org.elasticsearch.xcontent.ToXContent.MapParams, org.elasticsearch.xcontent.ToXContent.ParamsNested classes/interfaces inherited from interface org.elasticsearch.common.io.stream.Writeable
Writeable.Reader<V>, Writeable.Writer<V> -
Field Summary
FieldsFields inherited from interface org.elasticsearch.xcontent.ToXContent
EMPTY_PARAMS -
Constructor Summary
ConstructorsConstructorDescriptionTransformCheckpointStats(long checkpoint, TransformIndexerPosition position, TransformProgress checkpointProgress, long timestampMillis, long timeUpperBoundMillis) -
Method Summary
Modifier and TypeMethodDescriptionbooleanlonglonglonginthashCode()org.elasticsearch.xcontent.XContentBuildertoXContent(org.elasticsearch.xcontent.XContentBuilder builder, org.elasticsearch.xcontent.ToXContent.Params params) voidwriteTo(StreamOutput out) Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.elasticsearch.xcontent.ToXContentObject
isFragment
-
Field Details
-
EMPTY
-
-
Constructor Details
-
TransformCheckpointStats
public TransformCheckpointStats(long checkpoint, TransformIndexerPosition position, TransformProgress checkpointProgress, long timestampMillis, long timeUpperBoundMillis) -
TransformCheckpointStats
- Throws:
IOException
-
-
Method Details
-
getCheckpoint
public long getCheckpoint() -
getPosition
-
getCheckpointProgress
-
getTimestampMillis
public long getTimestampMillis() -
getTimeUpperBoundMillis
public long getTimeUpperBoundMillis() -
toXContent
public org.elasticsearch.xcontent.XContentBuilder toXContent(org.elasticsearch.xcontent.XContentBuilder builder, org.elasticsearch.xcontent.ToXContent.Params params) throws IOException - Specified by:
toXContentin interfaceorg.elasticsearch.xcontent.ToXContent- Throws:
IOException
-
writeTo
- Specified by:
writeToin interfaceWriteable- Throws:
IOException
-
hashCode
public int hashCode() -
equals
-