com.apama.config
Event MemoryStoreConfigurationStore


Memory Store implementation of the ConfigurationServiceInterface.
See Also:
com.apama.config.ConfigurationStoreInterface - 
Routes:
com.apama.config.StoreCreateTableSuccess - 
com.apama.config.StoreInitSuccess - 
com.apama.config.StoreRequestFailure - 

Action summary
 voidcreateTable(integer id, com.apama.config.Schema schema, action<integer, com.apama.config.ConfigurationTableInterface> onSuccess, action<integer, string> onError)

Create a new table in the database. The result of calling this action if the requested table already exists is undefined.
 com.apama.config.ConfigurationStoreInterfacegetInterface(string storeName, string storePath)

Get the #ConfigurationStoreInterface used to access this database.
 
Action detail

createTable

void createTable(integer id, com.apama.config.Schema schema, action<integer, com.apama.config.ConfigurationTableInterface> onSuccess, action<integer, string> onError)
Create a new table in the database. The result of calling this action if the requested table already exists is undefined.
Parameters:
id - The request identifier.
schema - The schema for the new table.
onSuccess - Action to be called when the new table is successfully created. The id passed to the callback will be the same as the id argument to the #createTable() call and the configTable argument will provide access to the new table.
onError - Action to be called if the new table cannot be created. The id passed to the callback will be the same as the id argument to the #createTable() call and the message argument will provide a human- readable description of the failure.

getInterface

com.apama.config.ConfigurationStoreInterface getInterface(string storeName, string storePath)
Get the #ConfigurationStoreInterface used to access this database.
Parameters:
storeName
storePath
Returns:
A #ConfigurationStoreInterface object for this database.