public class JooqClusterStorage extends 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<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 org.jooq.DSLContext context
protected Boolean autoCommit
protected HashMap<ClusterType,JooqHandler> jooqHandlers
protected List<JooqDomainHandler> domainHandlers
public void open(Authenticator auth) throws PersistencyException
open in class ClusterStoragePersistencyExceptionpublic void initialiseHandlers()
throws PersistencyException
PersistencyException - Error during initialise ...public void dropHandlers()
throws PersistencyException
PersistencyExceptionpublic void close()
throws PersistencyException
close in class ClusterStoragePersistencyExceptionpublic void postBoostrap()
throws PersistencyException
postBoostrap in class ClusterStoragePersistencyExceptionpublic void postStartServer()
throws PersistencyException
postStartServer in class ClusterStoragePersistencyExceptionpublic void postConnect()
throws PersistencyException
postConnect in class ClusterStoragePersistencyExceptionpublic void begin(Object locker)
begin in class TransactionalClusterStoragepublic void commit(Object locker) throws PersistencyException
commit in class TransactionalClusterStoragePersistencyExceptionpublic void abort(Object locker)
abort in class TransactionalClusterStoragepublic 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 PersistencyException
executeQuery in class ClusterStoragePersistencyExceptionpublic ClusterType[] getClusters(ItemPath itemPath) throws PersistencyException
getClusters in class ClusterStoragePersistencyExceptionpublic String[] getClusterContents(ItemPath itemPath, String path) throws PersistencyException
getClusterContents in class ClusterStoragePersistencyExceptionpublic C2KLocalObject get(ItemPath itemPath, String path) throws PersistencyException
get in class ClusterStoragePersistencyExceptionpublic void put(ItemPath itemPath, C2KLocalObject obj) throws PersistencyException
put in class ClusterStoragePersistencyExceptionpublic void put(ItemPath itemPath, C2KLocalObject obj, Object locker) throws PersistencyException
put in class TransactionalClusterStoragePersistencyExceptionpublic void delete(ItemPath itemPath, String path) throws PersistencyException
delete in class ClusterStoragePersistencyExceptionpublic void delete(ItemPath itemPath, String path, Object locker) throws PersistencyException
delete in class TransactionalClusterStoragePersistencyExceptionCopyright © 1997–2020 CRISTAL-iSE. All rights reserved.