public class PageCacheGeneratorProfile extends Object
Each configuration can be applied to a cache queue on specific
servers using PCGeneratorConfig
.
Constructor and Description |
---|
PageCacheGeneratorProfile() |
Modifier and Type | Method and Description |
---|---|
int |
getDelayAfterStabilization()
Returns the delay each thread will wait after it has no more demand.
|
int |
getDelayBetweenGenerations()
Returns the delay each thread will wait between generations.
|
String |
getDisplayName()
Returns the display-name for this configuration.
|
String |
getId()
Returns the identifier for this generation configuration.
|
int |
getNumberOfThreads()
Returns the number of generation threads for general use.
|
int |
getNumberOfThreadsForImmediateUseOnly()
Returns the number of generation threads for immediate
use only.
|
int |
getThreadPriority()
Returns the priority of the generation threads.
|
void |
setDelayAfterStabilization(int delayAfterStabilization)
Returns the delay each thread will wait after it has no more demand.
|
void |
setDelayBetweenGenerations(int delayBetweenGenerations)
Sets the delay each thread will wait between generations.
|
void |
setDisplayName(String displayName)
Sets the display-name for this configuration.
|
void |
setNumberOfShareableThreads(int numberOfThreads)
Sets the number of generation threads for general use.
|
void |
setNumberOfThreadsForImmediateUseOnly(int numberOfThreadsForImmediateUseOnly)
Sets the number of generation threads for immediate use only.
|
void |
setThreadPriority(int threadPriority)
Sets the priority of the generation threads.
|
public String getId()
public String getDisplayName()
public void setDisplayName(String displayName)
displayName
- the display-name.public int getDelayBetweenGenerations()
public void setDelayBetweenGenerations(int delayBetweenGenerations)
delayBetweenGenerations
- the delay in milliseconds.public int getDelayAfterStabilization()
public void setDelayAfterStabilization(int delayAfterStabilization)
public int getNumberOfThreads()
public void setNumberOfShareableThreads(int numberOfThreads)
numberOfThreads
- the number of generation threads.public int getNumberOfThreadsForImmediateUseOnly()
These threads are used only to generate caches required for immediate use.
public void setNumberOfThreadsForImmediateUseOnly(int numberOfThreadsForImmediateUseOnly)
numberOfThreadsForImmediateUseOnly
- the number of generation threads.getNumberOfThreadsForImmediateUseOnly()
public int getThreadPriority()
Thread
public void setThreadPriority(int threadPriority)
threadPriority
- the priority of the generation threads.Thread
LumisXP 12.1.0.191010 - Copyright © 2006–2019 Lumis EIP Tecnologia da Informação LTDA. All Rights Reserved.