public class RemoteEntryPointImpl extends AbstractRemoteEntryPoint implements RemoteEntryPoint
Modifier and Type | Field and Description |
---|---|
protected RemoteStatefulSessionImpl |
delegate |
entryPoint, sender, topicsConfig
Modifier | Constructor and Description |
---|---|
protected |
RemoteEntryPointImpl(Sender sender,
String entryPoint,
TopicsConfig topicsConfig,
Listener listener) |
protected |
RemoteEntryPointImpl(Sender sender,
String entryPoint,
TopicsConfig topicsConfig,
RemoteStatefulSessionImpl delegate) |
Modifier and Type | Method and Description |
---|---|
<T> void |
delete(RemoteFactHandle<T> handle)
Retracts the fact for which the given FactHandle was assigned
regardless if it has been explicitly or logically inserted.
|
protected Map<String,CompletableFuture<Object>> |
getRequestsStore() |
<T> RemoteFactHandle<T> |
insert(T obj)
Inserts a new fact into this entry point
|
<T> void |
update(RemoteFactHandle<T> handle,
T object)
Updates the fact for which the given FactHandle was assigned with the new
fact set as the second parameter in this method.
|
executeCommand, getEntryPointId, getFactCount, getObject, getObjects, getObjects, getObjects
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
getEntryPointId, getFactCount, getObject, getObjects, getObjects, getObjects
protected final RemoteStatefulSessionImpl delegate
protected RemoteEntryPointImpl(Sender sender, String entryPoint, TopicsConfig topicsConfig, Listener listener)
protected RemoteEntryPointImpl(Sender sender, String entryPoint, TopicsConfig topicsConfig, RemoteStatefulSessionImpl delegate)
public <T> RemoteFactHandle<T> insert(T obj)
RemoteEntryPoint
insert
in interface RemoteEntryPoint
obj
- the fact to be insertedpublic <T> void delete(RemoteFactHandle<T> handle)
RemoteEntryPoint
delete
in interface RemoteEntryPoint
handle
- the handle whose fact is to be retracted.public <T> void update(RemoteFactHandle<T> handle, T object)
RemoteEntryPoint
update
in interface RemoteEntryPoint
handle
- the FactHandle for the fact to be updated.object
- the new value for the fact being updated.protected Map<String,CompletableFuture<Object>> getRequestsStore()
getRequestsStore
in class AbstractRemoteEntryPoint
Copyright © 2001–2020 JBoss by Red Hat. All rights reserved.