Class TtlIndexOptions


public final class TtlIndexOptions extends IndexOptions<TtlIndexOptions>
Author:
Heiko Kernbach
  • Constructor Details

    • TtlIndexOptions

      public TtlIndexOptions()
  • Method Details

    • getFields

      public Iterable<String> getFields()
    • getType

      public IndexType getType()
    • expireAfter

      public TtlIndexOptions expireAfter(Integer expireAfter)
      Parameters:
      expireAfter - The time (in seconds) after a document’s creation after which the documents count as “expired”.
      Returns:
      options
    • getExpireAfter

      public Integer getExpireAfter()