Example #1
0
        internal override IDictionary <string, object> ToMap(long currentTimeNanos)
        {
            IDictionary <string, object> map = new Dictionary <string, object>();

            map["queryId"]        = "query-" + _query.internalQueryId();
            map["waitTimeMillis"] = TimeUnit.NANOSECONDS.toMillis(WaitTimeNanos(currentTimeNanos));
            return(map);
        }
Example #2
0
 public virtual long InternalQueryId()
 {
     return(_query.internalQueryId());
 }