Package org.drools.kiesession.session
Class AbstractKieSessionsPool
- java.lang.Object
-
- org.drools.kiesession.session.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.Environmentenvironmentprotected intinitialSize
-
Constructor Summary
Constructors Modifier Constructor Description protectedAbstractKieSessionsPool(int initialSize)
-
Method Summary
All Methods Instance Methods Abstract Methods Concrete Methods Modifier and Type Method Description protected abstract StatefulSessionPoolcreateStatefulSessionPool(String kSessionName, org.kie.api.runtime.KieSessionConfiguration conf, boolean stateless)protected abstract StringgetKey(String kSessionName, org.kie.api.runtime.KieSessionConfiguration conf, boolean stateless)protected StatefulSessionPoolgetPool(String kSessionName, org.kie.api.runtime.KieSessionConfiguration conf, boolean stateless)protected StatefulSessionPoolgetPool(org.kie.api.runtime.KieSessionConfiguration conf, boolean stateless)voidshutdown()
-
-
-
Method Detail
-
shutdown
public void shutdown()
- Specified by:
shutdownin 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)
-
-