public interface ServiceDependencies
clustered services.| Modifier and Type | Method | Description |
|---|---|---|
int |
getEventDispatcherThreadPriority() |
Obtain the priority of the event dispatcher thread.
|
long |
getRequestTimeoutMillis() |
Obtain a default request timeout value.
|
SerializerFactory |
getSerializerFactory() |
Obtain the
SerializerFactory used by this service. |
long |
getTaskHungThresholdMillis() |
Obtain the amount of time that a task can execute before it's considered "hung".
|
long |
getTaskTimeoutMillis() |
Obtain the default task timeout value.
|
int |
getThreadPriority() |
Obtain the priority of the service thread.
|
int |
getWorkerThreadCount() |
Deprecated.
Since 12.2.1, replaced by returning the same value from
getWorkerThreadCountMin() and getWorkerThreadCountMax(). |
int |
getWorkerThreadCountMax() |
Obtain the maximum number of background worker threads.
|
int |
getWorkerThreadCountMin() |
Obtain the minimum number of background worker threads.
|
int |
getWorkerThreadPriority() |
Obtain the priority of the worker threads.
|
int getEventDispatcherThreadPriority()
Thread.MIN_PRIORITY and
Thread.MAX_PRIORITY.SerializerFactory getSerializerFactory()
SerializerFactory used by this service.long getRequestTimeoutMillis()
PriorityTasks.long getTaskHungThresholdMillis()
long getTaskTimeoutMillis()
PriorityTasks.int getThreadPriority()
Thread.MIN_PRIORITY and Thread.MAX_PRIORITY.int getWorkerThreadCount()
getWorkerThreadCountMin() and getWorkerThreadCountMax().int getWorkerThreadCountMax()
int getWorkerThreadCountMin()
int getWorkerThreadPriority()
Thread.MIN_PRIORITY and Thread.MAX_PRIORITY.