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 |
---|---|
void |
delete(RemoteFactHandle 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() |
RemoteFactHandle |
insert(Object obj)
Inserts a new fact into this entry point
|
void |
update(RemoteFactHandle handle,
Object 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, getObjects, getObjects, getObjects
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
getEntryPointId, getFactCount, 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 RemoteFactHandle insert(Object obj)
RemoteEntryPoint
insert
in interface RemoteEntryPoint
obj
- the fact to be insertedpublic void delete(RemoteFactHandle handle)
RemoteEntryPoint
delete
in interface RemoteEntryPoint
handle
- the handle whose fact is to be retracted.public void update(RemoteFactHandle handle, Object 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–2019 JBoss by Red Hat. All rights reserved.