类 HdfsSyncThread<V>
java.lang.Object
java.lang.Thread
org.apache.pulsar.io.hdfs3.sink.HdfsSyncThread<V>
- 类型参数:
V-
- 所有已实现的接口:
Runnable
A thread that runs in the background and acknowledges Records
after they have been written to disk.
-
嵌套类概要
从类继承的嵌套类/接口 java.lang.Thread
Thread.State, Thread.UncaughtExceptionHandler -
字段概要
从类继承的字段 java.lang.Thread
MAX_PRIORITY, MIN_PRIORITY, NORM_PRIORITY -
构造器概要
构造器构造器说明HdfsSyncThread(org.apache.hadoop.fs.Syncable stream, BlockingQueue<org.apache.pulsar.functions.api.Record<V>> unackedRecords, long syncInterval) -
方法概要
从类继承的方法 java.lang.Thread
activeCount, checkAccess, clone, countStackFrames, currentThread, dumpStack, enumerate, getAllStackTraces, getContextClassLoader, getDefaultUncaughtExceptionHandler, getId, getName, getPriority, getStackTrace, getState, getThreadGroup, getUncaughtExceptionHandler, holdsLock, interrupt, interrupted, isAlive, isDaemon, isInterrupted, join, join, join, onSpinWait, resume, setContextClassLoader, setDaemon, setDefaultUncaughtExceptionHandler, setName, setPriority, setUncaughtExceptionHandler, sleep, sleep, start, stop, suspend, toString, yield
-
构造器详细资料
-
HdfsSyncThread
public HdfsSyncThread(org.apache.hadoop.fs.Syncable stream, BlockingQueue<org.apache.pulsar.functions.api.Record<V>> unackedRecords, long syncInterval)
-
-
方法详细资料
-
run
public void run() -
halt
-