| 限定符和类型 | 类和说明 |
|---|---|
static class |
SettleService.InstanceHolder |
| 构造器和说明 |
|---|
SettleService() |
| 限定符和类型 | 方法和说明 |
|---|---|
AtomicInteger |
getFilesToBeSettledCount() |
ServiceType |
getID()
Get the name of the the service.
|
static SettleService |
getINSTANCE() |
PartialPath |
getSGByFilePath(String tsFilePath) |
boolean |
isRecoverFinish() |
void |
setRecoverFinish(boolean recoverFinish) |
void |
start()
Start current service.
|
void |
startSettling(List<TsFileResource> seqResourcesToBeSettled,
List<TsFileResource> unseqResourcesToBeSettled) |
void |
stop()
Stop current service.
|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitshutdown, waitAndStoppublic static SettleService getINSTANCE()
public void startSettling(List<TsFileResource> seqResourcesToBeSettled, List<TsFileResource> unseqResourcesToBeSettled) throws WriteProcessException
public void stop()
IServicepublic ServiceType getID()
IServicepublic AtomicInteger getFilesToBeSettledCount()
public PartialPath getSGByFilePath(String tsFilePath) throws WriteProcessException
public boolean isRecoverFinish()
public void setRecoverFinish(boolean recoverFinish)
Copyright © 2022 The Apache Software Foundation. All rights reserved.