public class SearchMonitorUtil extends Object
Modifier and Type | Field and Description |
---|---|
static String |
AGGREGATION_TYPE_SEARCH_QUERY
Key for search query aggregation type.
|
static String |
AGGREGATION_TYPE_SEARCH_SI_FRIENDLY_PATH
Key for search's service instance friendly path aggregation type.
|
static String |
AGGREGATION_TYPE_SEARCH_SI_PATH
Key for search's service instance path aggregation type.
|
static String |
EVENT_SEARCH
Key for search event.
|
static String |
MEASURE_TYPE_SEARCH_RESULT_COUNT
Key for search result count measure type.
|
static String |
STRING_RESOURCE_PATH
The string resource path using for localizing search monitoring strings.
|
Constructor and Description |
---|
SearchMonitorUtil() |
Modifier and Type | Method and Description |
---|---|
static IMonitor |
getSearchMonitor(ServiceInstanceConfig searchServiceInstanceConfig,
String searchQuery,
ITransaction transaction)
Returns a monitor for the "lumis.doui.search.ev.search" event.
|
public static final String STRING_RESOURCE_PATH
public static final String EVENT_SEARCH
public static final String MEASURE_TYPE_SEARCH_RESULT_COUNT
public static final String AGGREGATION_TYPE_SEARCH_QUERY
public static final String AGGREGATION_TYPE_SEARCH_SI_PATH
public static final String AGGREGATION_TYPE_SEARCH_SI_FRIENDLY_PATH
public static IMonitor getSearchMonitor(ServiceInstanceConfig searchServiceInstanceConfig, String searchQuery, ITransaction transaction) throws PortalException
searchServiceInstanceConfig
- the search service instance.searchQuery
- the search's query.transaction
- the transaction for persistence access.PortalException
Lumisportal 7.1.1.140331 - Copyright � 2006�2014 Lumis EIP Tecnologia da Informa��o LTDA. All Rights Reserved.