Class 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 Detail

      • initialSize

        protected final int initialSize
      • environment

        protected final org.kie.api.runtime.Environment environment
    • Constructor Detail

      • AbstractKieSessionsPool

        protected AbstractKieSessionsPool​(int initialSize)
    • Method Detail

      • shutdown

        public void shutdown()
        Specified by:
        shutdown in interface org.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)
      • getKey

        protected abstract String getKey​(String kSessionName,
                                         org.kie.api.runtime.KieSessionConfiguration conf,
                                         boolean stateless)