类 HdfsSyncThread<V>
- java.lang.Object
-
- java.lang.Thread
-
- org.apache.pulsar.io.hdfs3.sink.HdfsSyncThread<V>
-
- 类型参数:
V-
- 所有已实现的接口:
java.lang.Runnable
public class HdfsSyncThread<V> extends java.lang.ThreadA thread that runs in the background and acknowledges Records after they have been written to disk.
-
-
构造器概要
构造器 构造器 说明 HdfsSyncThread(org.apache.hadoop.fs.Syncable stream, java.util.concurrent.BlockingQueue<org.apache.pulsar.functions.api.Record<V>> unackedRecords, long syncInterval)
-
方法概要
所有方法 实例方法 具体方法 修饰符和类型 方法 说明 voidhalt()voidrun()-
从类继承的方法 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, java.util.concurrent.BlockingQueue<org.apache.pulsar.functions.api.Record<V>> unackedRecords, long syncInterval)
-
-