Package org.drools.core.impl
Class StatefulSessionPool
- java.lang.Object
-
- org.drools.core.impl.StatefulSessionPool
-
public class StatefulSessionPool extends Object
-
-
Constructor Summary
Constructors Constructor Description StatefulSessionPool(KnowledgeBaseImpl kbase, int initialSize, Supplier<StatefulKnowledgeSessionImpl> supplier)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description StatefulKnowledgeSessionImpl
get()
KnowledgeBaseImpl
getKieBase()
void
release(StatefulKnowledgeSessionImpl session)
void
shutdown()
-
-
-
Constructor Detail
-
StatefulSessionPool
public StatefulSessionPool(KnowledgeBaseImpl kbase, int initialSize, Supplier<StatefulKnowledgeSessionImpl> supplier)
-
-
Method Detail
-
getKieBase
public KnowledgeBaseImpl getKieBase()
-
get
public StatefulKnowledgeSessionImpl get()
-
release
public void release(StatefulKnowledgeSessionImpl session)
-
shutdown
public void shutdown()
-
-