public class QueryMonitor extends Object implements QueryMonitorMBean
Modifier and Type | Field and Description |
---|---|
static String |
DATE_STARTED |
static String |
QUERY |
static String |
SOURCE_ID |
static String |
USER |
static String |
UUID_PROPERTY |
Constructor and Description |
---|
QueryMonitor(QueryMonitorPlugin queryMonitorPlugin) |
Modifier and Type | Method and Description |
---|---|
List<Map<String,String>> |
activeSearches()
Returns a map of current active searches
|
void |
cancelActiveSearch(String uuid)
Cancels an active search that is in progress
|
public static final String USER
public static final String SOURCE_ID
public static final String QUERY
public static final String DATE_STARTED
public static final String UUID_PROPERTY
public QueryMonitor(QueryMonitorPlugin queryMonitorPlugin)
public List<Map<String,String>> activeSearches()
QueryMonitorMBean
activeSearches
in interface QueryMonitorMBean
public void cancelActiveSearch(String uuid)
QueryMonitorMBean
cancelActiveSearch
in interface QueryMonitorMBean
uuid
- - the uuid of the search to cancelThis work is licensed under a Creative Commons Attribution 4.0 International License.