public interface EngineParameters
| Modifier and Type | Method and Description |
|---|---|
boolean |
getAllowConcurrentEventTypeProcessingByEventSetProcessors()
Returns a flag to allow for concurrent processing of events that have the same type by event set processors.
|
int |
getAsyncEventSetProcessorExecutorThreadCount()
Returns the number of threads used by an event set processor asynchronous executor.
|
int |
getAsyncEventSetProcessorProcessingPartitionSize()
Returns a specific implementation parameter - an asynchronous event set processor processing partition size.
|
int |
getAsyncEventSetProcessorProcessingThreshold()
Returns a specific implementation parameter - an asynchronous event set processor processing threshold.
|
boolean |
getAutoEnable()
Returns
true if auto-enable of processors is turned on. |
int |
getDecomposedQueueCapacity()
Returns a decomposed queue capacity.
|
int |
getDurationThreadCount()
Returns the number of threads used by a duration executor.
|
long |
getDynamicThreadPoolKeepAliveTime()
Returns a dynamic thread pool keep alive time (in milliseconds).
|
EventClonePolicy |
getEventClonePolicy()
Return event clone policy.
|
int |
getEventQueueCapacity()
Returns the event queue capacity.
|
boolean |
getEventSetProcessorDefaultSynchronous()
Returns an event set processor default synchronous flag.
|
long |
getExecutorShutdownTimeout()
Returns an executor shutdown timeout (in milliseconds).
|
double |
getInitialDynamicThreadPoolSizeRatio()
Returns a dynamic thread pool initial size ratio.
|
long |
getInternalQueueBlockingPutSleep()
Returns internal queue blocking put operation sleep time between retries (in milliseconds).
|
int |
getMainEventQueueCapacity()
Returns a Main Event Queue capacity.
|
int |
getMainProcessingUnitThreadCount()
Returns the number of the Main Processing Unit worker threads.
|
int |
getMainProcessingUnitWorkerExecutorQueueSize()
Returns a Main Processing Unit worker executor queue size.
|
int |
getProcessingUnitConcurrentListenerThreadCount()
Returns the number of threads used by processing units to listen to an event queue concurrently.
|
void |
setAllowConcurrentEventTypeProcessingByEventSetProcessors(boolean allowConcurrentEventTypeProcessingByEventSetProcessors)
Sets a flag to allow for concurrent processing of events that have the same type by event set processors.
|
void |
setAsyncEventSetProcessorExecutorThreadCount(int asyncEventSetProcessorExecutorThreadCount)
Sets the number of threads used by an event set processor asynchronous executor.
|
void |
setAsyncEventSetProcessorProcessingPartitionSize(int asyncEventSetProcessorProcessingPartitionSize)
Sets a specific {link org.openksavi.sponge.engine.processing.EventSetProcessorMainProcessingUnitHandler} implementation parameter -
an asynchronous processing partition size.
|
void |
setAsyncEventSetProcessorProcessingThreshold(int asyncEventSetProcessorProcessingThreshold) |
void |
setAutoEnable(boolean autoEnable)
Sets auto-enable of processors.
|
void |
setDecomposedQueueCapacity(int decomposedQueueCapacity)
Sets a decomposed queue capacity.
|
void |
setDurationThreadCount(int durationThreadCount)
Sets duration executor thread count.
|
void |
setDynamicThreadPoolKeepAliveTime(long dynamicThreadPoolKeepAliveTime)
Sets a dynamic thread pool keep alive time (in milliseconds).
|
void |
setEventClonePolicy(EventClonePolicy eventClonePolicy)
Sets event clone policy.
|
void |
setEventQueueCapacity(int eventQueueCapacity)
Sets event queue capacity.
|
void |
setEventSetProcessorDefaultSynchronous(boolean eventSetProcessorDefaultSynchronous)
Sets an event set processor default synchronous flag.
|
void |
setExecutorShutdownTimeout(long executorShutdownTimeout)
Sets an executor shutdown timeout (in milliseconds).
|
void |
setInitialDynamicThreadPoolSizeRatio(double initialDynamicThreadPoolSizeRatio)
Sets a dynamic thread pool initial size ratio.
|
void |
setInternalQueueBlockingPutSleep(long internalQueueBlockingPutSleep)
Sets internal queue blocking put operation sleep time between retries (in milliseconds).
|
void |
setMainEventQueueCapacity(int mainEventQueueCapacity)
Sets a Main Event Queue capacity.
|
void |
setMainProcessingUnitThreadCount(int mainProcessingUnitThreadCount)
Sets the number of the Main Processing Unit worker threads.
|
void |
setMainProcessingUnitWorkerExecutorQueueSize(int mainProcessingUnitWorkerExecutorQueueSize)
Sets a Main Processing Unit worker executor queue size.
|
void |
setProcessingUnitConcurrentListenerThreadCount(int processingUnitConcurrentListenerThreadCount)
Sets the number of threads used by processing units to listen to an event queue concurrently.
|
int getMainProcessingUnitThreadCount()
int getProcessingUnitConcurrentListenerThreadCount()
int getEventQueueCapacity()
int getDurationThreadCount()
int getAsyncEventSetProcessorExecutorThreadCount()
EventClonePolicy getEventClonePolicy()
boolean getEventSetProcessorDefaultSynchronous()
long getExecutorShutdownTimeout()
int getAsyncEventSetProcessorProcessingPartitionSize()
int getAsyncEventSetProcessorProcessingThreshold()
boolean getAllowConcurrentEventTypeProcessingByEventSetProcessors()
boolean getAutoEnable()
true if auto-enable of processors is turned on.true if auto-enable of processors is turned on.void setMainProcessingUnitThreadCount(int mainProcessingUnitThreadCount)
mainProcessingUnitThreadCount - the number of the Main Processing Unit worker threads.void setProcessingUnitConcurrentListenerThreadCount(int processingUnitConcurrentListenerThreadCount)
processingUnitConcurrentListenerThreadCount - the number of threads used by processing units to listen to an event queue
concurrently.void setEventQueueCapacity(int eventQueueCapacity)
eventQueueCapacity - event queue capacity.void setDurationThreadCount(int durationThreadCount)
durationThreadCount - duration executor thread count.void setAsyncEventSetProcessorExecutorThreadCount(int asyncEventSetProcessorExecutorThreadCount)
asyncEventSetProcessorExecutorThreadCount - the number of threads used by an event set processor asynchronous executor.void setEventClonePolicy(EventClonePolicy eventClonePolicy)
eventClonePolicy - event clone policy.void setEventSetProcessorDefaultSynchronous(boolean eventSetProcessorDefaultSynchronous)
eventSetProcessorDefaultSynchronous - an event set processor default synchronous flag.void setExecutorShutdownTimeout(long executorShutdownTimeout)
executorShutdownTimeout - an executor shutdown timeout.void setAsyncEventSetProcessorProcessingPartitionSize(int asyncEventSetProcessorProcessingPartitionSize)
asyncEventSetProcessorProcessingPartitionSize - a partition size.void setAsyncEventSetProcessorProcessingThreshold(int asyncEventSetProcessorProcessingThreshold)
void setAllowConcurrentEventTypeProcessingByEventSetProcessors(boolean allowConcurrentEventTypeProcessingByEventSetProcessors)
allowConcurrentEventTypeProcessingByEventSetProcessors - a flag to allow for concurrent processing of events that have the same
type by event set processors.void setAutoEnable(boolean autoEnable)
autoEnable - auto-enable of processors.int getMainProcessingUnitWorkerExecutorQueueSize()
void setMainProcessingUnitWorkerExecutorQueueSize(int mainProcessingUnitWorkerExecutorQueueSize)
mainProcessingUnitWorkerExecutorQueueSize - a Main Processing Unit worker executor queue size.long getInternalQueueBlockingPutSleep()
void setInternalQueueBlockingPutSleep(long internalQueueBlockingPutSleep)
internalQueueBlockingPutSleep - internal queue blocking put operation sleep time between retries.int getDecomposedQueueCapacity()
void setDecomposedQueueCapacity(int decomposedQueueCapacity)
decomposedQueueCapacity - a decomposed queue capacity.int getMainEventQueueCapacity()
void setMainEventQueueCapacity(int mainEventQueueCapacity)
mainEventQueueCapacity - a Main Event Queue capacity.double getInitialDynamicThreadPoolSizeRatio()
void setInitialDynamicThreadPoolSizeRatio(double initialDynamicThreadPoolSizeRatio)
initialDynamicThreadPoolSizeRatio - a dynamic thread pool initial size ratio.long getDynamicThreadPoolKeepAliveTime()
void setDynamicThreadPoolKeepAliveTime(long dynamicThreadPoolKeepAliveTime)
dynamicThreadPoolKeepAliveTime - a dynamic thread pool keep alive time.Copyright © 2016–2017 Softelnet. All rights reserved.