lumis.doui.search
Class SearchMonitorUtil

Package class diagram package SearchMonitorUtil
java.lang.Object
  extended by lumis.doui.search.SearchMonitorUtil

public class SearchMonitorUtil
extends Object

Contains search monitoring constants and utility methods.

Since:
4.1.0

Field Summary
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 Summary
SearchMonitorUtil()
           
 
Method Summary
static IMonitor getSearchMonitor(ServiceInstanceConfig searchServiceInstanceConfig, String searchQuery, ITransaction transaction)
          Returns a monitor for the "lumis.doui.search.ev.search" event.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

STRING_RESOURCE_PATH

public static final String STRING_RESOURCE_PATH
The string resource path using for localizing search monitoring strings.

Since:
4.1.0
See Also:
Constant Field Values

EVENT_SEARCH

public static final String EVENT_SEARCH
Key for search event.

Since:
4.1.0
See Also:
Constant Field Values

MEASURE_TYPE_SEARCH_RESULT_COUNT

public static final String MEASURE_TYPE_SEARCH_RESULT_COUNT
Key for search result count measure type.

Since:
4.1.0
See Also:
Constant Field Values

AGGREGATION_TYPE_SEARCH_QUERY

public static final String AGGREGATION_TYPE_SEARCH_QUERY
Key for search query aggregation type.

Since:
4.1.0
See Also:
Constant Field Values

AGGREGATION_TYPE_SEARCH_SI_PATH

public static final String AGGREGATION_TYPE_SEARCH_SI_PATH
Key for search's service instance path aggregation type.

Since:
4.1.0
See Also:
Constant Field Values

AGGREGATION_TYPE_SEARCH_SI_FRIENDLY_PATH

public static final String AGGREGATION_TYPE_SEARCH_SI_FRIENDLY_PATH
Key for search's service instance friendly path aggregation type.

Since:
4.1.0
See Also:
Constant Field Values
Constructor Detail

SearchMonitorUtil

public SearchMonitorUtil()
Method Detail

getSearchMonitor

public static IMonitor getSearchMonitor(ServiceInstanceConfig searchServiceInstanceConfig,
                                        String searchQuery,
                                        ITransaction transaction)
                                 throws PortalException
Returns a monitor for the "lumis.doui.search.ev.search" event.

Parameters:
searchServiceInstanceConfig - the search service instance.
searchQuery - the search's query.
transaction - the transaction for persistence access.
Returns:
the monitor.
Throws:
PortalException
Since:
4.1.0


Lumisportal  4.1.0.071221 - Copyright © 2001-2007, Lumis. All Rights Reserved.