org.openspaces.remoting.scripting.cache
Class BlockingQueueCompiledScriptPoolFactory
java.lang.Object
org.openspaces.remoting.scripting.cache.BlockingQueueCompiledScriptPoolFactory
- All Implemented Interfaces:
- CompiledScriptPoolFactory
public class BlockingQueueCompiledScriptPoolFactory
- extends Object
- implements CompiledScriptPoolFactory
A compiles script pool factory that create a BlockingQueueCompiledScriptPool
.
Default size of the pool is 5. Meaning the compiled script pool will hold 5 compiled scripts of the same
script.
- Author:
- kimchy
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
DEFAULT_SIZE
public static final int DEFAULT_SIZE
- See Also:
- Constant Field Values
BlockingQueueCompiledScriptPoolFactory
public BlockingQueueCompiledScriptPoolFactory()
- Constructs a new blocking queue compiled script pool with default size of
5
.
BlockingQueueCompiledScriptPoolFactory
public BlockingQueueCompiledScriptPoolFactory(int size)
- Constructs a new blocking queue compiled script pool with its size as a parameter.
create
public CompiledScriptPool create()
- Constructs a new
BlockingQueueCompiledScriptPool
with the configured size.
- Specified by:
create
in interface CompiledScriptPoolFactory
Copyright © GigaSpaces.