Modifier and Type | Field and Description |
---|---|
static String |
FACT_QUERIES |
static String |
FACT_QUERY_CACHE_HIT |
static String |
WEIGHT_CHECK |
Constructor and Description |
---|
BardQueryInfo(String queryType)
Constructor.
|
Modifier and Type | Method and Description |
---|---|
static BardQueryInfo |
getBardQueryInfo()
Retrieves
BardQueryInfo from
RequestLog . |
Map<String,AtomicInteger> |
getQueryCounter() |
String |
getType() |
static void |
incrementCountCacheHits()
Increments the number of cache-hit queries.
|
static void |
incrementCountFactHits()
Increments the number of fact queries.
|
static void |
incrementCountWeightCheck()
Increments the number of weight check queries.
|
public static final String WEIGHT_CHECK
public static final String FACT_QUERIES
public static final String FACT_QUERY_CACHE_HIT
public BardQueryInfo(String queryType)
queryType
- Type of Bard querypublic String getType()
public Map<String,AtomicInteger> getQueryCounter()
public static BardQueryInfo getBardQueryInfo()
BardQueryInfo
from
RequestLog
.BardQueryInfo
from
RequestLog
public static void incrementCountFactHits()
public static void incrementCountCacheHits()
public static void incrementCountWeightCheck()
Copyright © 2016–2018 Yahoo! Inc.. All rights reserved.