public class ScheduledExecutor extends Object
| 限定符和类型 | 方法和说明 |
|---|---|
void |
addLogs(Map message) |
ExecutorService |
getService(int size) |
static ScheduledExecutor |
instance()
description: 创建单实例方法
|
boolean |
isMqEmpty() |
Map |
pollLogs() |
void |
runable(Runnable task) |
void |
shutdown() |
Future<Integer> |
submit(Callable<Integer> task) |
Future<Object> |
submitObj(Callable<Object> task) |
public static ScheduledExecutor instance()
public void addLogs(Map message)
public Map pollLogs() throws InterruptedException
public boolean isMqEmpty()
public ExecutorService getService(int size)
public void runable(Runnable task)
public void shutdown()
Copyright © 2022. All rights reserved.