public interface RemoteWorkingMemory
Modifier and Type | Method and Description |
---|---|
String |
getEntryPointId() |
CompletableFuture<Long> |
getFactCount() |
<T> CompletableFuture<T> |
getObject(RemoteFactHandle<T> remoteFactHandle) |
CompletableFuture<Collection> |
getObjects()
This class is not a general-purpose Collection
implementation!
|
<T> CompletableFuture<Collection<T>> |
getObjects(Class<T> clazztype) |
CompletableFuture<Collection> |
getObjects(String namedQuery,
String objectName,
Serializable... params) |
String getEntryPointId()
CompletableFuture<Collection> getObjects()
This class is not a general-purpose Collection implementation! While this class implements the Collection interface, it intentionally violates Collection general contract, which mandates the use of the equals method when comparing objects.
Instead the approach used when comparing objects with the contains(Object) method is dependent on the WorkingMemory configuration, where it can be configured for Identity or for Equality.
<T> CompletableFuture<Collection<T>> getObjects(Class<T> clazztype)
clazztype
- the filter to be applied to the returned collection of facts.CompletableFuture<Collection> getObjects(String namedQuery, String objectName, Serializable... params)
namedQuery
- the filter to be applied to the returned collection of facts.CompletableFuture<Long> getFactCount()
<T> CompletableFuture<T> getObject(RemoteFactHandle<T> remoteFactHandle)
RemoteFactHandle
- to retrieve.Copyright © 2001–2020 JBoss by Red Hat. All rights reserved.