org.protempa.datastore contains classes for
accessing external temporary and permanent stores.See: Description
| Interface | Description |
|---|---|
| DataStoreCreator<K,V> |
An interface for defining classes that return external data stores.
|
| Class | Description |
|---|---|
| AbstractDataStoreCreator<K,V> | |
| PropositionStoreCreator<P extends Proposition> |
A permanent store mapping key IDs to lists of propositions.
|
| UniqueIdUniqueIdStoreCreator | |
| UniqueIdUniqueIdStoreCreator.Reference | |
| WorkingMemoryStoreCreator |
A class to generate permanent stores mapping key IDs to Drools working memory
objects.
|
org.protempa.datastore contains classes for
accessing external temporary and permanent stores. This is the only type-safe
way of getting handles to the org.arp.javautil.DataStore interface, via
the org.arp.javautil.datastore.DataStoreFactory class. If a new type
of store is needed, an appropriate class should be created and should
implement DataStoreCreator, which
defines two methods for building stores.
getPermanentStore returns a named store that will not be removed
once execution is finished. If a store with that name already exists, it may
be returned. Otherwise, a new store will be created.
newCacheStore returns a temporary store that will be destroyed
once execution is complete. Caches are not named, and the method is
guaranteed to return a new store each time it is called, so it is the
caller's responsibility to keep a reference to the store.
Copyright © 2012–2016 Emory University. All rights reserved.