public class JooqClusterStorage extends ClusterStorage
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 |
NONE, READ, READWRITE, WRITE| Constructor and Description |
|---|
JooqClusterStorage() |
| Modifier and Type | Method and Description |
|---|---|
void |
abort(Object transactionKey) |
void |
begin(Object transactionKey) |
boolean |
checkQuerySupport(String language) |
void |
close() |
void |
commit(Object transactionKey) |
void |
delete(ItemPath itemPath,
String path,
Object transactionKey) |
void |
dropHandlers() |
String |
executeQuery(Query query,
Object transactionKey) |
C2KLocalObject |
get(ItemPath itemPath,
String path,
Object transactionKey) |
String[] |
getClusterContents(ItemPath itemPath,
String path,
Object transactionKey) |
ClusterType[] |
getClusters(ItemPath itemPath,
Object transactionKey) |
String |
getId() |
int |
getLastIntegerId(ItemPath itemPath,
String path,
Object 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,
Object transactionKey) |
short |
queryClusterSupport(ClusterType 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 transactionKey) throws org.cristalise.kernel.common.PersistencyException
begin in class ClusterStorageorg.cristalise.kernel.common.PersistencyExceptionpublic void commit(Object transactionKey) throws org.cristalise.kernel.common.PersistencyException
commit in class ClusterStorageorg.cristalise.kernel.common.PersistencyExceptionpublic void abort(Object 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, Object transactionKey) throws org.cristalise.kernel.common.PersistencyException
getLastIntegerId in class ClusterStorageorg.cristalise.kernel.common.PersistencyExceptionpublic String executeQuery(Query query, Object transactionKey) throws org.cristalise.kernel.common.PersistencyException
executeQuery in class ClusterStorageorg.cristalise.kernel.common.PersistencyExceptionpublic ClusterType[] getClusters(ItemPath itemPath, Object transactionKey) throws org.cristalise.kernel.common.PersistencyException
getClusters in class ClusterStorageorg.cristalise.kernel.common.PersistencyExceptionpublic String[] getClusterContents(ItemPath itemPath, String path, Object transactionKey) throws org.cristalise.kernel.common.PersistencyException
getClusterContents in class ClusterStorageorg.cristalise.kernel.common.PersistencyExceptionpublic C2KLocalObject get(ItemPath itemPath, String path, Object transactionKey) throws org.cristalise.kernel.common.PersistencyException
get in class ClusterStorageorg.cristalise.kernel.common.PersistencyExceptionpublic void put(ItemPath itemPath, C2KLocalObject obj, Object transactionKey) throws org.cristalise.kernel.common.PersistencyException
put in class ClusterStorageorg.cristalise.kernel.common.PersistencyExceptionpublic void delete(ItemPath itemPath, String path, Object transactionKey) throws org.cristalise.kernel.common.PersistencyException
delete in class ClusterStorageorg.cristalise.kernel.common.PersistencyExceptionCopyright © 1997–2020 CRISTAL-iSE. All rights reserved.