public final class LocalOfficeManager
extends org.jodconverter.core.office.AbstractOfficeManagerPool<org.jodconverter.local.office.LocalOfficeManagerPoolEntry>
OfficeManager implementation that uses a pool of
office processes to execute conversion tasks.| Modifier and Type | Class and Description |
|---|---|
static class |
LocalOfficeManager.Builder
A builder for constructing a
LocalOfficeManager. |
| Modifier and Type | Field and Description |
|---|---|
static long |
DEFAULT_AFTER_START_PROCESS_DELAY |
static boolean |
DEFAULT_DISABLE_OPENGL |
static ExistingProcessAction |
DEFAULT_EXISTING_PROCESS_ACTION |
static String |
DEFAULT_HOSTNAME |
static boolean |
DEFAULT_KEEP_ALIVE_ON_SHUTDOWN |
static int |
DEFAULT_MAX_TASKS_PER_PROCESS |
static long |
DEFAULT_PROCESS_RETRY_INTERVAL |
static long |
DEFAULT_PROCESS_TIMEOUT |
static boolean |
DEFAULT_START_FAIL_FAST |
static long |
MAX_AFTER_START_PROCESS_DELAY |
static long |
MAX_PROCESS_RETRY_INTERVAL |
static long |
MIN_AFTER_START_PROCESS_DELAY |
static long |
MIN_PROCESS_RETRY_INTERVAL |
| Modifier and Type | Method and Description |
|---|---|
static @NonNull LocalOfficeManager.Builder |
builder()
Creates a new builder instance.
|
static @NonNull LocalOfficeManager |
install()
Creates a new
LocalOfficeManager with default configuration. |
static @NonNull LocalOfficeManager |
make()
Creates a new
LocalOfficeManager with default configuration. |
public static final String DEFAULT_HOSTNAME
public static final long DEFAULT_PROCESS_TIMEOUT
public static final long DEFAULT_PROCESS_RETRY_INTERVAL
public static final long DEFAULT_AFTER_START_PROCESS_DELAY
public static final ExistingProcessAction DEFAULT_EXISTING_PROCESS_ACTION
public static final boolean DEFAULT_START_FAIL_FAST
public static final boolean DEFAULT_DISABLE_OPENGL
public static final boolean DEFAULT_KEEP_ALIVE_ON_SHUTDOWN
public static final int DEFAULT_MAX_TASKS_PER_PROCESS
public static final long MIN_PROCESS_RETRY_INTERVAL
public static final long MAX_PROCESS_RETRY_INTERVAL
public static final long MIN_AFTER_START_PROCESS_DELAY
public static final long MAX_AFTER_START_PROCESS_DELAY
public static @NonNull LocalOfficeManager.Builder builder()
public static @NonNull LocalOfficeManager make()
LocalOfficeManager with default configuration.LocalOfficeManager with default configuration.public static @NonNull LocalOfficeManager install()
LocalOfficeManager with default configuration. The created manager will
then be the unique instance of the InstalledOfficeManagerHolder class. Note that if the InstalledOfficeManagerHolder class already holds an OfficeManager instance, the owner
of this existing manager is responsible to stopped it.LocalOfficeManager with default configuration.Copyright © 2016 - present; JODConverter.org. All rights reserved.