@ Nullable public Long getExpireAfter ( final TimeUnit timeUnit ) { if ( expireAfterSeconds == null ) { return null ; } return timeUnit . convert ( expireAfterSeconds , TimeUnit . SECONDS ) ; }
Gets the time to live for documents in the collection