Interface InternalKnowledgeBase

  • All Superinterfaces:
    org.kie.api.KieBase, org.kie.api.event.kiebase.KieBaseEventManager, org.drools.core.impl.RuleBase
    All Known Implementing Classes:
    SessionsAwareKnowledgeBase

    public interface InternalKnowledgeBase
    extends org.drools.core.impl.RuleBase, org.kie.api.KieBase
    • Method Summary

      All Methods Instance Methods Abstract Methods 
      Modifier and Type Method Description
      void addStatefulSession​(org.drools.core.common.InternalWorkingMemory wm)  
      void disposeStatefulSession​(org.drools.core.common.InternalWorkingMemory statefulSession)  
      void enqueueModification​(Runnable modification)  
      boolean flushModifications()  
      org.drools.core.impl.InternalKieContainer getKieContainer()  
      Collection<? extends org.kie.api.runtime.KieSession> getKieSessions()  
      org.kie.api.runtime.KieSessionsPool getSessionPool()  
      Collection<org.drools.core.common.InternalWorkingMemory> getWorkingMemories()  
      void initMBeans()  
      org.kie.api.runtime.KieSession newKieSession()  
      org.kie.api.runtime.KieSession newKieSession​(org.kie.api.runtime.KieSessionConfiguration conf, org.kie.api.runtime.Environment environment)  
      org.kie.api.runtime.KieSession newKieSession​(org.kie.api.runtime.KieSessionConfiguration conf, org.kie.api.runtime.Environment environment, boolean fromPool)  
      org.kie.api.runtime.KieSessionsPool newKieSessionsPool​(int initialSize)  
      org.kie.api.runtime.StatelessKieSession newStatelessKieSession()  
      org.kie.api.runtime.StatelessKieSession newStatelessKieSession​(org.kie.api.runtime.KieSessionConfiguration conf)  
      int nextWorkingMemoryCounter()  
      void setKieContainer​(org.drools.core.impl.InternalKieContainer kieContainer)  
      • Methods inherited from interface org.kie.api.KieBase

        getEntryPointIds, getFactType, getKiePackage, getKiePackages, getProcess, getProcesses, getQuery, getRule, removeFunction, removeKiePackage, removeProcess, removeQuery, removeRule
      • Methods inherited from interface org.kie.api.event.kiebase.KieBaseEventManager

        addEventListener, getKieBaseEventListeners, removeEventListener
      • Methods inherited from interface org.drools.core.impl.RuleBase

        addGlobal, addPackage, addPackages, addProcess, addReceiveNode, addRules, afterIncrementalUpdate, beforeIncrementalUpdate, createNewPartitionId, createSegmentFromPrototype, executeQueuedActions, getAddedEntryNodeCache, getClassFieldAccessorCache, getConfiguration, getContainerId, getEntryPointIds, getExactTypeDeclaration, getFactType, getGlobals, getId, getKiePackage, getKiePackages, getMemoryCount, getNodeCount, getOrCreateExactTypeDeclaration, getPackage, getPackages, getPackagesMap, getProcess, getProcesses, getQuery, getReceiveNodes, getRemovedEntryNodeCache, getResolvedReleaseId, getRete, getReteooBuilder, getRootClassLoader, getRule, getRuleUnitDescriptionRegistry, getSegmentPrototype, getSessionConfiguration, getTypeDeclaration, getTypeDeclarations, getWorkingMemoryCounter, hasMultipleAgendaGroups, hasSegmentPrototypes, hasUnits, invalidateSegmentPrototype, newFactHandleFactory, newFactHandleFactory, processAllTypesDeclaration, readLock, readUnlock, registerAddedEntryNodeCache, registerAndLoadTypeDefinition, registeRremovedEntryNodeCache, registerSegmentPrototype, registerTypeDeclaration, removeFunction, removeGlobal, removeKiePackage, removeObjectsGeneratedFromResource, removeProcess, removeQuery, removeRule, removeRules, setContainerId, setResolvedReleaseId
    • Method Detail

      • newKieSession

        org.kie.api.runtime.KieSession newKieSession​(org.kie.api.runtime.KieSessionConfiguration conf,
                                                     org.kie.api.runtime.Environment environment)
        Specified by:
        newKieSession in interface org.kie.api.KieBase
      • newKieSession

        org.kie.api.runtime.KieSession newKieSession()
        Specified by:
        newKieSession in interface org.kie.api.KieBase
      • newKieSessionsPool

        org.kie.api.runtime.KieSessionsPool newKieSessionsPool​(int initialSize)
        Specified by:
        newKieSessionsPool in interface org.kie.api.KieBase
      • getKieSessions

        Collection<? extends org.kie.api.runtime.KieSession> getKieSessions()
        Specified by:
        getKieSessions in interface org.kie.api.KieBase
      • getWorkingMemories

        Collection<org.drools.core.common.InternalWorkingMemory> getWorkingMemories()
      • newStatelessKieSession

        org.kie.api.runtime.StatelessKieSession newStatelessKieSession​(org.kie.api.runtime.KieSessionConfiguration conf)
        Specified by:
        newStatelessKieSession in interface org.kie.api.KieBase
      • newStatelessKieSession

        org.kie.api.runtime.StatelessKieSession newStatelessKieSession()
        Specified by:
        newStatelessKieSession in interface org.kie.api.KieBase
      • getSessionPool

        org.kie.api.runtime.KieSessionsPool getSessionPool()
      • enqueueModification

        void enqueueModification​(Runnable modification)
      • flushModifications

        boolean flushModifications()
      • nextWorkingMemoryCounter

        int nextWorkingMemoryCounter()
      • addStatefulSession

        void addStatefulSession​(org.drools.core.common.InternalWorkingMemory wm)
      • newKieSession

        org.kie.api.runtime.KieSession newKieSession​(org.kie.api.runtime.KieSessionConfiguration conf,
                                                     org.kie.api.runtime.Environment environment,
                                                     boolean fromPool)
      • setKieContainer

        void setKieContainer​(org.drools.core.impl.InternalKieContainer kieContainer)
      • disposeStatefulSession

        void disposeStatefulSession​(org.drools.core.common.InternalWorkingMemory statefulSession)
      • getKieContainer

        org.drools.core.impl.InternalKieContainer getKieContainer()
      • initMBeans

        void initMBeans()