Class TtlIndexOptions

    • Constructor Detail

      • TtlIndexOptions

        public TtlIndexOptions()
    • Method Detail

      • 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()