Class QueryIdGenerator


  • public class QueryIdGenerator
    extends Object
    • Constructor Detail

      • QueryIdGenerator

        public QueryIdGenerator()
    • Method Detail

      • getCoordinatorId

        public String getCoordinatorId()
      • createNextQueryId

        public QueryId createNextQueryId()
        Generate next queryId using the following format: YYYYMMDD_hhmmss_index_coordId

        index rolls at the start of every day or when it is close to reaching 99,999. coordId is a randomly generated when this instance is created.

      • nowInMillis

        protected long nowInMillis()