public abstract class AbstractKieSessionsPool extends Object implements org.kie.api.runtime.KieSessionsPool
Modifier and Type | Field and Description |
---|---|
protected org.kie.api.runtime.Environment |
environment |
protected int |
initialSize |
Modifier | Constructor and Description |
---|---|
protected |
AbstractKieSessionsPool(int initialSize) |
Modifier and Type | Method and 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(org.kie.api.runtime.KieSessionConfiguration conf,
boolean stateless) |
protected StatefulSessionPool |
getPool(String kSessionName,
org.kie.api.runtime.KieSessionConfiguration conf,
boolean stateless) |
void |
shutdown() |
protected final int initialSize
protected final org.kie.api.runtime.Environment environment
public void shutdown()
shutdown
in interface org.kie.api.runtime.KieSessionsPool
protected StatefulSessionPool getPool(org.kie.api.runtime.KieSessionConfiguration conf, boolean stateless)
protected StatefulSessionPool getPool(String kSessionName, org.kie.api.runtime.KieSessionConfiguration conf, boolean stateless)
protected abstract StatefulSessionPool createStatefulSessionPool(String kSessionName, org.kie.api.runtime.KieSessionConfiguration conf, boolean stateless)
Copyright © 2001–2018 JBoss by Red Hat. All rights reserved.