Uses of Class
es.bsc.dataclay.util.ids.SessionID
-
Packages that use SessionID Package Description es.bsc.dataclay es.bsc.dataclay.api API module containing functionalities provided to users.es.bsc.dataclay.commonruntime Module responsible to interact with Useres.bsc.dataclay.communication.grpc Contains GRPC classes.es.bsc.dataclay.communication.grpc.clients.dataservice Contains DataService client GRPC classes.es.bsc.dataclay.communication.grpc.clients.logicmodule Contains Logic module client GRPC classes.es.bsc.dataclay.dataservice Module intended to management of Data of Objects and Executions.es.bsc.dataclay.dataservice.api Module intended to management of DataService service API.es.bsc.dataclay.exceptions.logicmodule.sessionmgr Module intended to management of Exceptions in Session Manager module.es.bsc.dataclay.heap es.bsc.dataclay.logic Module that represents the entry to the systemes.bsc.dataclay.logic.api Module intended to provide API of Logic Modulees.bsc.dataclay.logic.sessionmgr Module intended to management of information of sessionses.bsc.dataclay.serialization.lib Utility classes for binary serializationes.bsc.dataclay.util.management.metadataservice This package contains classes used in management of data.es.bsc.dataclay.util.management.sessionmgr This package contains classes used in management of sessions.storage Package for Severo Ochoa specific libraries. -
-
Uses of SessionID in es.bsc.dataclay
Methods in es.bsc.dataclay that return SessionID Modifier and Type Method Description SessionID
DataClayExecutionObject. getOwnerSessionIDforVolatiles()
Methods in es.bsc.dataclay with parameters of type SessionID Modifier and Type Method Description void
DataClayExecutionObject. setOwnerSessionIDforVolatiles(SessionID newownerSessionIDforVolatiles)
-
Uses of SessionID in es.bsc.dataclay.api
Methods in es.bsc.dataclay.api that return SessionID Modifier and Type Method Description static SessionID
DataClay. getSessionID()
Getter for sessionID property. -
Uses of SessionID in es.bsc.dataclay.commonruntime
Methods in es.bsc.dataclay.commonruntime that return SessionID Modifier and Type Method Description SessionID
DataClayRuntime. checkAndGetSession(String[] paramNames, Object[] params)
Check parameters and connections and sessionSessionID
ClientRuntime. getSessionID()
abstract SessionID
DataClayRuntime. getSessionID()
Get session IDSessionID
DataServiceRuntime. getSessionID()
static SessionID
ClientManagementLib. newSession(AccountID accountID, PasswordCredential credential, String classPathOfStubs, Set<String> dataSets, String dataSetForStore)
This operation creates a new sessionstatic SessionID
ClientManagementLib. newSession(AccountID accountID, PasswordCredential credential, Map<String,StubInfo> stubsInfo, Set<String> dataSets, String dataSetForStore)
This operation creates a new sessionstatic SessionID
ClientManagementLib. newSession(AccountID accountID, PasswordCredential credential, Set<ContractID> contracts, Set<String> dataSets, String dataSetForStore)
This operation creates a new sessionMethods in es.bsc.dataclay.commonruntime with parameters of type SessionID Modifier and Type Method Description void
DataServiceRuntime. checkSession(DataSetID dataSetID, SessionID sessionID)
Checks session is valid.static void
RuntimeUtils. checkSession(SessionID sessionID)
Check if session ID is OKvoid
DataServiceRuntime. closeSessionInEE(SessionID sessionID)
Close session in EE.void
DataServiceRuntime. setCurrentThreadSessionID(SessionID sessionID)
Set session ID for threadvoid
DataServiceRuntime. storeObjects(SessionID sessionID, List<ObjectWithDataParamOrReturn> objsToStore)
Directly store objects in DS. -
Uses of SessionID in es.bsc.dataclay.communication.grpc
Methods in es.bsc.dataclay.communication.grpc that return SessionID Modifier and Type Method Description static SessionID
Utils. getSessionID(String idMsg)
Get SessionID from Protobuf ID -
Uses of SessionID in es.bsc.dataclay.communication.grpc.clients.dataservice
Methods in es.bsc.dataclay.communication.grpc.clients.dataservice with parameters of type SessionID Modifier and Type Method Description void
DataServiceGrpcClient. closeSessionInDS(SessionID sessionID)
void
DataServiceGrpcClient. consolidateVersion(SessionID sessionID, ObjectID versionObjectID)
void
DataServiceGrpcClient. deleteAlias(SessionID sessionID, ObjectID objectID)
void
DataServiceGrpcClient. detachObjectFromSession(ObjectID objectID, SessionID sessionID)
SerializedParametersOrReturn
DataServiceGrpcClient. executeImplementation(ObjectID objectID, ImplementationID implID, SerializedParametersOrReturn params, SessionID sessionID)
void
DataServiceGrpcClient. federate(SessionID sessionID, ObjectID objectID, ExecutionEnvironmentID externalExecutionEnvironmentID, boolean recursive)
SerializedParametersOrReturn
DataServiceGrpcClient. getCopyOfObject(SessionID sessionID, ObjectID objectID, boolean recursive)
List<ObjectWithDataParamOrReturn>
DataServiceGrpcClient. getObjects(SessionID sessionID, Set<ObjectID> objectIDs, Set<ObjectID> alreadyObtainedObjects, boolean recursive, ExecutionEnvironmentID destBackendID, int updateReplicaLocs)
void
DataServiceGrpcClient. makePersistent(SessionID sessionID, List<ObjectWithDataParamOrReturn> params)
Set<ObjectID>
DataServiceGrpcClient. moveObjects(SessionID sessionID, ObjectID objectID, ExecutionEnvironmentID destStLocation, boolean recursive)
ObjectID
DataServiceGrpcClient. newPersistentInstance(SessionID sessionID, MetaClassID classID, ImplementationID implementationID, Map<MetaClassID,byte[]> ifaceBitMaps, SerializedParametersOrReturn params)
Set<ObjectID>
DataServiceGrpcClient. newReplica(SessionID sessionID, ObjectID objectID, ExecutionEnvironmentID destBackendID, boolean recursive)
ObjectID
DataServiceGrpcClient. newVersion(SessionID sessionID, ObjectID objectID, ExecutionEnvironmentID destBackendID)
void
DataServiceGrpcClient. notifyFederation(SessionID sessionID, List<ObjectWithDataParamOrReturn> params)
void
DataServiceGrpcClient. notifyUnfederation(SessionID sessionID, Set<ObjectID> objectIDs)
Map<ObjectID,ExecutionEnvironmentID>
DataServiceGrpcClient. removeObjects(SessionID sessionID, Set<ObjectID> objectIDs, boolean recursive, boolean moving, ExecutionEnvironmentID newhint)
void
DataServiceGrpcClient. storeObjects(SessionID sessionID, List<ObjectWithDataParamOrReturn> objects, boolean moving, Set<ObjectID> idsWithAlias)
void
DataServiceGrpcClient. synchronize(SessionID sessionID, ObjectID objectID, ImplementationID implID, SerializedParametersOrReturn params, ExecutionEnvironmentID callingBackendID)
void
DataServiceGrpcClient. unfederate(SessionID sessionID, ObjectID objectID, ExecutionEnvironmentID externalExecutionEnvironmentID, boolean recursive)
void
DataServiceGrpcClient. updateObject(SessionID sessionID, ObjectID intoObjectID, SerializedParametersOrReturn fromObject)
void
DataServiceGrpcClient. upsertObjects(SessionID sessionID, List<ObjectWithDataParamOrReturn> objectBytes)
-
Uses of SessionID in es.bsc.dataclay.communication.grpc.clients.logicmodule
-
Uses of SessionID in es.bsc.dataclay.dataservice
Methods in es.bsc.dataclay.dataservice that return SessionID Modifier and Type Method Description SessionID
LazyTask. getSessionID()
Methods in es.bsc.dataclay.dataservice with parameters of type SessionID Modifier and Type Method Description void
DataService. closeSessionInDS(SessionID sessionID)
void
DataService. consolidateVersion(SessionID sessionID, ObjectID finalVersionObjectID)
void
DataService. deleteAlias(SessionID sessionID, ObjectID objectID)
void
DataService. detachObjectFromSession(ObjectID objectID, SessionID sessionID)
SerializedParametersOrReturn
DataService. executeImplementation(ObjectID objectID, ImplementationID implID, SerializedParametersOrReturn params, SessionID sessionID)
void
DataService. executeLazyTask(ImplementationID implID, ObjectID paramObjectID, SessionID sessionID, MetaClassID classID)
Execute lazy taskvoid
DataService. federate(SessionID sessionID, ObjectID objectID, ExecutionEnvironmentID externalExecutionEnvironmentID, boolean recursive)
SerializedParametersOrReturn
DataService. getCopyOfObject(SessionID sessionID, ObjectID objectID, boolean recursive)
List<ObjectWithDataParamOrReturn>
DataService. getObjects(SessionID sessionID, Set<ObjectID> objectIDs, Set<ObjectID> alreadyObtainedObjs, boolean recursive, ExecutionEnvironmentID replicaDestBackendID, int updateReplicaLocs)
void
DataService. makePersistent(SessionID sessionID, List<ObjectWithDataParamOrReturn> objectsToPersist)
Set<ObjectID>
DataService. moveObjects(SessionID sessionID, ObjectID objectID, ExecutionEnvironmentID destLocation, boolean recursive)
ObjectID
DataService. newPersistentInstance(SessionID sessionID, MetaClassID classID, ImplementationID implementationID, Map<MetaClassID,byte[]> ifaceBitMaps, SerializedParametersOrReturn params)
Set<ObjectID>
DataService. newReplica(SessionID sessionID, ObjectID objectID, ExecutionEnvironmentID destBackendID, boolean recursive)
ObjectID
DataService. newVersion(SessionID sessionID, ObjectID objectID, ExecutionEnvironmentID destBackendID)
void
DataService. notifyFederation(SessionID sessionID, List<ObjectWithDataParamOrReturn> objectsToPersist)
void
DataService. notifyUnfederation(SessionID sessionID, Set<ObjectID> objectIDs)
Map<ObjectID,ExecutionEnvironmentID>
DataService. removeObjects(SessionID sessionID, Set<ObjectID> objectIDs, boolean recursive, boolean moving, ExecutionEnvironmentID newHint)
void
LazyTask. setSessionID(SessionID thesessionID)
void
DataService. storeObjects(SessionID sessionID, List<ObjectWithDataParamOrReturn> objects, boolean moving, Set<ObjectID> idsWithAlias)
void
DataService. synchronize(SessionID sessionID, ObjectID objectID, ImplementationID implID, SerializedParametersOrReturn params, ExecutionEnvironmentID callingBackend)
void
DataService. unfederate(SessionID sessionID, ObjectID objectID, ExecutionEnvironmentID externalExecutionEnvironmentID, boolean recursive)
void
DataService. updateObject(SessionID sessionID, ObjectID intoObjectID, SerializedParametersOrReturn fromObject)
void
DataService. upsertObjects(SessionID sessionID, List<ObjectWithDataParamOrReturn> objectIDsAndBytes)
Constructors in es.bsc.dataclay.dataservice with parameters of type SessionID Constructor Description LazyTask(SessionID theSessionID, ObjectID theObjectID, ImplementationID theImplementationID, MetaClassID theClassID)
Constructor. -
Uses of SessionID in es.bsc.dataclay.dataservice.api
Methods in es.bsc.dataclay.dataservice.api with parameters of type SessionID Modifier and Type Method Description void
DataServiceAPI. closeSessionInDS(SessionID sessionID)
Close session in DS.void
DataServiceAPI. consolidateVersion(SessionID sessionID, ObjectID versionObjectID)
Consolidates object with ID providedvoid
DataServiceAPI. deleteAlias(SessionID sessionID, ObjectID objectID)
Delete alias of object with ID providedvoid
DataServiceAPI. detachObjectFromSession(ObjectID objectID, SessionID sessionID)
Detach object from session, i.e.SerializedParametersOrReturn
DataServiceAPI. executeImplementation(ObjectID objectID, ImplementationID implID, SerializedParametersOrReturn params, SessionID sessionID)
This function executes a method.void
DataServiceAPI. federate(SessionID sessionID, ObjectID objectID, ExecutionEnvironmentID externalExecutionEnvironmentID, boolean recursive)
Federate object with ID provided to external EE specifiedSerializedParametersOrReturn
DataServiceAPI. getCopyOfObject(SessionID sessionID, ObjectID objectID, boolean recursive)
Retrieves the given object and all subobjects as volatile new objects with new OIDsList<ObjectWithDataParamOrReturn>
DataServiceAPI. getObjects(SessionID sessionID, Set<ObjectID> objectIDs, Set<ObjectID> alreadyObtainedObjs, boolean recursive, ExecutionEnvironmentID replicaDestBackendID, int updateReplicaLocs)
Get the serialized objects with id providedvoid
DataServiceAPI. makePersistent(SessionID sessionID, List<ObjectWithDataParamOrReturn> objectsToPersist)
This function will deserialize make persistent "parameters" (i.e.Set<ObjectID>
DataServiceAPI. moveObjects(SessionID sessionID, ObjectID objectID, ExecutionEnvironmentID destStLocation, boolean recursive)
Move object from this location to the one specifiedObjectID
DataServiceAPI. newPersistentInstance(SessionID sessionID, MetaClassID classID, ImplementationID implementationID, Map<MetaClassID,byte[]> ifaceBitMaps, SerializedParametersOrReturn params)
Create an instance of the class with id provided using constructor with id and params specified and store it.Set<ObjectID>
DataServiceAPI. newReplica(SessionID sessionID, ObjectID objectID, ExecutionEnvironmentID destBackendID, boolean recursive)
This operation creates a new replica of the object with ID provided in the backend specifiedObjectID
DataServiceAPI. newVersion(SessionID sessionID, ObjectID objectID, ExecutionEnvironmentID destBackendID)
This operation creates a new version of the object with ID provided in the backend specifiedvoid
DataServiceAPI. notifyFederation(SessionID sessionID, List<ObjectWithDataParamOrReturn> objectsToPersist)
New federated object arrives and must be stored in current backend.void
DataServiceAPI. notifyUnfederation(SessionID sessionID, Set<ObjectID> objectIDs)
Unfederate objects with ID provided.Map<ObjectID,ExecutionEnvironmentID>
DataServiceAPI. removeObjects(SessionID sessionID, Set<ObjectID> objectIDs, boolean recursive, boolean moving, ExecutionEnvironmentID newHint)
This operation removes the objects with IDs provided NOTE: This function is recursive, it is going to other DSs if needed.void
DataServiceAPI. storeObjects(SessionID sessionID, List<ObjectWithDataParamOrReturn> objects, boolean moving, Set<ObjectID> idsWithAlias)
Store objects into Database.void
DataServiceAPI. synchronize(SessionID sessionID, ObjectID objectID, ImplementationID implID, SerializedParametersOrReturn params, ExecutionEnvironmentID callingBackend)
This function synchronizes changes in object fieldvoid
DataServiceAPI. unfederate(SessionID sessionID, ObjectID objectID, ExecutionEnvironmentID externalExecutionEnvironmentID, boolean recursive)
Unfederate object with ID provided to external EE specifiedvoid
DataServiceAPI. updateObject(SessionID sessionID, ObjectID intoObjectID, SerializedParametersOrReturn fromObject)
Method that updates an object (into) with contents obtained from object (from)void
DataServiceAPI. upsertObjects(SessionID sessionID, List<ObjectWithDataParamOrReturn> objectBytes)
Updates objects or insert if they do not exist with the values in objectBytes. -
Uses of SessionID in es.bsc.dataclay.exceptions.logicmodule.sessionmgr
Constructors in es.bsc.dataclay.exceptions.logicmodule.sessionmgr with parameters of type SessionID Constructor Description SessionIsNotActiveException(SessionID sessionID)
This exception is produced when a Session is not activeSessionNotExistException(SessionID sessionID)
This exception is produced when a Session does not exist -
Uses of SessionID in es.bsc.dataclay.heap
Methods in es.bsc.dataclay.heap that return SessionID Modifier and Type Method Description static SessionID
DataClayIDFactory. newSessionID()
Create a new SessionID.static SessionID
DataClayIDFactory. newSessionID(String uuidStr)
Create a new SessionID. -
Uses of SessionID in es.bsc.dataclay.logic
Methods in es.bsc.dataclay.logic that return SessionID Modifier and Type Method Description SessionID
LogicModule. initializeSessionAsOwnerOfObject(AccountID ownerID)
Initialize session of owner's object. -
Uses of SessionID in es.bsc.dataclay.logic.api
Methods in es.bsc.dataclay.logic.api with parameters of type SessionID Modifier and Type Method Description void
LogicModuleAPI. closeSession(SessionID sessionID)
Close session.ObjectID
LogicModuleAPI. deleteAlias(SessionID sessionID, String alias)
Removes the alias of an objectSerializedParametersOrReturn
LogicModuleAPI. executeImplementation(SessionID sessionID, OperationID operationID, Triple<ImplementationID,ContractID,InterfaceID> remoteImplementation, ObjectID objectID, SerializedParametersOrReturn params)
Method that executes an implementationSerializedParametersOrReturn
LogicModuleAPI. executeMethodOnTarget(SessionID sessionID, ObjectID objectID, String operationSignature, SerializedParametersOrReturn params, ExecutionEnvironmentID backendID)
Method that executes a method on a specific target (using an arbitrary implementation given the session info).Tuple<Tuple<DataSetID,Set<DataSetID>>,Calendar>
LogicModuleAPI. getInfoOfSessionForDS(SessionID sessionID)
Checks provided session and returns visible datasetsMetaDataInfo
LogicModuleAPI. getMetadataByOID(SessionID sessionID, ObjectID objectID)
Method that retrieves the locations of all the replicas of a specific object and its classname.DataSetID
LogicModuleAPI. getObjectDataSetID(SessionID sessionID, ObjectID oid)
Retrieves the id of a dataset of the object with ID provided.Triple<ObjectID,MetaClassID,ExecutionEnvironmentID>
LogicModuleAPI. getObjectFromAlias(SessionID sessionID, String alias)
Retrieves the objectID corresponding to the object with the specified alias.Tuple<String,String>
LogicModuleAPI. getObjectInfo(SessionID sessionID, ObjectID objectID)
Method to check whether an object is accessible with the specified session and returns its classname and namespace of the class.List<ObjectID>
LogicModuleAPI. moveObject(SessionID sessionID, ObjectID objectID, ExecutionEnvironmentID srcBackendID, ExecutionEnvironmentID destBackendID, boolean recursive)
Method that moves an object from location to location.void
LogicModuleAPI. setDataSetID(SessionID sessionID, ObjectID objectID, DataSetID dataSetID)
Set dataset id of objectvoid
LogicModuleAPI. setObjectReadOnly(SessionID sessionID, ObjectID objectID)
Method that sets the object as read onlyvoid
LogicModuleAPI. setObjectReadWrite(SessionID sessionID, ObjectID objectID)
Method that sets the object as read-write -
Uses of SessionID in es.bsc.dataclay.logic.sessionmgr
Methods in es.bsc.dataclay.logic.sessionmgr with parameters of type SessionID Modifier and Type Method Description void
SessionManager. closeSession(SessionID sessionID)
Close sessionvoid
SessionManagerDB. deleteSession(SessionID sessionID)
Delete accessedImplementationboolean
SessionManagerDB. existsObjectByID(SessionID sessionID)
Check if session existsSession
SessionManagerDB. getSessionByID(SessionID sessionID)
Get session info by IDSessionInfo
SessionManager. getSessionInfo(SessionID sessionID)
Retrieves the info of a session -
Uses of SessionID in es.bsc.dataclay.serialization.lib
Methods in es.bsc.dataclay.serialization.lib with parameters of type SessionID Modifier and Type Method Description static void
DataClayDeserializationLib. deserializeObjectWithData(ObjectWithDataParamOrReturn paramOrRet, DataClayExecutionObject object, Map<MetaClassID,byte[]> ifaceBitMaps, DataClayRuntime theLib, SessionID ownerSessionID, boolean forceDeserialization)
Deserialize object into a memory instance.static void
DataClayDeserializationLib. deserializeObjectWithDataInClient(ObjectWithDataParamOrReturn paramOrRet, DataClayObject object, Map<MetaClassID,byte[]> ifaceBitMaps, DataClayRuntime theLib, SessionID ownerSessionID)
Deserialize object into a non-persistent memory instance IN CLIENT It ensures the object is not marked as persistent. -
Uses of SessionID in es.bsc.dataclay.util.management.metadataservice
Methods in es.bsc.dataclay.util.management.metadataservice that return SessionID Modifier and Type Method Description SessionID
RegistrationInfo. getStoreSessionID()
Constructors in es.bsc.dataclay.util.management.metadataservice with parameters of type SessionID Constructor Description RegistrationInfo(ObjectID theobjectID, MetaClassID theclassID, SessionID thesessionID, DataSetID thedataSetID, String thealias)
Constructor -
Uses of SessionID in es.bsc.dataclay.util.management.sessionmgr
Methods in es.bsc.dataclay.util.management.sessionmgr that return SessionID Modifier and Type Method Description SessionID
SessionInfo. getSessionID()
Methods in es.bsc.dataclay.util.management.sessionmgr with parameters of type SessionID Modifier and Type Method Description void
SessionInfo. setSessionID(SessionID thesessionID)
Constructors in es.bsc.dataclay.util.management.sessionmgr with parameters of type SessionID Constructor Description SessionInfo(SessionID newsessionID, AccountID newaccountID, Map<MetaClassID,Set<PropertyID>> newpropertiesOfClasses, Map<ContractID,SessionContract> thesessionContracts, Map<DataContractID,SessionDataContract> thesessionDataContracts, DataContractID thedataContractIDforStore, CommonMessages.Langs newlanguage, Map<MetaClassID,byte[]> newifaceBitmaps, Calendar newendDate)
Constructor for the info of the sessionSessionInfo(SessionID sessionID, DataClayInstanceID extDataClayID, AccountID accountID, CommonMessages.Langs language, Calendar endDate)
Constructor for external sessions -
Uses of SessionID in storage
Methods in storage that return SessionID Modifier and Type Method Description static SessionID
StorageItf. getSessionID()
-