Class
Tree
          
SUMMARY: INNER | FIELD | CONSTR | METHODDETAIL: FIELD | CONSTR | METHOD
 

com.newstep.solid.test.processor.performance.core
Class EnvironmentTooling

public class EnvironmentTooling      
Class that contains functions for setting up the test environment
 
Links:
Kernel Association Association Link
to Class ThreePassProcessor
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
to Interface HandlerRegistry
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
to Interface HandlerRegistry
Custom properties
link:
dependency
 
 

Field Summary
int
int
private int
private Logger
private int
Constructor Summary
public void
Method Summary
public void
setDecoderAndPredispatcherParameters(Integer corePoolSize, Integer maxPoolSize, Integer keepAliveTime)
public void
setDecodingDelay(Integer decodingDelay)
public void
setEventDispatcherParameters(Integer corePoolSize, Integer maxPoolSize, Integer keepAliveTime)
public void
setEventProcessorParameters(Integer corePoolSize, Integer maxPoolSize, Integer keepAliveTime)
public void
setProcessingDelay(Integer processingDelay)
private void
private void
private void
Field Detail
decodingDelay
private int decodingDelay
Multiplicity:
1
 

decodingDelay
int decodingDelay
 

handlerRegistry
private HandlerRegistry handlerRegistry
Multiplicity:
1
 

logger
private Logger logger
Multiplicity:
1
 

messageProcessor
ThreePassProcessor messageProcessor
 

messageProcessor
private ThreePassProcessor messageProcessor
Multiplicity:
1
 

processingDelay
private int processingDelay
Multiplicity:
1
 

processingDelay
int processingDelay
 
Constructor Detail
EnvironmentTooling
public void EnvironmentTooling ()
 
Stereotype:
create
 
Method Detail
getMessageProcessor
public ThreePassProcessor getMessageProcessor ()
 
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
 

setDecodingDelay
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
 

setProcessingDelay
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
 

setup
private void setup ()
 
Entry function that sets up the message processing framework
 

setupHandlerRegistry
private void setupHandlerRegistry ()
 
Creates the classes and performs any actions required to set up the
event handling
Throws:
HandlerRegistryException
 

setupLogger
private void setupLogger ()
 
Sets up the logger, logging levels, filters and handlers
 

Class
Tree
          
SUMMARY: INNER | FIELD | CONSTR | METHODDETAIL: FIELD | CONSTR | METHOD