public class FileCacheQueueScheduler extends DuplicateRemovedScheduler implements MonitorableScheduler, Closeable
logger| 构造器和说明 |
|---|
FileCacheQueueScheduler(String filePath) |
| 限定符和类型 | 方法和说明 |
|---|---|
void |
close() |
int |
getLeftRequestsCount(Task task) |
int |
getTotalRequestsCount(Task task) |
Request |
poll(Task task) |
protected void |
pushWhenNoDuplicate(Request request,
Task task) |
getDuplicateRemover, push, setDuplicateRemover, shouldReservedpublic FileCacheQueueScheduler(String filePath)
public void close()
throws IOException
close 在接口中 Closeableclose 在接口中 AutoCloseableIOExceptionpublic int getLeftRequestsCount(Task task)
getLeftRequestsCount 在接口中 MonitorableSchedulerpublic int getTotalRequestsCount(Task task)
getTotalRequestsCount 在接口中 MonitorableSchedulerCopyright © 2016. All rights reserved.