public class BlockingQueueCompiledScriptPoolFactory extends Object implements CompiledScriptPoolFactory
BlockingQueueCompiledScriptPool.
Default size of the pool is 5. Meaning the compiled script pool will hold 5 compiled scripts of the same script.
| Modifier and Type | Field and Description |
|---|---|
static int |
DEFAULT_SIZE |
| Constructor and Description |
|---|
BlockingQueueCompiledScriptPoolFactory()
Constructs a new blocking queue compiled script pool with default size of
5. |
BlockingQueueCompiledScriptPoolFactory(int size)
Constructs a new blocking queue compiled script pool with its size as a parameter.
|
| Modifier and Type | Method and Description |
|---|---|
CompiledScriptPool |
create()
Constructs a new
BlockingQueueCompiledScriptPool
with the configured size. |
public static final int DEFAULT_SIZE
public BlockingQueueCompiledScriptPoolFactory()
5.public BlockingQueueCompiledScriptPoolFactory(int size)
public CompiledScriptPool create()
BlockingQueueCompiledScriptPool
with the configured size.create in interface CompiledScriptPoolFactoryCopyright © GigaSpaces.