public final class WorkingMemoryStoreCreator extends AbstractDataStoreCreator<String,org.drools.WorkingMemory>
| Modifier and Type | Field and Description |
|---|---|
static String |
DATABASE_NAME |
| Constructor and Description |
|---|
WorkingMemoryStoreCreator(org.drools.RuleBase ruleBase) |
WorkingMemoryStoreCreator(org.drools.RuleBase ruleBase,
String environmentName) |
| Modifier and Type | Method and Description |
|---|---|
static WorkingMemoryStoreCreator |
getInstance(org.drools.RuleBase ruleBase)
Returns an instance of this class, which can be used to get either a
permanent or temporary store.
|
org.eurekaclinical.datastore.DataStore<String,org.drools.WorkingMemory> |
getPersistentStore()
Returns a permanent store with the given name.
|
protected String |
nextDatabaseName() |
getEnvironmentName, newCacheStorepublic static final String DATABASE_NAME
public WorkingMemoryStoreCreator(org.drools.RuleBase ruleBase)
public WorkingMemoryStoreCreator(org.drools.RuleBase ruleBase,
String environmentName)
public static WorkingMemoryStoreCreator getInstance(org.drools.RuleBase ruleBase)
ruleBase - the Drools rule base that all of the working memory
objects are generated from.WorkingMemoryStoreCreatorpublic org.eurekaclinical.datastore.DataStore<String,org.drools.WorkingMemory> getPersistentStore()
DataStoreCreatorDataStore backed by a permanent store implementationprotected String nextDatabaseName()
nextDatabaseName in class AbstractDataStoreCreator<String,org.drools.WorkingMemory>Copyright © 2012–2017 Emory University. All rights reserved.