All Implemented Interfaces:

public class ShardLease
extends java.lang.Object
implements JsonpSerializable
See Also:
API specification
  • Field Details

  • Method Details

    • of

      public static ShardLease of​(java.util.function.Function<ShardLease.Builder,​ObjectBuilder<ShardLease>> fn)
    • id

      public final java.lang.String id()
      Required - API name: id
    • retainingSeqNo

      public final long retainingSeqNo()
      Required - API name: retaining_seq_no
    • timestamp

      public final long timestamp()
      Required - API name: timestamp
    • source

      public final java.lang.String source()
      Required - API name: source
    • serialize

      public void serialize​( generator, JsonpMapper mapper)
      Serialize this object to JSON.
      Specified by:
      serialize in interface JsonpSerializable
    • serializeInternal

      protected void serializeInternal​( generator, JsonpMapper mapper)
    • setupShardLeaseDeserializer

      protected static void setupShardLeaseDeserializer​(ObjectDeserializer<ShardLease.Builder> op)