Package es.bsc.dataclay.logic
Class SQLiteLogicModule
- java.lang.Object
-
- es.bsc.dataclay.logic.LogicModule<SQLiteHandlerConfig>
-
- es.bsc.dataclay.logic.SQLiteLogicModule
-
- All Implemented Interfaces:
LogicModuleAPI
public class SQLiteLogicModule extends LogicModule<SQLiteHandlerConfig>
-
-
Field Summary
-
Fields inherited from class es.bsc.dataclay.logic.LogicModule
dbConf, DC_PUBLIC_NAMESPACE, DC_REGISTRATOR, dcCredentials, DEBUG_ENABLED, DEFAULT_DS_SUFFIX, DEFAULT_JAVA_NS_SUFFIX, DEFAULT_PYTHON_NS_SUFFIX, grpcClient, hostname, LOGGER, logicModuleHandler, name, port, publicIDs
-
-
Constructor Summary
Constructors Constructor Description SQLiteLogicModule(String lmName, String thehostname, int theport, boolean inMemory, String theexposedIPForClient)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected SQLiteHandlerConfig
initDBConf()
Initialize database configuration.protected SQLHandler<SQLiteHandlerConfig>
initDBHandler()
Initializes DB handler.-
Methods inherited from class es.bsc.dataclay.logic.LogicModule
activateTracing, adviseEvent, autoregisterEE, autoregisterSL, checkAlive, checkDataSetIsPublic, checkObjectIsFederatedWithDataClayInstance, cleanCachesOfDataService, cleanMetaDataCaches, closeDb, closeManagerDb, closeSession, consolidateVersion, deactivateTracing, deleteAlias, executeFilterMethod, executeImplementation, executeMethodOnTarget, executeNotificationAction, existsActiveEnvironmentsForSL, federateAllObjects, federateObject, finishCacheThreads, getAccountDataSets, getAccountID, getAccountList, getAccountManagerDB, getBabelStubs, getClassesInNamespace, getClassID, getClassInfo, getClassManager, getClassManagerDB, getClassNameAndNamespaceForDS, getClassNameForDS, getContractIDOfDataClayProvider, getContractIDsOfApplicant, getContractIDsOfApplicantWithProvider, getContractIDsOfProvider, getContractManagerDB, getDataClayID, getDataClaysObjectIsFederatedWith, getDataContractIDsOfApplicant, getDataContractIDsOfProvider, getDataContractInfoOfApplicantWithProvider, getDataContractManagerDB, getDataSetID, getDataSetManagerDB, getDbHandler, getExecutionEnvironmentAPI, getExecutionEnvironmentForDS, getExecutionEnvironments, getExecutionEnvironmentsInfo, getExecutionEnvironmentsNames, getExternalDataClayID, getExternalDataClayInfo, getExternalSourceDataClayOfObject, getInfoOfClassesInNamespace, getInfoOfSessionForDS, getInterfaceInfo, getInterfaceManagerDB, getMetadataByOID, getMetadataByOIDForDS, getMetaDataServiceDb, getMetaDataSrvApi, getNamespaceID, getNamespaceLang, getNamespaceManagerDB, getNamespaces, getNotificationManagerDB, getObjectDataSetID, getObjectFromAlias, getObjectInfo, getObjectsMetaDataInfoOfClassForNM, getOperationID, getOwner, getPropertyID, getPublicDataSets, getSessionManagerDB, getStorageLocationForDS, getStorageLocationID, getStubs, getTraces, importContract, importInterface, importModelsFromExternalDataClay, initializeSessionAsOwnerOfObject, isPrefetchingEnabled, isShuttingDown, migrateFederatedObjects, moveObject, newAccount, newAccountNoAdmin, newClass, newClassID, newContract, newDataContract, newDataSet, newInterface, newNamespace, newReplica, newSession, newVersion, notifyExecutionEnvironmentShutdown, notifyFederatedObjects, notifyRegistrationOfExternalDataClay, notifyStorageLocationShutdown, notifyUnfederatedObjects, objectExistsInDataClay, performSetOfNewAccounts, performSetOfOperations, publishAddress, registerAndUpdateDependencies, registerEventListenerImplementation, registerExternalDataClay, registerExternalDataClayOverrideAuthority, registerObject, registerObjectFromGC, registerToPublicContract, registerToPublicContractOfNamespace, registerToPublicDataContract, removeClass, removeDataSet, removeImplementation, removeInterface, removeNamespace, removeOperation, setDataSetID, setDataSetIDFromGarbageCollector, setObjectReadOnly, setObjectReadWrite, setShuttingDown, synchronizeFederatedObject, unfederateAllObjects, unfederateAllObjectsWithAllDCs, unfederateObject, unfederateObjectWithAllDCs, unregisterExecutionEnvironment, unregisterObjects, unregisterStorageLocation, updateAPIsFromDB, waitAndProcessAllAsyncRequests, waitForAllNodesShutdown
-
-
-
-
Constructor Detail
-
SQLiteLogicModule
public SQLiteLogicModule(String lmName, String thehostname, int theport, boolean inMemory, String theexposedIPForClient) throws InterruptedException
- Throws:
InterruptedException
-
-
Method Detail
-
initDBConf
protected SQLiteHandlerConfig initDBConf()
Description copied from class:LogicModule
Initialize database configuration.- Specified by:
initDBConf
in classLogicModule<SQLiteHandlerConfig>
- Returns:
- Database configuration
-
initDBHandler
protected SQLHandler<SQLiteHandlerConfig> initDBHandler()
Description copied from class:LogicModule
Initializes DB handler.- Specified by:
initDBHandler
in classLogicModule<SQLiteHandlerConfig>
- Returns:
- DB handler.
-
-