Class TranslogStats
java.lang.Object
co.elastic.clients.elasticsearch._types.TranslogStats
- All Implemented Interfaces:
JsonpSerializable
@JsonpDeserializable public final class TranslogStats extends java.lang.Object implements JsonpSerializable
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classTranslogStats.BuilderBuilder forTranslogStats. -
Field Summary
Fields Modifier and Type Field Description static JsonpDeserializer<TranslogStats>_DESERIALIZERJson deserializer forTranslogStats -
Constructor Summary
Constructors Constructor Description TranslogStats(TranslogStats.Builder builder)TranslogStats(java.util.function.Function<TranslogStats.Builder,TranslogStats.Builder> fn) -
Method Summary
Modifier and Type Method Description longearliestLastModifiedAge()Required - API name:earliest_last_modified_agelongoperations()Required - API name:operationsvoidserialize(jakarta.json.stream.JsonGenerator generator, JsonpMapper mapper)Serialize this object to JSON.protected voidserializeInternal(jakarta.json.stream.JsonGenerator generator, JsonpMapper mapper)protected static voidsetupTranslogStatsDeserializer(DelegatingDeserializer<TranslogStats.Builder> op)java.lang.Stringsize()API name:sizelongsizeInBytes()Required - API name:size_in_bytesintuncommittedOperations()Required - API name:uncommitted_operationsjava.lang.StringuncommittedSize()API name:uncommitted_sizelonguncommittedSizeInBytes()Required - API name:uncommitted_size_in_bytesMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Field Details
-
_DESERIALIZER
Json deserializer forTranslogStats
-
-
Constructor Details
-
TranslogStats
-
TranslogStats
-
-
Method Details
-
earliestLastModifiedAge
public long earliestLastModifiedAge()Required - API name:earliest_last_modified_age -
operations
public long operations()Required - API name:operations -
size
@Nullable public java.lang.String size()API name:size -
sizeInBytes
public long sizeInBytes()Required - API name:size_in_bytes -
uncommittedOperations
public int uncommittedOperations()Required - API name:uncommitted_operations -
uncommittedSize
@Nullable public java.lang.String uncommittedSize()API name:uncommitted_size -
uncommittedSizeInBytes
public long uncommittedSizeInBytes()Required - API name:uncommitted_size_in_bytes -
serialize
Serialize this object to JSON.- Specified by:
serializein interfaceJsonpSerializable
-
serializeInternal
-
setupTranslogStatsDeserializer
protected static void setupTranslogStatsDeserializer(DelegatingDeserializer<TranslogStats.Builder> op)
-