Package net.ontopia.persistence.proxy
Interface StorageIF
-
- All Known Implementing Classes:
RDBMSStorage
public interface StorageIFINTERNAL: Interface for accessing storage definitions.This class is similar to the JDO PersistenceManagerFactory interface.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description voidclose()INTERNAL: Closes the storage definition, which allows it to free its resources.TransactionIFcreateTransaction(boolean readonly)INTERNAL: Creates a new storage access instance.EvictableIFgetHelperObject(int identifier, IdentityIF namespace)INTERNAL: Returns the shared caches.RDBMSMappinggetMapping()INTERNAL: Returns the optimized object relational mapping declaration.Map<String,String>getProperties()INTERNAL: Gets the properties held by the storage.StringgetProperty(String property)INTERNAL: Gets the value of the specified storage property.StorageCacheIFgetStorageCache()INTERNAL: Returns the shared storage cache, if any.booleanisSharedCache()INTERNAL: Returns true if shared cache is enabled.voidnotifyCluster()INTERNAL: Notify cluster that transaction has been committed, so that batched cluster events can be broadcasted.
-
-
-
Method Detail
-
getMapping
RDBMSMapping getMapping()
INTERNAL: Returns the optimized object relational mapping declaration.
-
isSharedCache
boolean isSharedCache()
INTERNAL: Returns true if shared cache is enabled.
-
getStorageCache
StorageCacheIF getStorageCache()
INTERNAL: Returns the shared storage cache, if any.
-
getHelperObject
EvictableIF getHelperObject(int identifier, IdentityIF namespace)
INTERNAL: Returns the shared caches.
-
notifyCluster
void notifyCluster()
INTERNAL: Notify cluster that transaction has been committed, so that batched cluster events can be broadcasted.
-
createTransaction
TransactionIF createTransaction(boolean readonly)
INTERNAL: Creates a new storage access instance.
-
getProperties
Map<String,String> getProperties()
INTERNAL: Gets the properties held by the storage.
-
getProperty
String getProperty(String property)
INTERNAL: Gets the value of the specified storage property.
-
close
void close()
INTERNAL: Closes the storage definition, which allows it to free its resources.
-
-