public interface EngineParameters
| Modifier and Type | Method and Description |
|---|---|
boolean |
getAllowConcurrentEventTypeProcessingByEventSetProcessors()
Returns the 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 the specific implementation parameter - an asynchronous event set processor processing partition size.
|
int |
getAsyncEventSetProcessorProcessingThreshold()
Returns the 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 the decomposed queue capacity.
|
int |
getDurationThreadCount()
Returns the number of threads used by a duration executor.
|
long |
getDynamicThreadPoolKeepAliveTime()
Returns the dynamic thread pool keep alive time (in milliseconds).
|
EventClonePolicy |
getEventClonePolicy()
Returns the event clone policy.
|
int |
getEventQueueCapacity()
Returns the event queue capacity.
|
boolean |
getEventSetProcessorDefaultSynchronous()
Returns the event set processor default synchronous flag.
|
long |
getExecutorShutdownTimeout()
Returns the executor shutdown timeout (in milliseconds).
|
double |
getInitialDynamicThreadPoolSizeRatio()
Returns the dynamic thread pool initial size ratio.
|
long |
getInternalQueueBlockingPutSleep()
Returns the internal queue blocking put operation sleep time between retries (in milliseconds).
|
int |
getMainEventQueueCapacity()
Returns the Main Event Queue capacity.
|
int |
getMainProcessingUnitThreadCount()
Returns the number of the Main Processing Unit worker threads.
|
int |
getMainProcessingUnitWorkerExecutorQueueSize()
Returns the 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.
|
long |
getProcessingUnitEventProcessorCacheExpireTime()
Returns the Processing Unit event processor cache expire time (in milliseconds).
|
long |
getScriptClassInstancePoviderCacheExpireTime()
Returns the script-based class instance creation expression cache expire time (in milliseconds).
|
void |
setAllowConcurrentEventTypeProcessingByEventSetProcessors(boolean allowConcurrentEventTypeProcessingByEventSetProcessors)
Sets the 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 the specific {link org.openksavi.sponge.engine.processing.EventSetProcessorMainProcessingUnitHandler} implementation parameter -
an asynchronous processing partition size.
|
void |
setAsyncEventSetProcessorProcessingThreshold(int asyncEventSetProcessorProcessingThreshold) |
void |
setAutoEnable(boolean autoEnable)
Sets the auto-enable of processors.
|
void |
setDecomposedQueueCapacity(int decomposedQueueCapacity)
Sets the decomposed queue capacity.
|
void |
setDurationThreadCount(int durationThreadCount)
Sets the duration executor thread count.
|
void |
setDynamicThreadPoolKeepAliveTime(long dynamicThreadPoolKeepAliveTime)
Sets the dynamic thread pool keep alive time (in milliseconds).
|
void |
setEventClonePolicy(EventClonePolicy eventClonePolicy)
Sets the event clone policy.
|
void |
setEventQueueCapacity(int eventQueueCapacity)
Sets the event queue capacity.
|
void |
setEventSetProcessorDefaultSynchronous(boolean eventSetProcessorDefaultSynchronous)
Sets the event set processor default synchronous flag.
|
void |
setExecutorShutdownTimeout(long executorShutdownTimeout)
Sets the executor shutdown timeout (in milliseconds).
|
void |
setInitialDynamicThreadPoolSizeRatio(double initialDynamicThreadPoolSizeRatio)
Sets the dynamic thread pool initial size ratio.
|
void |
setInternalQueueBlockingPutSleep(long internalQueueBlockingPutSleep)
Sets the internal queue blocking put operation sleep time between retries (in milliseconds).
|
void |
setMainEventQueueCapacity(int mainEventQueueCapacity)
Sets the Main Event Queue capacity.
|
void |
setMainProcessingUnitThreadCount(int mainProcessingUnitThreadCount)
Sets the number of the Main Processing Unit worker threads.
|
void |
setMainProcessingUnitWorkerExecutorQueueSize(int mainProcessingUnitWorkerExecutorQueueSize)
Sets the 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.
|
void |
setProcessingUnitEventProcessorCacheExpireTime(long processingUnitEventProcessorCacheExpireTime)
Sets the Processing Unit event processor cache expire time (in milliseconds).
|
void |
setScriptClassInstancePoviderCacheExpireTime(long scriptClassInstancePoviderCacheExpireTime)
Sets the script-based class instance creation expression cache expire time (in milliseconds).
|
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 - the event queue capacity.void setDurationThreadCount(int durationThreadCount)
durationThreadCount - the 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 - the event clone policy.void setEventSetProcessorDefaultSynchronous(boolean eventSetProcessorDefaultSynchronous)
eventSetProcessorDefaultSynchronous - the event set processor default synchronous flag.void setExecutorShutdownTimeout(long executorShutdownTimeout)
executorShutdownTimeout - the executor shutdown timeout.void setAsyncEventSetProcessorProcessingPartitionSize(int asyncEventSetProcessorProcessingPartitionSize)
asyncEventSetProcessorProcessingPartitionSize - the partition size.void setAsyncEventSetProcessorProcessingThreshold(int asyncEventSetProcessorProcessingThreshold)
void setAllowConcurrentEventTypeProcessingByEventSetProcessors(boolean allowConcurrentEventTypeProcessingByEventSetProcessors)
allowConcurrentEventTypeProcessingByEventSetProcessors - the flag to allow for concurrent processing of events that have the
same type by event set processors.void setAutoEnable(boolean autoEnable)
autoEnable - the auto-enable of processors.int getMainProcessingUnitWorkerExecutorQueueSize()
void setMainProcessingUnitWorkerExecutorQueueSize(int mainProcessingUnitWorkerExecutorQueueSize)
mainProcessingUnitWorkerExecutorQueueSize - the Main Processing Unit worker executor queue size.long getInternalQueueBlockingPutSleep()
void setInternalQueueBlockingPutSleep(long internalQueueBlockingPutSleep)
internalQueueBlockingPutSleep - the internal queue blocking put operation sleep time between retries.int getDecomposedQueueCapacity()
void setDecomposedQueueCapacity(int decomposedQueueCapacity)
decomposedQueueCapacity - the decomposed queue capacity.int getMainEventQueueCapacity()
void setMainEventQueueCapacity(int mainEventQueueCapacity)
mainEventQueueCapacity - the Main Event Queue capacity.double getInitialDynamicThreadPoolSizeRatio()
void setInitialDynamicThreadPoolSizeRatio(double initialDynamicThreadPoolSizeRatio)
initialDynamicThreadPoolSizeRatio - the dynamic thread pool initial size ratio.long getDynamicThreadPoolKeepAliveTime()
void setDynamicThreadPoolKeepAliveTime(long dynamicThreadPoolKeepAliveTime)
dynamicThreadPoolKeepAliveTime - the dynamic thread pool keep alive time.long getProcessingUnitEventProcessorCacheExpireTime()
-1 means that the cache is turned
off. The value 0 means that there will be no expire time for this cache. The default value is 0.void setProcessingUnitEventProcessorCacheExpireTime(long processingUnitEventProcessorCacheExpireTime)
processingUnitEventProcessorCacheExpireTime - the Processing Unit event processor cache expire time.long getScriptClassInstancePoviderCacheExpireTime()
-1 means that the
cache is turned off. The value -1 means that there will be no expire time for this cache. The default value is 0.void setScriptClassInstancePoviderCacheExpireTime(long scriptClassInstancePoviderCacheExpireTime)
scriptClassInstancePoviderCacheExpireTime - the script-based class instance creation expression cache expire time.Copyright © 2016–2020 Softelnet. All rights reserved.