|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.openanzo.client.DatasetServiceProperties
public class DatasetServiceProperties
Configuration properties for the local client stack.
| Field Summary | |
|---|---|
static java.lang.String |
KEY_IMMEDIATE_EVENTS_ENABLED
Key for property "org.openanzo.local.immediateEvents.enabled" Fire immediate graph events to listeners upon committing transaction to queue. |
static java.lang.String |
KEY_PERSISTENCE_ENABLED
Key for property "org.openanzo.local.persistence.enabled" This determines if the data retrieved into the local cache and local transactions are persisted to disk Server:Not Used Client:If true, the client stack uses a relational database to store statements, as opposed to an in memory store if false. Embedded:Should not be used, since an embedded client is already directly accessing the server copy of the data. |
| Constructor Summary | |
|---|---|
DatasetServiceProperties()
|
|
| Method Summary | |
|---|---|
static boolean |
getImmediateEventsEnabled(java.util.Properties properties)
Get KEY_IMMEDIATE_EVENTS_ENABLED property from properties |
static boolean |
getPersistenceEnabled(java.util.Properties properties)
Get KEY_PERSISTENCE_ENABLED property from properties |
static void |
setImmediateEventsEnabled(java.util.Properties properties,
boolean immediateEventsEnabled)
Set KEY_IMMEDIATE_EVENTS_ENABLED property to immediateEvents.enabled in properties |
static void |
setPersistenceEnabled(java.util.Properties properties,
boolean persistenceEnabled)
Set KEY_PERSISTENCE_ENABLED property to persistence.enabled in properties |
| Methods inherited from class java.lang.Object |
|---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
public static final java.lang.String KEY_PERSISTENCE_ENABLED
public static final java.lang.String KEY_IMMEDIATE_EVENTS_ENABLED
| Constructor Detail |
|---|
public DatasetServiceProperties()
| Method Detail |
|---|
public static boolean getPersistenceEnabled(java.util.Properties properties)
KEY_PERSISTENCE_ENABLED property from properties
properties - containing configuration data
KEY_PERSISTENCE_ENABLED,or "false" if not present
public static void setPersistenceEnabled(java.util.Properties properties,
boolean persistenceEnabled)
KEY_PERSISTENCE_ENABLED property to persistence.enabled in properties
properties - containing configuration datapersistenceEnabled - value for persistence.enabledpublic static boolean getImmediateEventsEnabled(java.util.Properties properties)
KEY_IMMEDIATE_EVENTS_ENABLED property from properties
properties - containing configuration data
KEY_IMMEDIATE_EVENTS_ENABLED,or "false" if not present
public static void setImmediateEventsEnabled(java.util.Properties properties,
boolean immediateEventsEnabled)
KEY_IMMEDIATE_EVENTS_ENABLED property to immediateEvents.enabled in properties
properties - containing configuration dataimmediateEventsEnabled - value for immediateEvents.enabled
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||