Name | Signature and Synopsis |
---|---|
beginTransaction | void beginTransaction(String channelUri) Start a transaction |
commitTransaction | void commitTransaction(String channelUri) Commit a transaction |
getConceptBlobFromPayload | Object getConceptBlobFromPayload(SimpleEvent event, String blobFieldName, Concept conceptTemplate) Get Concept's Blob from the payload of SimpleEvent |
getConsumptionMode | String getConsumptionMode(SimpleEvent event) Gets the consumption mode. |
getEvent | Object getEvent(String destinationUri, SimpleEvent key) Get the event with specific key from Space |
getEventType | String getEventType(SimpleEvent event) Gets the event type. |
getEvents | Object[] getEvents(String destinationUri, SimpleEvent[] keys) Get the event result set |
getSimpleEventBlobFromPayload | Object getSimpleEventBlobFromPayload(SimpleEvent event, String blobFieldName, SimpleEvent eventTemplate) Get SimpleEvent's Blob from the payload of SimpleEvent |
lockEvent | Object lockEvent(String destinationUri, SimpleEvent event) Locks the event associated with a key event value |
lockEvents | Object[] lockEvents(String destinationUri, SimpleEvent[] keys) Batch lock operation |
putEvent | Object putEvent(String destinationUri, SimpleEvent event) Stores a event into the Space and returns the corresponding entry |
putEvents | Object[] putEvents(String destinationUri, SimpleEvent[] keys) Batch put operation |
query | Object[] query(String destinationUri, SimpleEvent eventTemplate, String browserTypeStr, String timeScope, String distributionScope, int timeout, long prefetch, String filter) Retrieves the entries that match the conditions you specified in the associated Space |
releaseTransaction | Object releaseTransaction(String channelUri) Return TransationId if the thread is in a transaction. TransactionId can then be given to another thread to continue transaction |
rollbackTransaction | void rollbackTransaction(String channelUri) Rollback a transaction |
takeEvent | Object takeEvent(String destinationUri, SimpleEvent key) Returns and atomically removes from the space the event (if one exists) whose event key fields match the key fields of the event provided |
takeEvents | Object[] takeEvents(String destinationUri, SimpleEvent[] keys) Batch take operation |
takeSnapshot | Object[] takeSnapshot(String destinationUri, SimpleEvent eventTemplate, String browserTypeStr, String distributionScope, int timeout, long prefetch, String filter) Take snapshot of the entries that match the conditions you specified in the associated Space |
takeTransaction | void takeTransaction(String channelUri, Object transactionId) Take TransactionId to continue transaction |
unlockEvent | void unlockEvent(String destinationUri, SimpleEvent event) Unlocks the event associated with a key event value |
unlockEvents | Object[] unlockEvents(String destinationUri, SimpleEvent[] keys) Batch unlock operation |