Skip navigation links

Oracle® Fusion Middleware Java API Reference for Oracle Coherence
12c (12.1.3.0.0)

E47890-01


com.tangosol.net
Interface ServiceDependencies


public interface ServiceDependencies

The ServiceDependencies interface defines externally provided dependencies for clustered services.

Since:
Coherence 12.1.3
Author:
pfm 2011.05.12

Method Summary
 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()
          Obtain the number of background worker threads that will be created when the service is started.
 int getWorkerThreadPriority()
          Obtain the priority of the worker threads.

 

Method Detail

getSerializerFactory

SerializerFactory getSerializerFactory()
Obtain the SerializerFactory used by this service.
Returns:
the SerializerFactory

getRequestTimeoutMillis

long getRequestTimeoutMillis()
Obtain a default request timeout value. This is also a default value for PriorityTasks.
Returns:
the default request timeout

getTaskHungThresholdMillis

long getTaskHungThresholdMillis()
Obtain the amount of time that a task can execute before it's considered "hung".
Returns:
the task hung threshold

getTaskTimeoutMillis

long getTaskTimeoutMillis()
Obtain the default task timeout value. This value is used as a default for PriorityTasks.
Returns:
the default task timeout

getWorkerThreadCount

int getWorkerThreadCount()
Obtain the number of background worker threads that will be created when the service is started.
Returns:
the worker thread count

getThreadPriority

int getThreadPriority()
Obtain the priority of the service thread. The returned value must be an integer between Thread.MIN_PRIORITY and Thread.MAX_PRIORITY.
Returns:
the service thread priority

getWorkerThreadPriority

int getWorkerThreadPriority()
Obtain the priority of the worker threads. The returned value must be an integer between Thread.MIN_PRIORITY and Thread.MAX_PRIORITY.
Returns:
the thread priority

getEventDispatcherThreadPriority

int getEventDispatcherThreadPriority()
Obtain the priority of the event dispatcher thread. The returned value must be an integer between Thread.MIN_PRIORITY and Thread.MAX_PRIORITY.
Returns:
the event dispatcher thread priority

Skip navigation links

Oracle® Fusion Middleware Java API Reference for Oracle Coherence
12c (12.1.3.0.0)

E47890-01


Copyright © 2000, 2014, Oracle and/or its affiliates. All rights reserved.