public class JooqClusterStorage extends ClusterStorage
TransactionalClusterStorage based on http://www.jooq.org/}| Modifier and Type | Field and Description |
|---|---|
protected List<JooqDomainHandler> |
domainHandlers |
protected HashMap<ClusterType,JooqHandler> |
jooqHandlers |
NONE, READ, READWRITE, WRITE| Constructor and Description |
|---|
JooqClusterStorage() |
| Modifier and Type | Method and Description |
|---|---|
void |
abort(TransactionKey transactionKey) |
void |
begin(TransactionKey transactionKey) |
boolean |
checkQuerySupport(String language) |
void |
close() |
void |
commit(TransactionKey transactionKey) |
void |
delete(ItemPath itemPath,
String path,
TransactionKey transactionKey) |
void |
dropHandlers() |
String |
executeQuery(Query query,
TransactionKey transactionKey) |
C2KLocalObject |
get(ItemPath itemPath,
String path,
TransactionKey transactionKey) |
String[] |
getClusterContents(ItemPath itemPath,
String path,
TransactionKey transactionKey) |
ClusterType[] |
getClusters(ItemPath itemPath,
TransactionKey transactionKey) |
String |
getId() |
int |
getLastIntegerId(ItemPath itemPath,
String path,
TransactionKey transactionKey) |
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,
TransactionKey transactionKey) |
short |
queryClusterSupport(ClusterType type) |
getClusterContents, getClusterType, getPathprotected HashMap<ClusterType,JooqHandler> jooqHandlers
protected List<JooqDomainHandler> domainHandlers
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(TransactionKey transactionKey) throws org.cristalise.kernel.common.PersistencyException
begin in class ClusterStorageorg.cristalise.kernel.common.PersistencyExceptionpublic void commit(TransactionKey transactionKey) throws org.cristalise.kernel.common.PersistencyException
commit in class ClusterStorageorg.cristalise.kernel.common.PersistencyExceptionpublic void abort(TransactionKey transactionKey) throws org.cristalise.kernel.common.PersistencyException
abort in class ClusterStorageorg.cristalise.kernel.common.PersistencyExceptionpublic 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 int getLastIntegerId(ItemPath itemPath, String path, TransactionKey transactionKey) throws org.cristalise.kernel.common.PersistencyException
getLastIntegerId in class ClusterStorageorg.cristalise.kernel.common.PersistencyExceptionpublic String executeQuery(Query query, TransactionKey transactionKey) throws org.cristalise.kernel.common.PersistencyException
executeQuery in class ClusterStorageorg.cristalise.kernel.common.PersistencyExceptionpublic ClusterType[] getClusters(ItemPath itemPath, TransactionKey transactionKey) throws org.cristalise.kernel.common.PersistencyException
getClusters in class ClusterStorageorg.cristalise.kernel.common.PersistencyExceptionpublic String[] getClusterContents(ItemPath itemPath, String path, TransactionKey transactionKey) throws org.cristalise.kernel.common.PersistencyException
getClusterContents in class ClusterStorageorg.cristalise.kernel.common.PersistencyExceptionpublic C2KLocalObject get(ItemPath itemPath, String path, TransactionKey transactionKey) throws org.cristalise.kernel.common.PersistencyException
get in class ClusterStorageorg.cristalise.kernel.common.PersistencyExceptionpublic void put(ItemPath itemPath, C2KLocalObject obj, TransactionKey transactionKey) throws org.cristalise.kernel.common.PersistencyException
put in class ClusterStorageorg.cristalise.kernel.common.PersistencyExceptionpublic void delete(ItemPath itemPath, String path, TransactionKey transactionKey) throws org.cristalise.kernel.common.PersistencyException
delete in class ClusterStorageorg.cristalise.kernel.common.PersistencyExceptionCopyright © 1997–2022 CRISTAL-iSE. All rights reserved.