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 reaches 99,999, and the coordId is a randomly generated when this instance is created.

      • nowInMillis

        protected long nowInMillis()