Package org.drools.kiesession.session
Class AbstractKieSessionsPool
java.lang.Object
org.drools.kiesession.session.AbstractKieSessionsPool
- All Implemented Interfaces:
KieSessionsPool
- Direct Known Subclasses:
KieSessionsPoolImpl
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected abstract StatefulSessionPoolcreateStatefulSessionPool(String kSessionName, KieSessionConfiguration conf, boolean stateless) protected abstract StringgetKey(String kSessionName, KieSessionConfiguration conf, boolean stateless) protected StatefulSessionPoolgetPool(String kSessionName, KieSessionConfiguration conf, boolean stateless) protected StatefulSessionPoolgetPool(KieSessionConfiguration conf, boolean stateless) voidshutdown()Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.kie.api.runtime.KieSessionsPool
newKieSession, newKieSession, newStatelessKieSession, newStatelessKieSession
-
Field Details
-
initialSize
protected final int initialSize -
environment
-
-
Constructor Details
-
AbstractKieSessionsPool
protected AbstractKieSessionsPool(int initialSize)
-
-
Method Details
-
shutdown
public void shutdown()- Specified by:
shutdownin interfaceKieSessionsPool
-
getPool
-
getPool
protected StatefulSessionPool getPool(String kSessionName, KieSessionConfiguration conf, boolean stateless) -
createStatefulSessionPool
protected abstract StatefulSessionPool createStatefulSessionPool(String kSessionName, KieSessionConfiguration conf, boolean stateless) -
getKey
protected abstract String getKey(String kSessionName, KieSessionConfiguration conf, boolean stateless)
-