public class FlushManager extends Object implements FlushManagerMBean, IService
| 限定符和类型 | 方法和说明 |
|---|---|
ServiceType |
getID()
Get the name of the the service.
|
static FlushManager |
getInstance() |
int |
getNumberOfPendingSubTasks() |
int |
getNumberOfPendingTasks() |
int |
getNumberOfWorkingSubTasks() |
int |
getNumberOfWorkingTasks() |
void |
registerTsFileProcessor(TsFileProcessor tsFileProcessor)
Add tsFileProcessor to asyncTryToFlush manager
|
void |
start()
Start current service.
|
void |
stop()
Stop current service.
|
String |
toString() |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitshutdown, waitAndStoppublic void start()
throws StartupException
IServicestart 在接口中 IServiceStartupExceptionpublic void stop()
IServicepublic ServiceType getID()
IServicepublic int getNumberOfWorkingTasks()
getNumberOfWorkingTasks 在接口中 FlushManagerMBeanpublic int getNumberOfPendingTasks()
getNumberOfPendingTasks 在接口中 FlushManagerMBeanpublic int getNumberOfWorkingSubTasks()
getNumberOfWorkingSubTasks 在接口中 FlushManagerMBeanpublic int getNumberOfPendingSubTasks()
getNumberOfPendingSubTasks 在接口中 FlushManagerMBeanpublic void registerTsFileProcessor(TsFileProcessor tsFileProcessor)
tsFileProcessor - tsFileProcessor to be flushedpublic static FlushManager getInstance()
Copyright © 2022 The Apache Software Foundation. All rights reserved.