Package org.kie.remote.impl
Class RemoteKieSessionImpl
- java.lang.Object
-
- org.kie.remote.impl.AbstractRemoteEntryPoint
-
- org.kie.remote.impl.RemoteEntryPointImpl
-
- org.kie.remote.impl.RemoteKieSessionImpl
-
- All Implemented Interfaces:
Closeable,AutoCloseable,RemoteEntryPoint,RemoteKieSession,RemoteStatefulSession,RemoteWorkingMemory,UpdatableSession
public class RemoteKieSessionImpl extends RemoteEntryPointImpl implements RemoteKieSession
-
-
Field Summary
-
Fields inherited from class org.kie.remote.impl.RemoteEntryPointImpl
delegate
-
Fields inherited from class org.kie.remote.impl.AbstractRemoteEntryPoint
entryPoint, sender, topicsConfig
-
-
Constructor Summary
Constructors Constructor Description RemoteKieSessionImpl(Properties configuration, Listener listener, Producer producer)RemoteKieSessionImpl(Properties configuration, TopicsConfig envConfig, Listener listener, Producer producer)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidclose()CompletableFuture<Long>fireAllRules()voidfireUntilHalt()RemoteEntryPointgetEntryPoint(String name)CompletableFuture<String>getKJarGAV()voidhalt()CompletableFuture<Boolean>updateKJarGAV(String kJar)-
Methods inherited from class org.kie.remote.impl.RemoteEntryPointImpl
delete, getRequestsStore, insert, update
-
Methods inherited from class org.kie.remote.impl.AbstractRemoteEntryPoint
executeCommand, getEntryPointId, getFactCount, getObject, getObjects, getObjects, getObjects
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface org.kie.remote.RemoteEntryPoint
delete, insert, update
-
Methods inherited from interface org.kie.remote.RemoteWorkingMemory
getEntryPointId, getFactCount, getObject, getObjects, getObjects, getObjects
-
-
-
-
Constructor Detail
-
RemoteKieSessionImpl
public RemoteKieSessionImpl(Properties configuration, Listener listener, Producer producer)
-
RemoteKieSessionImpl
public RemoteKieSessionImpl(Properties configuration, TopicsConfig envConfig, Listener listener, Producer producer)
-
-
Method Detail
-
close
public void close()
- Specified by:
closein interfaceAutoCloseable- Specified by:
closein interfaceCloseable
-
getEntryPoint
public RemoteEntryPoint getEntryPoint(String name)
- Specified by:
getEntryPointin interfaceRemoteKieSession
-
fireAllRules
public CompletableFuture<Long> fireAllRules()
- Specified by:
fireAllRulesin interfaceRemoteStatefulSession
-
fireUntilHalt
public void fireUntilHalt()
- Specified by:
fireUntilHaltin interfaceRemoteStatefulSession
-
halt
public void halt()
- Specified by:
haltin interfaceRemoteStatefulSession
-
updateKJarGAV
public CompletableFuture<Boolean> updateKJarGAV(String kJar)
- Specified by:
updateKJarGAVin interfaceRemoteKieSession- Specified by:
updateKJarGAVin interfaceUpdatableSession
-
getKJarGAV
public CompletableFuture<String> getKJarGAV()
- Specified by:
getKJarGAVin interfaceRemoteKieSession- Specified by:
getKJarGAVin interfaceUpdatableSession
-
-