public class DefaultEngineParameters extends Object implements org.openksavi.sponge.engine.EngineParameters
| Constructor and Description |
|---|
DefaultEngineParameters() |
public int getMainProcessingUnitThreadCount()
getMainProcessingUnitThreadCount in interface org.openksavi.sponge.engine.EngineParameterspublic int getProcessingUnitConcurrentListenerThreadCount()
getProcessingUnitConcurrentListenerThreadCount in interface org.openksavi.sponge.engine.EngineParameterspublic int getEventQueueCapacity()
getEventQueueCapacity in interface org.openksavi.sponge.engine.EngineParameterspublic int getDurationThreadCount()
getDurationThreadCount in interface org.openksavi.sponge.engine.EngineParameterspublic int getAsyncEventSetProcessorExecutorThreadCount()
getAsyncEventSetProcessorExecutorThreadCount in interface org.openksavi.sponge.engine.EngineParameterspublic org.openksavi.sponge.event.EventClonePolicy getEventClonePolicy()
getEventClonePolicy in interface org.openksavi.sponge.engine.EngineParameterspublic boolean getEventSetProcessorDefaultSynchronous()
getEventSetProcessorDefaultSynchronous in interface org.openksavi.sponge.engine.EngineParameterspublic long getExecutorShutdownTimeout()
getExecutorShutdownTimeout in interface org.openksavi.sponge.engine.EngineParameterspublic boolean getAllowConcurrentEventTypeProcessingByEventSetProcessors()
getAllowConcurrentEventTypeProcessingByEventSetProcessors in interface org.openksavi.sponge.engine.EngineParameterspublic int getAsyncEventSetProcessorProcessingPartitionSize()
getAsyncEventSetProcessorProcessingPartitionSize in interface org.openksavi.sponge.engine.EngineParameterspublic boolean getAutoEnable()
getAutoEnable in interface org.openksavi.sponge.engine.EngineParameterspublic void setMainProcessingUnitThreadCount(int mainProcessingUnitThreadCount)
setMainProcessingUnitThreadCount in interface org.openksavi.sponge.engine.EngineParameterspublic void setProcessingUnitConcurrentListenerThreadCount(int processingUnitConcurrentListenerThreadCount)
setProcessingUnitConcurrentListenerThreadCount in interface org.openksavi.sponge.engine.EngineParameterspublic void setEventQueueCapacity(int eventQueueCapacity)
setEventQueueCapacity in interface org.openksavi.sponge.engine.EngineParameterspublic void setDurationThreadCount(int durationThreadCount)
setDurationThreadCount in interface org.openksavi.sponge.engine.EngineParameterspublic void setAsyncEventSetProcessorExecutorThreadCount(int asyncEventSetProcessorExecutorThreadCount)
setAsyncEventSetProcessorExecutorThreadCount in interface org.openksavi.sponge.engine.EngineParameterspublic void setEventClonePolicy(org.openksavi.sponge.event.EventClonePolicy eventClonePolicy)
setEventClonePolicy in interface org.openksavi.sponge.engine.EngineParameterspublic void setEventSetProcessorDefaultSynchronous(boolean eventSetProcessorDefaultSynchronous)
setEventSetProcessorDefaultSynchronous in interface org.openksavi.sponge.engine.EngineParameterspublic void setExecutorShutdownTimeout(long executorShutdownTimeout)
setExecutorShutdownTimeout in interface org.openksavi.sponge.engine.EngineParameterspublic void setAsyncEventSetProcessorProcessingPartitionSize(int asyncEventSetProcessorProcessingPartitionSize)
setAsyncEventSetProcessorProcessingPartitionSize in interface org.openksavi.sponge.engine.EngineParameterspublic void setAllowConcurrentEventTypeProcessingByEventSetProcessors(boolean allowConcurrentEventTypeProcessingByEventSetProcessors)
setAllowConcurrentEventTypeProcessingByEventSetProcessors in interface org.openksavi.sponge.engine.EngineParameterspublic void setAutoEnable(boolean autoEnable)
setAutoEnable in interface org.openksavi.sponge.engine.EngineParameterspublic int getAsyncEventSetProcessorProcessingThreshold()
getAsyncEventSetProcessorProcessingThreshold in interface org.openksavi.sponge.engine.EngineParameterspublic void setAsyncEventSetProcessorProcessingThreshold(int asyncEventSetProcessorProcessingThreshold)
setAsyncEventSetProcessorProcessingThreshold in interface org.openksavi.sponge.engine.EngineParameterspublic int getMainProcessingUnitWorkerExecutorQueueSize()
getMainProcessingUnitWorkerExecutorQueueSize in interface org.openksavi.sponge.engine.EngineParameterspublic void setMainProcessingUnitWorkerExecutorQueueSize(int mainProcessingUnitWorkerExecutorQueueSize)
setMainProcessingUnitWorkerExecutorQueueSize in interface org.openksavi.sponge.engine.EngineParameterspublic long getInternalQueueBlockingPutSleep()
getInternalQueueBlockingPutSleep in interface org.openksavi.sponge.engine.EngineParameterspublic void setInternalQueueBlockingPutSleep(long internalQueueBlockingPutSleep)
setInternalQueueBlockingPutSleep in interface org.openksavi.sponge.engine.EngineParameterspublic int getDecomposedQueueCapacity()
getDecomposedQueueCapacity in interface org.openksavi.sponge.engine.EngineParameterspublic void setDecomposedQueueCapacity(int decomposedQueueCapacity)
setDecomposedQueueCapacity in interface org.openksavi.sponge.engine.EngineParameterspublic int getMainEventQueueCapacity()
getMainEventQueueCapacity in interface org.openksavi.sponge.engine.EngineParameterspublic void setMainEventQueueCapacity(int mainEventQueueCapacity)
setMainEventQueueCapacity in interface org.openksavi.sponge.engine.EngineParameterspublic double getInitialDynamicThreadPoolSizeRatio()
getInitialDynamicThreadPoolSizeRatio in interface org.openksavi.sponge.engine.EngineParameterspublic void setInitialDynamicThreadPoolSizeRatio(double initialDynamicThreadPoolSizeRatio)
setInitialDynamicThreadPoolSizeRatio in interface org.openksavi.sponge.engine.EngineParameterspublic long getDynamicThreadPoolKeepAliveTime()
getDynamicThreadPoolKeepAliveTime in interface org.openksavi.sponge.engine.EngineParameterspublic void setDynamicThreadPoolKeepAliveTime(long dynamicThreadPoolKeepAliveTime)
setDynamicThreadPoolKeepAliveTime in interface org.openksavi.sponge.engine.EngineParameterspublic long getProcessingUnitEventProcessorCacheExpireTime()
getProcessingUnitEventProcessorCacheExpireTime in interface org.openksavi.sponge.engine.EngineParameterspublic void setProcessingUnitEventProcessorCacheExpireTime(long processingUnitEventProcessorCacheExpireTime)
setProcessingUnitEventProcessorCacheExpireTime in interface org.openksavi.sponge.engine.EngineParameterspublic long getScriptClassInstancePoviderCacheExpireTime()
getScriptClassInstancePoviderCacheExpireTime in interface org.openksavi.sponge.engine.EngineParameterspublic void setScriptClassInstancePoviderCacheExpireTime(long scriptClassInstancePoviderCacheExpireTime)
setScriptClassInstancePoviderCacheExpireTime in interface org.openksavi.sponge.engine.EngineParametersCopyright © 2016–2017 Softelnet. All rights reserved.