| 限定符和类型 | 方法和说明 |
|---|---|
static boolean |
checkQueryAlive(long queryId)
Check given query is alive or not.
|
void |
clear() |
ServiceType |
getID()
Get the name of the the service.
|
static QueryTimeManager |
getInstance() |
QueryContext |
getQueryContext(long queryId) |
Map<Long,QueryContext> |
getQueryContextMap() |
void |
killQuery(long queryId) |
void |
registerQuery(QueryContext context) |
void |
start()
Start current service.
|
void |
stop()
Stop current service.
|
AtomicBoolean |
unRegisterQuery(long queryId,
boolean fullQuit)
UnRegister query when query quits because of getting enough data or timeout.
|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitshutdown, waitAndStoppublic void registerQuery(QueryContext context)
public void killQuery(long queryId)
public AtomicBoolean unRegisterQuery(long queryId, boolean fullQuit)
fullQuit - True if timeout or endQuery()public static boolean checkQueryAlive(long queryId)
public Map<Long,QueryContext> getQueryContextMap()
public void clear()
public QueryContext getQueryContext(long queryId)
public static QueryTimeManager getInstance()
public void stop()
IServicepublic ServiceType getID()
IServiceCopyright © 2022 The Apache Software Foundation. All rights reserved.