Package net.ontopia.persistence.proxy
Interface StorageIF
-
- All Known Implementing Classes:
RDBMSStorage
public interface StorageIF
INTERNAL: 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 void
close()
INTERNAL: Closes the storage definition, which allows it to free its resources.TransactionIF
createTransaction(boolean readonly)
INTERNAL: Creates a new storage access instance.EvictableIF
getHelperObject(int identifier, IdentityIF namespace)
INTERNAL: Returns the shared caches.RDBMSMapping
getMapping()
INTERNAL: Returns the optimized object relational mapping declaration.Map<String,String>
getProperties()
INTERNAL: Gets the properties held by the storage.String
getProperty(String property)
INTERNAL: Gets the value of the specified storage property.StorageCacheIF
getStorageCache()
INTERNAL: Returns the shared storage cache, if any.boolean
isSharedCache()
INTERNAL: Returns true if shared cache is enabled.void
notifyCluster()
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.
-
-