public class ScanOnDemandVariables extends hudson.model.AbstractDescribableImpl<ScanOnDemandVariables>
Modifier and Type | Class and Description |
---|---|
static class |
ScanOnDemandVariables.DescriptorImpl
Descriptor for
ScanOnDemandVariables . |
Modifier and Type | Field and Description |
---|---|
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 and Description |
---|
ScanOnDemandVariables()
Data bound constructor (used by jcasc).
|
Modifier and Type | Method and Description |
---|---|
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.
|
public static final int DEFAULT_MINIMUM_SOD_WORKER_THREADS
public static final int DEFAULT_MAXIMUM_SOD_WORKER_THREADS
public static final int DEFAULT_SOD_THREADS_KEEP_ALIVE_TIME
public static final int DEFAULT_SOD_WAIT_FOR_JOBS_SHUTDOWN_TIMEOUT
public static final int DEFAULT_SOD_COREPOOL_THREADS
@DataBoundConstructor public ScanOnDemandVariables()
@DataBoundSetter public void setMaximumSodWorkerThreads(int maximumSodWorkerThreads)
maximumSodWorkerThreads
- value.@DataBoundSetter public void setMinimumSodWorkerThreads(int minimumSodWorkerThreads)
minimumSodWorkerThreads
- value.@DataBoundSetter public void setSodCorePoolNumberOfThreads(int sodCorePoolNumberOfThreads)
sodCorePoolNumberOfThreads
- value.@DataBoundSetter public void setSodThreadKeepAliveTime(int sodThreadKeepAliveTime)
sodThreadKeepAliveTime
- value.@DataBoundSetter public void setSodWaitForJobShutdownTimeout(int sodWaitForJobShutdownTimeout)
sodWaitForJobShutdownTimeout
- value.public int getSodCorePoolNumberOfThreads()
public int getMaximumSodWorkerThreads()
public int getMinimumSodWorkerThreads()
public int getSodThreadKeepAliveTime()
public int getSodWaitForJobShutdownTimeout()
Copyright © 2016–2021. All rights reserved.