com.sonyericsson.jenkins.plugins.bfa.sod
Class ScanOnDemandVariables

java.lang.Object
  extended by com.sonyericsson.jenkins.plugins.bfa.sod.ScanOnDemandVariables

public class ScanOnDemandVariables
extends Object

Scan on demand feature settings.

Author:
Shemeer S <shemeer.x.sulaiman@sonymobile.com>

Field Summary
static int DEFAULT_MAXIMUM_SOD_WORKER_THREADS
          Maximum number of worker threads.
static int DEFAULT_MINIMUM_SOD_WORKER_THREADS
          Minimum number of worker threads.
static int DEFAULT_SOD_COREPOOL_THREADS
          Number of Core pool Threads.
static int DEFAULT_SOD_THREADS_KEEP_ALIVE_TIME
          Thread keep alive time.
static int DEFAULT_SOD_WAIT_FOR_JOBS_SHUTDOWN_TIMEOUT
          Wait for job shutdown time.
 
Constructor Summary
ScanOnDemandVariables()
           
 
Method Summary
 int getMaximumSodWorkerThreads()
          Returns the maximum number of sod threads.
 int getMinimumSodWorkerThreads()
          Returns the minimum number of sod threads.
 int getSodCorePoolNumberOfThreads()
          Returns the corepool number of threads.
 int getSodThreadKeepAliveTime()
          Returns the sod thread keep alive time.
 int getSodWaitForJobShutdownTimeout()
          Returns the wait for job shut down time.
 void setMaximumSodWorkerThreads(int maximumSodWorkerThreads)
          Set maximum numbers of sod worker threads.
 void setMinimumSodWorkerThreads(int minimumSodWorkerThreads)
          Set minimum numbers of sod worker threads.
 void setSodCorePoolNumberOfThreads(int sodCorePoolNumberOfThreads)
          Set number of sod corepool threads.
 void setSodThreadKeepAliveTime(int sodThreadKeepAliveTime)
          Set sod threadkeepalivetime.
 void setSodWaitForJobShutdownTimeout(int sodWaitForJobShutdownTimeout)
          Set sod wait for job shut down time.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

DEFAULT_MINIMUM_SOD_WORKER_THREADS

public static final int DEFAULT_MINIMUM_SOD_WORKER_THREADS
Minimum number of worker threads.

See Also:
Constant Field Values

DEFAULT_MAXIMUM_SOD_WORKER_THREADS

public static final int DEFAULT_MAXIMUM_SOD_WORKER_THREADS
Maximum number of worker threads.

See Also:
Constant Field Values

DEFAULT_SOD_THREADS_KEEP_ALIVE_TIME

public static final int DEFAULT_SOD_THREADS_KEEP_ALIVE_TIME
Thread keep alive time.

See Also:
Constant Field Values

DEFAULT_SOD_WAIT_FOR_JOBS_SHUTDOWN_TIMEOUT

public static final int DEFAULT_SOD_WAIT_FOR_JOBS_SHUTDOWN_TIMEOUT
Wait for job shutdown time.

See Also:
Constant Field Values

DEFAULT_SOD_COREPOOL_THREADS

public static final int DEFAULT_SOD_COREPOOL_THREADS
Number of Core pool Threads.

See Also:
Constant Field Values
Constructor Detail

ScanOnDemandVariables

public ScanOnDemandVariables()
Method Detail

setMaximumSodWorkerThreads

public void setMaximumSodWorkerThreads(int maximumSodWorkerThreads)
Set maximum numbers of sod worker threads.

Parameters:
maximumSodWorkerThreads - value.

setMinimumSodWorkerThreads

public void setMinimumSodWorkerThreads(int minimumSodWorkerThreads)
Set minimum numbers of sod worker threads.

Parameters:
minimumSodWorkerThreads - value.

setSodCorePoolNumberOfThreads

public void setSodCorePoolNumberOfThreads(int sodCorePoolNumberOfThreads)
Set number of sod corepool threads.

Parameters:
sodCorePoolNumberOfThreads - value.

setSodThreadKeepAliveTime

public void setSodThreadKeepAliveTime(int sodThreadKeepAliveTime)
Set sod threadkeepalivetime.

Parameters:
sodThreadKeepAliveTime - value.

setSodWaitForJobShutdownTimeout

public void setSodWaitForJobShutdownTimeout(int sodWaitForJobShutdownTimeout)
Set sod wait for job shut down time.

Parameters:
sodWaitForJobShutdownTimeout - value.

getSodCorePoolNumberOfThreads

public int getSodCorePoolNumberOfThreads()
Returns the corepool number of threads.

Returns:
int value.

getMaximumSodWorkerThreads

public int getMaximumSodWorkerThreads()
Returns the maximum number of sod threads.

Returns:
int value.

getMinimumSodWorkerThreads

public int getMinimumSodWorkerThreads()
Returns the minimum number of sod threads.

Returns:
int value.

getSodThreadKeepAliveTime

public int getSodThreadKeepAliveTime()
Returns the sod thread keep alive time.

Returns:
int value.

getSodWaitForJobShutdownTimeout

public int getSodWaitForJobShutdownTimeout()
Returns the wait for job shut down time.

Returns:
the int value.


Copyright © 2004-2014. All Rights Reserved.