Package org.kie.remote.impl
Class RemoteStreamingKieSessionImpl
- java.lang.Object
-
- org.kie.remote.impl.AbstractRemoteEntryPoint
-
- org.kie.remote.impl.RemoteStreamingEntryPointImpl
-
- org.kie.remote.impl.RemoteStreamingKieSessionImpl
-
- All Implemented Interfaces:
Closeable,AutoCloseable,RemoteStatefulSession,RemoteStreamingEntryPoint,RemoteStreamingKieSession,RemoteWorkingMemory,UpdatableSession
public class RemoteStreamingKieSessionImpl extends RemoteStreamingEntryPointImpl implements RemoteStreamingKieSession
-
-
Field Summary
-
Fields inherited from class org.kie.remote.impl.RemoteStreamingEntryPointImpl
delegate
-
Fields inherited from class org.kie.remote.impl.AbstractRemoteEntryPoint
entryPoint, sender, topicsConfig
-
-
Constructor Summary
Constructors Constructor Description RemoteStreamingKieSessionImpl(Properties configuration, Listener listener, Producer producer)RemoteStreamingKieSessionImpl(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()RemoteStreamingEntryPointgetEntryPoint(String name)CompletableFuture<String>getKJarGAV()voidhalt()CompletableFuture<Boolean>updateKJarGAV(String kJar)-
Methods inherited from class org.kie.remote.impl.RemoteStreamingEntryPointImpl
getRequestsStore, insert
-
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.RemoteStreamingEntryPoint
insert
-
Methods inherited from interface org.kie.remote.RemoteWorkingMemory
getEntryPointId, getFactCount, getObject, getObjects, getObjects, getObjects
-
-
-
-
Constructor Detail
-
RemoteStreamingKieSessionImpl
public RemoteStreamingKieSessionImpl(Properties configuration, Listener listener, Producer producer)
-
RemoteStreamingKieSessionImpl
public RemoteStreamingKieSessionImpl(Properties configuration, TopicsConfig envConfig, Listener listener, Producer producer)
-
-
Method Detail
-
close
public void close()
- Specified by:
closein interfaceAutoCloseable- Specified by:
closein interfaceCloseable
-
getEntryPoint
public RemoteStreamingEntryPoint getEntryPoint(String name)
- Specified by:
getEntryPointin interfaceRemoteStreamingKieSession
-
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 interfaceUpdatableSession
-
getKJarGAV
public CompletableFuture<String> getKJarGAV()
- Specified by:
getKJarGAVin interfaceUpdatableSession
-
-