GigaSpaces XAP 7.0 API

org.openspaces.remoting.scripting.cache
Class BlockingQueueCompiledScriptPoolFactory

java.lang.Object
  extended by 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

Field Summary
static int DEFAULT_SIZE
           
 
Constructor Summary
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.
 
Method Summary
 CompiledScriptPool create()
          Constructs a new BlockingQueueCompiledScriptPool with the configured size.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

DEFAULT_SIZE

public static final int DEFAULT_SIZE
See Also:
Constant Field Values
Constructor Detail

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.

Method Detail

create

public CompiledScriptPool create()
Constructs a new BlockingQueueCompiledScriptPool with the configured size.

Specified by:
create in interface CompiledScriptPoolFactory

GigaSpaces XAP 7.0 API

Copyright © GigaSpaces.