public class JooqClusterStorage
extends org.cristalise.kernel.persistency.TransactionalClusterStorage
TransactionalClusterStorage based on http://www.jooq.org/}| Modifier and Type | Field and Description |
|---|---|
protected Boolean |
autoCommit |
protected org.jooq.DSLContext |
context |
protected List<JooqDomainHandler> |
domainHandlers |
protected HashMap<org.cristalise.kernel.persistency.ClusterType,JooqHandler> |
jooqHandlers |
| 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(org.cristalise.kernel.lookup.ItemPath itemPath,
String path) |
void |
delete(org.cristalise.kernel.lookup.ItemPath itemPath,
String path,
Object locker) |
String |
executeQuery(org.cristalise.kernel.querying.Query query) |
org.cristalise.kernel.entity.C2KLocalObject |
get(org.cristalise.kernel.lookup.ItemPath itemPath,
String path) |
String[] |
getClusterContents(org.cristalise.kernel.lookup.ItemPath itemPath,
String path) |
org.cristalise.kernel.persistency.ClusterType[] |
getClusters(org.cristalise.kernel.lookup.ItemPath itemPath) |
String |
getId() |
String |
getName() |
void |
initialiseHandlers()
Initialise internal handlers for all ClusterTypes and all the DomainHandlers-
|
void |
open(org.cristalise.kernel.process.auth.Authenticator auth) |
void |
put(org.cristalise.kernel.lookup.ItemPath itemPath,
org.cristalise.kernel.entity.C2KLocalObject obj) |
void |
put(org.cristalise.kernel.lookup.ItemPath itemPath,
org.cristalise.kernel.entity.C2KLocalObject obj,
Object locker) |
short |
queryClusterSupport(org.cristalise.kernel.persistency.ClusterType type) |
short |
queryClusterSupport(String type) |
protected org.jooq.DSLContext context
protected Boolean autoCommit
protected HashMap<org.cristalise.kernel.persistency.ClusterType,JooqHandler> jooqHandlers
protected List<JooqDomainHandler> domainHandlers
public void open(org.cristalise.kernel.process.auth.Authenticator auth)
throws org.cristalise.kernel.common.PersistencyException
open in class org.cristalise.kernel.persistency.ClusterStorageorg.cristalise.kernel.common.PersistencyExceptionpublic void initialiseHandlers()
throws org.cristalise.kernel.common.PersistencyException
org.cristalise.kernel.common.PersistencyException - Error during initialise ...public void close()
throws org.cristalise.kernel.common.PersistencyException
close in class org.cristalise.kernel.persistency.ClusterStorageorg.cristalise.kernel.common.PersistencyExceptionpublic void begin(Object locker)
begin in class org.cristalise.kernel.persistency.TransactionalClusterStoragepublic void commit(Object locker) throws org.cristalise.kernel.common.PersistencyException
commit in class org.cristalise.kernel.persistency.TransactionalClusterStorageorg.cristalise.kernel.common.PersistencyExceptionpublic void abort(Object locker)
abort in class org.cristalise.kernel.persistency.TransactionalClusterStoragepublic short queryClusterSupport(String type)
queryClusterSupport in class org.cristalise.kernel.persistency.ClusterStoragepublic short queryClusterSupport(org.cristalise.kernel.persistency.ClusterType type)
queryClusterSupport in class org.cristalise.kernel.persistency.ClusterStoragepublic boolean checkQuerySupport(String language)
checkQuerySupport in class org.cristalise.kernel.persistency.ClusterStoragepublic String getName()
getName in class org.cristalise.kernel.persistency.ClusterStoragepublic String getId()
getId in class org.cristalise.kernel.persistency.ClusterStoragepublic String executeQuery(org.cristalise.kernel.querying.Query query) throws org.cristalise.kernel.common.PersistencyException
executeQuery in class org.cristalise.kernel.persistency.ClusterStorageorg.cristalise.kernel.common.PersistencyExceptionpublic org.cristalise.kernel.persistency.ClusterType[] getClusters(org.cristalise.kernel.lookup.ItemPath itemPath)
throws org.cristalise.kernel.common.PersistencyException
getClusters in class org.cristalise.kernel.persistency.ClusterStorageorg.cristalise.kernel.common.PersistencyExceptionpublic String[] getClusterContents(org.cristalise.kernel.lookup.ItemPath itemPath, String path) throws org.cristalise.kernel.common.PersistencyException
getClusterContents in class org.cristalise.kernel.persistency.ClusterStorageorg.cristalise.kernel.common.PersistencyExceptionpublic org.cristalise.kernel.entity.C2KLocalObject get(org.cristalise.kernel.lookup.ItemPath itemPath,
String path)
throws org.cristalise.kernel.common.PersistencyException
get in class org.cristalise.kernel.persistency.ClusterStorageorg.cristalise.kernel.common.PersistencyExceptionpublic void put(org.cristalise.kernel.lookup.ItemPath itemPath,
org.cristalise.kernel.entity.C2KLocalObject obj)
throws org.cristalise.kernel.common.PersistencyException
put in class org.cristalise.kernel.persistency.ClusterStorageorg.cristalise.kernel.common.PersistencyExceptionpublic void put(org.cristalise.kernel.lookup.ItemPath itemPath,
org.cristalise.kernel.entity.C2KLocalObject obj,
Object locker)
throws org.cristalise.kernel.common.PersistencyException
put in class org.cristalise.kernel.persistency.TransactionalClusterStorageorg.cristalise.kernel.common.PersistencyExceptionpublic void delete(org.cristalise.kernel.lookup.ItemPath itemPath,
String path)
throws org.cristalise.kernel.common.PersistencyException
delete in class org.cristalise.kernel.persistency.ClusterStorageorg.cristalise.kernel.common.PersistencyExceptionpublic void delete(org.cristalise.kernel.lookup.ItemPath itemPath,
String path,
Object locker)
throws org.cristalise.kernel.common.PersistencyException
delete in class org.cristalise.kernel.persistency.TransactionalClusterStorageorg.cristalise.kernel.common.PersistencyExceptionCopyright © 2018 CRISTAL-iSE. All rights reserved.