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
  • Field Details

  • Constructor Details

    • 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 Details