com.dvt.app.threadworks
Interface TaskManagerEnvironment

All Known Implementing Classes:
DefaultTaskManagerEnvironment

public interface TaskManagerEnvironment

Interface for Environment info needed to run TaskManager.

Copyright: Delta Vortex Technologies, 2001.


Method Summary
 long getDiagnosticReportingIntervalInMillis()
          Describes how often diagnostic information is logged.
 Logger getLogger()
          Provides logger for diagnostic info and error reporting.
 java.lang.String getLogLabel()
          Label for Task Manager in Logs.
 int getMaxNbrConcurrentTasks()
          Describes the maximum number of tasks that can be run at one time.
 long getTaskTimeAllowedInMillis()
          Describes how long a task is allowed to run before being terminated.
 int getThreadPriority()
          Thread priority used for running tasks.
 

Method Detail

getLogger

public Logger getLogger()
Provides logger for diagnostic info and error reporting.

getMaxNbrConcurrentTasks

public int getMaxNbrConcurrentTasks()
Describes the maximum number of tasks that can be run at one time.

getTaskTimeAllowedInMillis

public long getTaskTimeAllowedInMillis()
Describes how long a task is allowed to run before being terminated.

getDiagnosticReportingIntervalInMillis

public long getDiagnosticReportingIntervalInMillis()
Describes how often diagnostic information is logged.

getThreadPriority

public int getThreadPriority()
Thread priority used for running tasks.

getLogLabel

public java.lang.String getLogLabel()
Label for Task Manager in Logs.


Copyright © 2001 Delta Vortex Technologies, Inc. All Rights Reserved.