| |
|
| java.lang.Object org.jpox.store.StoreDataManager
StoreDataManager | public class StoreDataManager (Code) | | StoreData Cache Manager
|
savedStoreDataByAppIdClass | protected MultiMap savedStoreDataByAppIdClass(Code) | | the memory image of schema data beforing running it *
|
savedStoreDataByClass | protected Map savedStoreDataByClass(Code) | | the memory image of schema data beforing running it *
|
storeDataByAppIdClass | protected MultiMap storeDataByAppIdClass(Code) | | Map of all managed store data using Application Identity, keyed by the app id PK class
|
storeDataByClass | protected Map storeDataByClass(Code) | | Map of all managed store data, keyed by the class/field name.
|
begin | public void begin()(Code) | | Begin a transaction that changes the StoreData cache
|
clear | public void clear()(Code) | | Clear the cache
|
commit | public void commit()(Code) | | Commit the transaction changes to the StoreData cache
|
get | public StoreData get(String className)(Code) | | Get the StoreData by the given className
Parameters: className - the fully qualified class name the StoreData |
getByPrimaryKeyClass | public Collection getByPrimaryKeyClass(String className)(Code) | | Get the Collection of StoreData that currently uses this primary key class
Parameters: className - the primary key class name the Collection of StoreData |
getManagedStoreData | public Collection getManagedStoreData()(Code) | | Accessor for the StoreData currently managed by this store.
Collection of the StoreData being managed |
getStoreDataForDatastoreContainerObject | public synchronized TableStoreData[] getStoreDataForDatastoreContainerObject(DatastoreIdentifier tableIdentifier)(Code) | | Utility to return all StoreData for a Datastore Container identifier.
Returns StoreData with this table identifier and where the class is the owner of the table.
Parameters: tableIdentifier - Identifier for the table The StoreData for this table (if managed). |
managesClass | public boolean managesClass(String className)(Code) | | Accessor for whether the specified class is managed currently
Parameters: className - The name of the class Whether it is managed |
registerStoreData | protected void registerStoreData(StoreData data)(Code) | | Method to register some data with the store.
This will also register the data with the starter process.
Parameters: data - The StoreData to add |
rollback | public void rollback()(Code) | | Rollbacks the transaction changes to the StoreData cache
|
size | public int size()(Code) | | Acessor to the number of StoreData in cache
the number of StoreData in cache |
|
|
|