Class TimeRoutedAlias

    • Constructor Detail

    • Method Detail

      • parseInstantFromCollectionName

        public static Instant parseInstantFromCollectionName​(String aliasName,
                                                             String collection)
      • formatCollectionNameFromInstant

        public static String formatCollectionNameFromInstant​(String aliasName,
                                                             Instant timestamp)
      • getAliasName

        public String getAliasName()
      • getRouteField

        public String getRouteField()
      • getIntervalMath

        public String getIntervalMath()
      • getMaxFutureMs

        public long getMaxFutureMs()
      • getPreemptiveCreateWindow

        public String getPreemptiveCreateWindow()
      • getAutoDeleteAgeMath

        public String getAutoDeleteAgeMath()
      • getTimeZone

        public TimeZone getTimeZone()
      • computeNextCollTimestamp

        public Instant computeNextCollTimestamp​(Instant fromTimestamp)
        Computes the timestamp of the next collection given the timestamp of the one before.