| | | | SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
|
|
com.newstep.solid.test.processor.performance.core
public class EnvironmentTooling
Class that contains functions for setting up the test environment
Links:
Kernel Association Association Link
Associates type:
association
Client cardinality:
1
Client navigability:
NOT NAVIGABLE
Client visibility:
private
Supplier cardinality:
1
Supplier navigability:
NAVIGABLE
Supplier visibility:
private
Kernel Association Association Link
Associates type:
association
Client cardinality:
1
Client navigability:
NOT NAVIGABLE
Client visibility:
private
Supplier cardinality:
1
Supplier navigability:
NAVIGABLE
Supplier visibility:
private
Dependency Dependency Link
Custom properties
link:
dependency
| Field Summary |
|
|
int |
|
int |
|
private int |
|
|
|
private Logger |
|
|
|
private int |
|
| Constructor Summary |
public void |
|
| Method Summary |
|
|
public void |
|
public void |
|
public void |
|
public void |
|
public void |
|
private void |
|
private void |
|
private void |
|
private int decodingDelay
Multiplicity:
1
int decodingDelay
Multiplicity:
1
private Logger logger
Multiplicity:
1
Multiplicity:
1
private int processingDelay
Multiplicity:
1
int processingDelay
public void EnvironmentTooling ()
Stereotype:
create
Return:
the message processor
setDecoderAndPredispatcherParameters
public void setDecoderAndPredispatcherParameters (Integer corePoolSize, Integer maxPoolSize, Integer keepAliveTime)
Sets the parameters for the decoder and pre-dispatcher queue
Parameters:
corePoolSize minimum size of the thread pool
maxPoolSize maximum size of the thread pool
keepAliveTime time in seconds each thread is alive after task
completion
public void setDecodingDelay (Integer decodingDelay)
Sets the decoding delay used by the message processors
Parameters:
decodingDelay how long each decoder waits when it runs
Custom properties
noinspection:
DuplicateStringLiteralInspection
setEventDispatcherParameters
public void setEventDispatcherParameters (Integer corePoolSize, Integer maxPoolSize, Integer keepAliveTime)
Sets the parameters for the event dispatcher queue
Parameters:
corePoolSize minimum size of the thread pool
maxPoolSize maximum size of the thread pool
keepAliveTime time in seconds each thread is alive after task
completion
setEventProcessorParameters
public void setEventProcessorParameters (Integer corePoolSize, Integer maxPoolSize, Integer keepAliveTime)
Sets the parameters for the event processor queue
Parameters:
corePoolSize minimum size of the thread pool
maxPoolSize maximum size of the thread pool
keepAliveTime time in seconds each thread is alive after task
completion
public void setProcessingDelay (Integer processingDelay)
Sets the processing delay used by the event handlers
Parameters:
processingDelay how long each event handler waits when it runs
Custom properties
noinspection:
DuplicateStringLiteralInspection
private void setup ()
Entry function that sets up the message processing framework
private void setupHandlerRegistry ()
Creates the classes and performs any actions required to set up the
event handling
Throws:
HandlerRegistryException
private void setupLogger ()
Sets up the logger, logging levels, filters and handlers
| | | | SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
|
|