class PooledOfficeManager extends Object implements OfficeManager
| 限定符和类型 | 字段和说明 |
|---|---|
private OfficeConnectionEventListener |
connectionEventListener |
private Future<?> |
currentTask |
private Logger |
logger |
private ManagedOfficeProcess |
managedOfficeProcess |
private PooledOfficeManagerSettings |
settings |
private boolean |
stopping |
private int |
taskCount |
private SuspendableThreadPoolExecutor |
taskExecutor |
| 构造器和说明 |
|---|
PooledOfficeManager(PooledOfficeManagerSettings settings) |
PooledOfficeManager(UnoUrl unoUrl) |
private final PooledOfficeManagerSettings settings
private final ManagedOfficeProcess managedOfficeProcess
private final SuspendableThreadPoolExecutor taskExecutor
private volatile boolean stopping
private int taskCount
private Future<?> currentTask
private final Logger logger
private OfficeConnectionEventListener connectionEventListener
public PooledOfficeManager(UnoUrl unoUrl)
public PooledOfficeManager(PooledOfficeManagerSettings settings)
public void execute(OfficeTask task) throws OfficeException
execute 在接口中 OfficeManagerOfficeExceptionpublic void start()
throws OfficeException
start 在接口中 OfficeManagerOfficeExceptionpublic void stop()
throws OfficeException
stop 在接口中 OfficeManagerOfficeExceptionpublic boolean isRunning()
isRunning 在接口中 OfficeManagerCopyright © 2019. All rights reserved.