Package org.drools.core.impl
Class AbstractKieSessionsPool
- java.lang.Object
-
- org.drools.core.impl.AbstractKieSessionsPool
-
- All Implemented Interfaces:
org.kie.api.runtime.KieSessionsPool
- Direct Known Subclasses:
KieSessionsPoolImpl
public abstract class AbstractKieSessionsPool extends Object implements org.kie.api.runtime.KieSessionsPool
-
-
Field Summary
Fields Modifier and Type Field Description protected org.kie.api.runtime.Environment
environment
protected int
initialSize
-
Constructor Summary
Constructors Modifier Constructor Description protected
AbstractKieSessionsPool(int initialSize)
-
Method Summary
All Methods Instance Methods Abstract Methods Concrete Methods Modifier and Type Method Description protected abstract StatefulSessionPool
createStatefulSessionPool(String kSessionName, org.kie.api.runtime.KieSessionConfiguration conf, boolean stateless)
protected abstract String
getKey(String kSessionName, org.kie.api.runtime.KieSessionConfiguration conf, boolean stateless)
protected StatefulSessionPool
getPool(String kSessionName, org.kie.api.runtime.KieSessionConfiguration conf, boolean stateless)
protected StatefulSessionPool
getPool(org.kie.api.runtime.KieSessionConfiguration conf, boolean stateless)
void
shutdown()
-
-
-
Method Detail
-
shutdown
public void shutdown()
- Specified by:
shutdown
in interfaceorg.kie.api.runtime.KieSessionsPool
-
getPool
protected StatefulSessionPool getPool(org.kie.api.runtime.KieSessionConfiguration conf, boolean stateless)
-
getPool
protected StatefulSessionPool getPool(String kSessionName, org.kie.api.runtime.KieSessionConfiguration conf, boolean stateless)
-
createStatefulSessionPool
protected abstract StatefulSessionPool createStatefulSessionPool(String kSessionName, org.kie.api.runtime.KieSessionConfiguration conf, boolean stateless)
-
-