Class TranslogStats
java.lang.Object
co.elastic.clients.elasticsearch._types.TranslogStats
- All Implemented Interfaces:
JsonpSerializable
@JsonpDeserializable public class TranslogStats extends java.lang.Object implements JsonpSerializable
- See Also:
- API specification
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
TranslogStats.Builder
Builder forTranslogStats
. -
Field Summary
Fields Modifier and Type Field Description static JsonpDeserializer<TranslogStats>
_DESERIALIZER
Json deserializer forTranslogStats
-
Method Summary
Modifier and Type Method Description long
earliestLastModifiedAge()
Required - API name:earliest_last_modified_age
static TranslogStats
of(java.util.function.Function<TranslogStats.Builder,ObjectBuilder<TranslogStats>> fn)
long
operations()
Required - API name:operations
void
serialize(jakarta.json.stream.JsonGenerator generator, JsonpMapper mapper)
Serialize this object to JSON.protected void
serializeInternal(jakarta.json.stream.JsonGenerator generator, JsonpMapper mapper)
protected static void
setupTranslogStatsDeserializer(ObjectDeserializer<TranslogStats.Builder> op)
java.lang.String
size()
API name:size
long
sizeInBytes()
Required - API name:size_in_bytes
java.lang.String
toString()
int
uncommittedOperations()
Required - API name:uncommitted_operations
java.lang.String
uncommittedSize()
API name:uncommitted_size
long
uncommittedSizeInBytes()
Required - API name:uncommitted_size_in_bytes
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
-
Field Details
-
_DESERIALIZER
Json deserializer forTranslogStats
-
-
Method Details
-
of
public static TranslogStats of(java.util.function.Function<TranslogStats.Builder,ObjectBuilder<TranslogStats>> fn) -
earliestLastModifiedAge
public final long earliestLastModifiedAge()Required - API name:earliest_last_modified_age
-
operations
public final long operations()Required - API name:operations
-
size
@Nullable public final java.lang.String size()API name:size
-
sizeInBytes
public final long sizeInBytes()Required - API name:size_in_bytes
-
uncommittedOperations
public final int uncommittedOperations()Required - API name:uncommitted_operations
-
uncommittedSize
@Nullable public final java.lang.String uncommittedSize()API name:uncommitted_size
-
uncommittedSizeInBytes
public final long uncommittedSizeInBytes()Required - API name:uncommitted_size_in_bytes
-
serialize
Serialize this object to JSON.- Specified by:
serialize
in interfaceJsonpSerializable
-
serializeInternal
-
toString
public java.lang.String toString()- Overrides:
toString
in classjava.lang.Object
-
setupTranslogStatsDeserializer
-