uk.ac.ic.doc.automed.qproc.cache
Class CacheManagerFactory
java.lang.Object
uk.ac.ic.doc.automed.qproc.cache.CacheManagerFactory
public class CacheManagerFactory
- extends java.lang.Object
CacheManagerFactory.java
- Version:
- 1.0
Department of Computing, Imperial College
- Author:
- Duc M Le dmle@doc.ic.ac.uk
Constructor Summary |
private |
CacheManagerFactory()
Creates a new instance of CacheManagerFactory |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
CSCHEMA_NAME_DELIMITER
public static final java.lang.String CSCHEMA_NAME_DELIMITER
- See Also:
- Constant Field Values
_sid
private static int _sid
_mid
private static int _mid
_obid
private static int _obid
_cid
private static int _cid
cmInstances
private static java.util.Map cmInstances
CacheManagerFactory
private CacheManagerFactory()
- Creates a new instance of CacheManagerFactory
getProviderInstance
public static ICacheManager getProviderInstance()
throws ProviderNotFoundException
- Throws:
ProviderNotFoundException
getProviderInstance
public static ICacheManager getProviderInstance(java.lang.String providerClass)
throws ProviderNotFoundException
- Throws:
ProviderNotFoundException
getDefaultProviderInstance
public static ICacheManager getDefaultProviderInstance()
throws ProviderNotFoundException
- Throws:
ProviderNotFoundException
getProvider
private static ICacheManager getProvider(java.lang.String providerClass)
throws ProviderNotFoundException
- Throws:
ProviderNotFoundException
isCacheSchema
public static boolean isCacheSchema(java.lang.String schemaName)
- Look in the name of the schema to identify if it is a cache schema
nextSchemaID
public static int nextSchemaID()
nextModelID
public static int nextModelID()
nextSchemaObjectID
public static int nextSchemaObjectID()
nextConstructID
public static int nextConstructID()