Skip to content

Computation Execution Extension

papousek edited this page Jul 1, 2012 · 2 revisions

Description

The extension provides executors being able to execute computations. The provided services are placed in ApplicationScope.

Maven Dependency

<dependency>
    <groupId>org.sybila.parasim.extension</groupId>
    <artifactId>computation-execution-impl</artifactId>
    <version>${parasim.version}</version>
</dependency>

Configuration

Property Type
queueSize int
defaultExecutorClass String
coreThreadPoolSize int
maxThreadPoolSize int
keepThreadAliveTimeInSeconds long
numberOfThreadsInSharedMemory int

Usage

The extension provides the following executors:

  • Executor
    • SequentialExecutor
    • ParallelExecutor
      • DistributedMemoryExecutor
      • SharedMemoryExecutor

The executors shouldn't be called directly. See Computation Lifecycle Extension for more information.