Thread.State, Thread.UncaughtExceptionHandlerMAX_PRIORITY, MIN_PRIORITY, NORM_PRIORITY| 构造器和说明 |
|---|
ClusterListener() |
| 限定符和类型 | 方法和说明 |
|---|---|
void |
addListenedPartition(com.aliyun.drc.clusterclient.impl.DrcClientListener listener,
Partition partition) |
int |
getMessageQueueSize() |
abstract void |
noException(Exception e)
Abstract method noException for user code callback
|
abstract void |
notify(List<ClusterMessage> messages)
Abstract method notify for user code callback
|
long |
notifyMessages(Partition partition,
List<ClusterMessage> messages) |
void |
notifyWithoutHeartbeat(List<ClusterMessage> messages)
已过时。
|
void |
removeListenedPartition(com.aliyun.drc.clusterclient.impl.DrcClientListener listener,
Partition partition) |
void |
run() |
long |
setNotifiedPartition(Partition partition)
已过时。
|
void |
shutdown() |
activeCount, checkAccess, clone, countStackFrames, currentThread, destroy, dumpStack, enumerate, getAllStackTraces, getContextClassLoader, getDefaultUncaughtExceptionHandler, getId, getName, getPriority, getStackTrace, getState, getThreadGroup, getUncaughtExceptionHandler, holdsLock, interrupt, interrupted, isAlive, isDaemon, isInterrupted, join, join, join, resume, setContextClassLoader, setDaemon, setDefaultUncaughtExceptionHandler, setName, setPriority, setUncaughtExceptionHandler, sleep, sleep, start, stop, stop, suspend, toString, yieldpublic abstract void notify(List<ClusterMessage> messages) throws Exception
messages - Exceptionpublic abstract void noException(Exception e)
e - public long notifyMessages(Partition partition, List<ClusterMessage> messages)
@Deprecated public void notifyWithoutHeartbeat(List<ClusterMessage> messages) throws Exception
Exception@Deprecated public long setNotifiedPartition(Partition partition)
public void addListenedPartition(com.aliyun.drc.clusterclient.impl.DrcClientListener listener,
Partition partition)
public void removeListenedPartition(com.aliyun.drc.clusterclient.impl.DrcClientListener listener,
Partition partition)
public int getMessageQueueSize()
Copyright © 2017. All Rights Reserved.