public class StatefulSessionPool extends Object
Constructor and Description |
---|
StatefulSessionPool(KnowledgeBaseImpl kbase,
int initialSize,
Supplier<StatefulKnowledgeSessionImpl> supplier) |
Modifier and Type | Method and Description |
---|---|
StatefulKnowledgeSessionImpl |
get() |
KnowledgeBaseImpl |
getKieBase() |
void |
release(StatefulKnowledgeSessionImpl session) |
void |
shutdown() |
public StatefulSessionPool(KnowledgeBaseImpl kbase, int initialSize, Supplier<StatefulKnowledgeSessionImpl> supplier)
public KnowledgeBaseImpl getKieBase()
public StatefulKnowledgeSessionImpl get()
public void release(StatefulKnowledgeSessionImpl session)
public void shutdown()
Copyright © 2001–2018 JBoss by Red Hat. All rights reserved.