public class JooqClusterStorage extends TransactionalClusterStorage
TransactionalClusterStorage based on http://www.jooq.org/}| Modifier and Type | Field and Description |
|---|---|
protected ConcurrentHashMap<Object,Connection> |
connectionMap |
protected List<JooqDomainHandler> |
domainHandlers |
protected HashMap<ClusterType,JooqHandler> |
jooqHandlers |
allClusterTypes, COLLECTION, HISTORY, JOB, LIFECYCLE, NONE, OUTCOME, PATH, PROPERTY, READ, READWRITE, ROOT, VIEWPOINT, WRITE| Constructor and Description |
|---|
JooqClusterStorage() |
| Modifier and Type | Method and Description |
|---|---|
void |
abort(Object locker) |
void |
begin(Object locker) |
boolean |
checkQuerySupport(String language) |
void |
close() |
void |
commit(Object locker) |
void |
delete(ItemPath itemPath,
String path) |
void |
delete(ItemPath itemPath,
String path,
Object locker) |
void |
dropHandlers() |
String |
executeQuery(Query query) |
C2KLocalObject |
get(ItemPath itemPath,
String path) |
String[] |
getClusterContents(ItemPath itemPath,
String path) |
ClusterType[] |
getClusters(ItemPath itemPath) |
String |
getId() |
String |
getName() |
void |
initialiseHandlers()
Initialise internal handlers for all ClusterTypes and all the DomainHandlers-
|
void |
open(Authenticator auth) |
void |
postBoostrap() |
void |
postConnect() |
void |
postStartServer() |
void |
put(ItemPath itemPath,
C2KLocalObject obj) |
void |
put(ItemPath itemPath,
C2KLocalObject obj,
Object locker) |
short |
queryClusterSupport(ClusterType type) |
short |
queryClusterSupport(String type) |
getClusterContents, getClusterType, getPathprotected HashMap<ClusterType,JooqHandler> jooqHandlers
protected List<JooqDomainHandler> domainHandlers
protected ConcurrentHashMap<Object,Connection> connectionMap
public void open(Authenticator auth) throws org.cristalise.kernel.common.PersistencyException
open in class ClusterStorageorg.cristalise.kernel.common.PersistencyExceptionpublic void initialiseHandlers()
throws org.cristalise.kernel.common.PersistencyException
org.cristalise.kernel.common.PersistencyException - Error during initialise ...public void dropHandlers()
throws org.cristalise.kernel.common.PersistencyException
org.cristalise.kernel.common.PersistencyExceptionpublic void close()
throws org.cristalise.kernel.common.PersistencyException
close in class ClusterStorageorg.cristalise.kernel.common.PersistencyExceptionpublic void postBoostrap()
throws org.cristalise.kernel.common.PersistencyException
postBoostrap in class ClusterStorageorg.cristalise.kernel.common.PersistencyExceptionpublic void postStartServer()
throws org.cristalise.kernel.common.PersistencyException
postStartServer in class ClusterStorageorg.cristalise.kernel.common.PersistencyExceptionpublic void postConnect()
throws org.cristalise.kernel.common.PersistencyException
postConnect in class ClusterStorageorg.cristalise.kernel.common.PersistencyExceptionpublic void begin(Object locker) throws org.cristalise.kernel.common.PersistencyException
begin in class TransactionalClusterStorageorg.cristalise.kernel.common.PersistencyExceptionpublic void commit(Object locker) throws org.cristalise.kernel.common.PersistencyException
commit in class TransactionalClusterStorageorg.cristalise.kernel.common.PersistencyExceptionpublic void abort(Object locker) throws org.cristalise.kernel.common.PersistencyException
abort in class TransactionalClusterStorageorg.cristalise.kernel.common.PersistencyExceptionpublic short queryClusterSupport(String type)
queryClusterSupport in class ClusterStoragepublic short queryClusterSupport(ClusterType type)
queryClusterSupport in class ClusterStoragepublic boolean checkQuerySupport(String language)
checkQuerySupport in class ClusterStoragepublic String getName()
getName in class ClusterStoragepublic String getId()
getId in class ClusterStoragepublic String executeQuery(Query query) throws org.cristalise.kernel.common.PersistencyException
executeQuery in class ClusterStorageorg.cristalise.kernel.common.PersistencyExceptionpublic ClusterType[] getClusters(ItemPath itemPath) throws org.cristalise.kernel.common.PersistencyException
getClusters in class ClusterStorageorg.cristalise.kernel.common.PersistencyExceptionpublic String[] getClusterContents(ItemPath itemPath, String path) throws org.cristalise.kernel.common.PersistencyException
getClusterContents in class ClusterStorageorg.cristalise.kernel.common.PersistencyExceptionpublic C2KLocalObject get(ItemPath itemPath, String path) throws org.cristalise.kernel.common.PersistencyException
get in class ClusterStorageorg.cristalise.kernel.common.PersistencyExceptionpublic void put(ItemPath itemPath, C2KLocalObject obj) throws org.cristalise.kernel.common.PersistencyException
put in class ClusterStorageorg.cristalise.kernel.common.PersistencyExceptionpublic void put(ItemPath itemPath, C2KLocalObject obj, Object locker) throws org.cristalise.kernel.common.PersistencyException
put in class TransactionalClusterStorageorg.cristalise.kernel.common.PersistencyExceptionpublic void delete(ItemPath itemPath, String path) throws org.cristalise.kernel.common.PersistencyException
delete in class ClusterStorageorg.cristalise.kernel.common.PersistencyExceptionpublic void delete(ItemPath itemPath, String path, Object locker) throws org.cristalise.kernel.common.PersistencyException
delete in class TransactionalClusterStorageorg.cristalise.kernel.common.PersistencyExceptionCopyright © 1997–2019 CRISTAL-iSE. All rights reserved.