Class DataServiceGrpcClient
- java.lang.Object
-
- es.bsc.dataclay.communication.grpc.clients.dataservice.DataServiceGrpcClient
-
- All Implemented Interfaces:
DataServiceAPI,CommonManager
public final class DataServiceGrpcClient extends Object implements DataServiceAPI
Client code that makes gRPC calls to the server.
-
-
Field Summary
Fields Modifier and Type Field Description protected static booleanDEBUG_ENABLEDIndicates if debug is enabled.
-
Constructor Summary
Constructors Constructor Description DataServiceGrpcClient(String originHostName, String host, int port)Construct client for accessing server athost:port.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidactivateTracing(int currentAvailableTaskID)Activate tracing.voidassociateExecutionEnvironment(ExecutionEnvironmentID executionEnvironmentID)Associate execution environment to this DS.voidcleanCaches()Method that cleans the caches of the manager.voidcleanExecutionClassDirectory()Deletes all the classes in the execution class directoryvoidcloseDbHandler()Close DBHandler.voidcloseSessionInDS(SessionID sessionID)Close session in DS.voidconsolidateVersion(SessionID sessionID, ObjectID versionObjectID)Consolidates object with ID providedvoiddeactivateTracing()Deactivate Extrae tracingvoiddelete(ExecutionEnvironmentID eeID, ObjectID objectID)Deletes and object from the database.voiddeleteAlias(SessionID sessionID, ObjectID objectID)Delete alias of object with ID providedvoiddeployClasses(String namespaceName, Map<Tuple<String,MetaClassID>,byte[]> classesToDeploy, Map<String,byte[]> classesAspects, Map<String,byte[]> stubYamls)Deploys the given class in the path corresponding to the given namespace.voiddeployMetaClasses(String namespaceName, Map<String,MetaClass> deploymentPack)Deploys a series of MetaClass containers to a given namespace.voiddetachObjectFromSession(ObjectID objectID, SessionID sessionID)Detach object from session, i.e.voiddisconnectFromOthers()Disconnect server from others servers.voidenrichClass(String namespaceName, String className, byte[] classToDeploy, byte[] classAspects, byte[] stubYaml)Enriches the given class in the path corresponding to the given namespace.SerializedParametersOrReturnexecuteImplementation(ObjectID objectID, ImplementationID implID, SerializedParametersOrReturn params, SessionID sessionID)This function executes a method.booleanexists(ObjectID objectID)Check if the object exists EE memorybooleanexistsInDB(ObjectID objectID)Check if the object exists in SL or in any EE memory associated to current SLvoidfederate(SessionID sessionID, ObjectID objectID, ExecutionEnvironmentID externalExecutionEnvironmentID, boolean recursive)Federate object with ID provided to external EE specifiedbyte[]get(ExecutionEnvironmentID eeID, ObjectID objectID)Get serialized object identified by ObjectIDMetaClassIDgetClassIDFromObjectInMemory(ObjectID objectID)Get ClassID from object in memory.SerializedParametersOrReturngetCopyOfObject(SessionID sessionID, ObjectID objectID, boolean recursive)Retrieves the given object and all subobjects as volatile new objects with new OIDsintgetNumObjects()Get number of objects in SL and all its associated EEsintgetNumObjectsInEE()Get number of alive objects in current EEList<ObjectWithDataParamOrReturn>getObjects(SessionID sessionID, Set<ObjectID> objectIDs, Set<ObjectID> alreadyObtainedObjects, boolean recursive, ExecutionEnvironmentID destBackendID, int updateReplicaLocs)Get the serialized objects with id providedSet<ObjectID>getRetainedReferences()Get IDs of references retained by EE.Map<String,byte[]>getTraces()Get Extrae traces (mpits and set files)voidinitBackendID(StorageLocationID backendID)Initializes the backend ID of this DataServicevoidmakePersistent(SessionID sessionID, List<ObjectWithDataParamOrReturn> params)This function will deserialize make persistent "parameters" (i.e.Tuple<Map<StorageLocationID,Set<ObjectID>>,Set<ObjectID>>migrateObjectsToBackends(Map<StorageLocationID,StorageLocation> backends)Migrate every object of this backend to one of the backends specifiedSet<ObjectID>moveObjects(SessionID sessionID, ObjectID objectID, ExecutionEnvironmentID destStLocation, boolean recursive)Move object from this location to the one specifiedObjectIDnewPersistentInstance(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>newReplica(SessionID sessionID, ObjectID objectID, ExecutionEnvironmentID destBackendID, boolean recursive)This operation creates a new replica of the object with ID provided in the backend specifiedObjectIDnewVersion(SessionID sessionID, ObjectID objectID, ExecutionEnvironmentID destBackendID)This operation creates a new version of the object with ID provided in the backend specifiedvoidnotifyFederation(SessionID sessionID, List<ObjectWithDataParamOrReturn> params)New federated object arrives and must be stored in current backend.voidnotifyUnfederation(SessionID sessionID, Set<ObjectID> objectIDs)Unfederate objects with ID provided.voidregisterPendingObjects()Register all pending objectsMap<ObjectID,ExecutionEnvironmentID>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.voidshutdown()Shutdown clientvoidshutDown()Shutdown server.voidstore(ExecutionEnvironmentID eeID, ObjectID objectID, byte[] bytes)Store the object.voidstoreObjects(SessionID sessionID, List<ObjectWithDataParamOrReturn> objects, boolean moving, Set<ObjectID> idsWithAlias)Store objects into Database.voidsynchronize(SessionID sessionID, ObjectID objectID, ImplementationID implID, SerializedParametersOrReturn params, ExecutionEnvironmentID callingBackendID)This function synchronizes changes in object fieldvoidunfederate(SessionID sessionID, ObjectID objectID, ExecutionEnvironmentID externalExecutionEnvironmentID, boolean recursive)Unfederate object with ID provided to external EE specifiedvoidupdate(ExecutionEnvironmentID eeID, ObjectID objectID, byte[] newbytes, boolean dirty)Updates an object identified by the ID provided with the new values provided.voidupdateObject(SessionID sessionID, ObjectID intoObjectID, SerializedParametersOrReturn fromObject)Method that updates an object (into) with contents obtained from object (from)voidupdateRefs(Map<ObjectID,Integer> updateCounterRefs)Update counters of references.voidupsertObjects(SessionID sessionID, List<ObjectWithDataParamOrReturn> objectBytes)Updates objects or insert if they do not exist with the values in objectBytes.voidwaitAndProcessAllAsyncRequests()Wait all async.
-
-
-
Method Detail
-
shutdown
public void shutdown() throws InterruptedExceptionShutdown client- Throws:
InterruptedException- if some exception occurs
-
cleanCaches
public void cleanCaches()
Description copied from interface:CommonManagerMethod that cleans the caches of the manager. Used on testing.- Specified by:
cleanCachesin interfaceCommonManager
-
registerPendingObjects
public void registerPendingObjects()
Description copied from interface:DataServiceAPIRegister all pending objects- Specified by:
registerPendingObjectsin interfaceDataServiceAPI
-
activateTracing
public void activateTracing(int currentAvailableTaskID)
Description copied from interface:DataServiceAPIActivate tracing.- Specified by:
activateTracingin interfaceDataServiceAPI- Parameters:
currentAvailableTaskID- Current starting task ID in Extrae
-
deactivateTracing
public void deactivateTracing()
Description copied from interface:DataServiceAPIDeactivate Extrae tracing- Specified by:
deactivateTracingin interfaceDataServiceAPI
-
getTraces
public Map<String,byte[]> getTraces()
Description copied from interface:DataServiceAPIGet Extrae traces (mpits and set files)- Specified by:
getTracesin interfaceDataServiceAPI- Returns:
- Extrae traces (mpits and set files)
-
initBackendID
public void initBackendID(StorageLocationID backendID)
Description copied from interface:DataServiceAPIInitializes the backend ID of this DataService- Specified by:
initBackendIDin interfaceDataServiceAPI- Parameters:
backendID- ID of the backend
-
deployMetaClasses
public void deployMetaClasses(String namespaceName, Map<String,MetaClass> deploymentPack)
Description copied from interface:DataServiceAPIDeploys a series of MetaClass containers to a given namespace.- Specified by:
deployMetaClassesin interfaceDataServiceAPI- Parameters:
namespaceName- Name of the namespace classes belongs to.deploymentPack- A map containing name of the class and the MetaClass container.
-
deployClasses
public void deployClasses(String namespaceName, Map<Tuple<String,MetaClassID>,byte[]> classesToDeploy, Map<String,byte[]> classesAspects, Map<String,byte[]> stubYamls)
Description copied from interface:DataServiceAPIDeploys the given class in the path corresponding to the given namespace.- Specified by:
deployClassesin interfaceDataServiceAPI- Parameters:
namespaceName- Name of the namespace classes belongs to.classesToDeploy- bytecode of the classes to be deployed.classesAspects- bytes of the aspects of this classstubYamls- Stub yamls.
-
enrichClass
public void enrichClass(String namespaceName, String className, byte[] classToDeploy, byte[] classAspects, byte[] stubYaml)
Description copied from interface:DataServiceAPIEnriches the given class in the path corresponding to the given namespace.- Specified by:
enrichClassin interfaceDataServiceAPI- Parameters:
namespaceName- Name of the namespace which class belongs to.className- Name of the class to deployclassToDeploy- bytecode of the class to be deployed.classAspects- bytes of the aspects of this classstubYaml- Stub yaml
-
newPersistentInstance
public ObjectID newPersistentInstance(SessionID sessionID, MetaClassID classID, ImplementationID implementationID, Map<MetaClassID,byte[]> ifaceBitMaps, SerializedParametersOrReturn params)
Description copied from interface:DataServiceAPICreate an instance of the class with id provided using constructor with id and params specified and store it.- Specified by:
newPersistentInstancein interfaceDataServiceAPI- Parameters:
sessionID- Session ID to useclassID- Id of the class to useimplementationID- ID of the implementation of the constructorifaceBitMaps- Interface bitmaps (for parameters)params- Parameters- Returns:
- ObjectID of the persisted instance.
-
storeObjects
public void storeObjects(SessionID sessionID, List<ObjectWithDataParamOrReturn> objects, boolean moving, Set<ObjectID> idsWithAlias)
Description copied from interface:DataServiceAPIStore objects into Database.- Specified by:
storeObjectsin interfaceDataServiceAPI- Parameters:
sessionID- SessionID sessionIDobjects- Serialized objects to store (still volatile parameters)moving- If true, indicates that objects are being moved from another DS.idsWithAlias- Objects with alias
-
getCopyOfObject
public SerializedParametersOrReturn getCopyOfObject(SessionID sessionID, ObjectID objectID, boolean recursive)
Description copied from interface:DataServiceAPIRetrieves the given object and all subobjects as volatile new objects with new OIDs- Specified by:
getCopyOfObjectin interfaceDataServiceAPI- Parameters:
sessionID- ID of the current sessionobjectID- ID of the object to retrieverecursive- retrieve a copy of the whole object copying also its subobjects or only the main object- Returns:
- a copy of the object
-
updateObject
public void updateObject(SessionID sessionID, ObjectID intoObjectID, SerializedParametersOrReturn fromObject)
Description copied from interface:DataServiceAPIMethod that updates an object (into) with contents obtained from object (from)- Specified by:
updateObjectin interfaceDataServiceAPI- Parameters:
sessionID- id of the session requesting this methodintoObjectID- id of the object to put contents intofromObject- object to get contents from
-
getObjects
public List<ObjectWithDataParamOrReturn> getObjects(SessionID sessionID, Set<ObjectID> objectIDs, Set<ObjectID> alreadyObtainedObjects, boolean recursive, ExecutionEnvironmentID destBackendID, int updateReplicaLocs)
Description copied from interface:DataServiceAPIGet the serialized objects with id provided- Specified by:
getObjectsin interfaceDataServiceAPI- Parameters:
sessionID- ID of sessionobjectIDs- IDs of the objects to getalreadyObtainedObjects- IDs of already obtained objectsrecursive- Indicates if, per each object to get, also obtain its associated objects.destBackendID- Destination backend of objects being obtained for replicaupdateReplicaLocs- If 1, provided replica dest backend id must be added to replica locs of obtained objects If 2, provided replica dest backend id must be removed from replica locs If 0, replicaDestBackendID field is ignored- Returns:
- Map of serialized object where key is the objectID. Object is not serialized if flag getOnlyRefs=true
-
makePersistent
public void makePersistent(SessionID sessionID, List<ObjectWithDataParamOrReturn> params)
Description copied from interface:DataServiceAPIThis function will deserialize make persistent "parameters" (i.e. object to persist and subobjects if needed) into dataClay memory heap using the same design as for volatile parameters. Eventually, dataClay GC will collect them, and then they will be registered in LogicModule if needed (if objects were created with alias, they must have metadata already).- Specified by:
makePersistentin interfaceDataServiceAPI- Parameters:
sessionID- ID of session of make persistent callparams- objects to store.
-
federate
public void federate(SessionID sessionID, ObjectID objectID, ExecutionEnvironmentID externalExecutionEnvironmentID, boolean recursive)
Description copied from interface:DataServiceAPIFederate object with ID provided to external EE specified- Specified by:
federatein interfaceDataServiceAPI- Parameters:
sessionID- ID of the session sending the objectobjectID- ID of the object to federateexternalExecutionEnvironmentID- ID of external execution environment to federaterecursive- Indicates if all sub-objects must be replicated as well.
-
unfederate
public void unfederate(SessionID sessionID, ObjectID objectID, ExecutionEnvironmentID externalExecutionEnvironmentID, boolean recursive)
Description copied from interface:DataServiceAPIUnfederate object with ID provided to external EE specified- Specified by:
unfederatein interfaceDataServiceAPI- Parameters:
sessionID- ID of the sessionobjectID- ID of the object to unfederateexternalExecutionEnvironmentID- ID of external execution environment to unfederaterecursive- Indicates if all sub-objects must be unfederated as well.
-
notifyFederation
public void notifyFederation(SessionID sessionID, List<ObjectWithDataParamOrReturn> params)
Description copied from interface:DataServiceAPINew federated object arrives and must be stored in current backend.- Specified by:
notifyFederationin interfaceDataServiceAPI- Parameters:
sessionID- ID of the session sending the objectparams- Data of the object to persist
-
notifyUnfederation
public void notifyUnfederation(SessionID sessionID, Set<ObjectID> objectIDs)
Description copied from interface:DataServiceAPIUnfederate objects with ID provided.- Specified by:
notifyUnfederationin interfaceDataServiceAPI- Parameters:
sessionID- ID of the session.objectIDs- ID of the objects to unfederate.
-
executeImplementation
public SerializedParametersOrReturn executeImplementation(ObjectID objectID, ImplementationID implID, SerializedParametersOrReturn params, SessionID sessionID)
Description copied from interface:DataServiceAPIThis function executes a method.- Specified by:
executeImplementationin interfaceDataServiceAPI- Parameters:
objectID- ID of the object with the information to use by the implementationimplID- Implementation ID of operation to executeparams- Serialized parameter values used while invoking the operationsessionID- ID of the session of the execution- Returns:
- Serialized operation result (all objects serialized, sepparately).
-
synchronize
public void synchronize(SessionID sessionID, ObjectID objectID, ImplementationID implID, SerializedParametersOrReturn params, ExecutionEnvironmentID callingBackendID)
Description copied from interface:DataServiceAPIThis function synchronizes changes in object field- Specified by:
synchronizein interfaceDataServiceAPI- Parameters:
sessionID- ID of the session of the executionobjectID- ID of the object with the information to use by the implementationimplID- Implementation ID of operation to executeparams- Serialized parameter values used while invoking the operationcallingBackendID- ID of calling backend or Null if called by client
-
newVersion
public ObjectID newVersion(SessionID sessionID, ObjectID objectID, ExecutionEnvironmentID destBackendID)
Description copied from interface:DataServiceAPIThis operation creates a new version of the object with ID provided in the backend specified- Specified by:
newVersionin interfaceDataServiceAPI- Parameters:
sessionID- SessionobjectID- ID of the objectdestBackendID- ID of destination backend- Returns:
- ID of the version created
-
consolidateVersion
public void consolidateVersion(SessionID sessionID, ObjectID versionObjectID)
Description copied from interface:DataServiceAPIConsolidates object with ID provided- Specified by:
consolidateVersionin interfaceDataServiceAPI- Parameters:
sessionID- ID of sessionversionObjectID- ID of the object of the version
-
upsertObjects
public void upsertObjects(SessionID sessionID, List<ObjectWithDataParamOrReturn> objectBytes)
Description copied from interface:DataServiceAPIUpdates objects or insert if they do not exist with the values in objectBytes. NOTE: This function is recursive, it is going to other DSs if needed.- Specified by:
upsertObjectsin interfaceDataServiceAPI- Parameters:
sessionID- ID of session needed.objectBytes- Map of objects to update.
-
newReplica
public Set<ObjectID> newReplica(SessionID sessionID, ObjectID objectID, ExecutionEnvironmentID destBackendID, boolean recursive)
Description copied from interface:DataServiceAPIThis operation creates a new replica of the object with ID provided in the backend specified- Specified by:
newReplicain interfaceDataServiceAPI- Parameters:
sessionID- SessionobjectID- ID of the objectdestBackendID- ID of destination backendrecursive- Indicates if all sub-objects must be replicated as well.- Returns:
- ids of replicated objects
-
moveObjects
public Set<ObjectID> moveObjects(SessionID sessionID, ObjectID objectID, ExecutionEnvironmentID destStLocation, boolean recursive)
Description copied from interface:DataServiceAPIMove object from this location to the one specified- Specified by:
moveObjectsin interfaceDataServiceAPI- Parameters:
sessionID- Session IDobjectID- ID of the object to movedestStLocation- Destination locationrecursive- Indicates if all sub-objects (in this location or others) must be moved as well.- Returns:
- Set of moved objects
-
removeObjects
public Map<ObjectID,ExecutionEnvironmentID> removeObjects(SessionID sessionID, Set<ObjectID> objectIDs, boolean recursive, boolean moving, ExecutionEnvironmentID newhint)
Description copied from interface:DataServiceAPIThis operation removes the objects with IDs provided NOTE: This function is recursive, it is going to other DSs if needed.- Specified by:
removeObjectsin interfaceDataServiceAPI- Parameters:
sessionID- Session IDobjectIDs- ID of the objects to removerecursive- Indicates if remove is recursive or not.moving- Indicates remove is caused by a movement of an object.newhint- New hint in case of move.- Returns:
- IDs of the objects removed and their backends.
-
migrateObjectsToBackends
public Tuple<Map<StorageLocationID,Set<ObjectID>>,Set<ObjectID>> migrateObjectsToBackends(Map<StorageLocationID,StorageLocation> backends)
Description copied from interface:DataServiceAPIMigrate every object of this backend to one of the backends specified- Specified by:
migrateObjectsToBackendsin interfaceDataServiceAPI- Parameters:
backends- Specifications of the backends- Returns:
- For each backend specified, the set of IDs of migrated objects (ands their new handler IDs) from this backend to it. Also return the objects that could not be migrated at all.
-
getClassIDFromObjectInMemory
public MetaClassID getClassIDFromObjectInMemory(ObjectID objectID)
Description copied from interface:DataServiceAPIGet ClassID from object in memory. Used in case the object is still pending to register and Hints point to this DS.- Specified by:
getClassIDFromObjectInMemoryin interfaceDataServiceAPI- Parameters:
objectID- ID of the object- Returns:
- Class ID of the object
-
cleanExecutionClassDirectory
public void cleanExecutionClassDirectory()
Description copied from interface:DataServiceAPIDeletes all the classes in the execution class directory- Specified by:
cleanExecutionClassDirectoryin interfaceDataServiceAPI
-
closeDbHandler
public void closeDbHandler()
Description copied from interface:DataServiceAPIClose DBHandler.- Specified by:
closeDbHandlerin interfaceDataServiceAPI
-
shutDown
public void shutDown()
Description copied from interface:DataServiceAPIShutdown server. Called from Logic Module.- Specified by:
shutDownin interfaceDataServiceAPI
-
disconnectFromOthers
public void disconnectFromOthers()
Description copied from interface:DataServiceAPIDisconnect server from others servers. Called from Logic Module.- Specified by:
disconnectFromOthersin interfaceDataServiceAPI
-
waitAndProcessAllAsyncRequests
public void waitAndProcessAllAsyncRequests()
Wait all async. requests
-
closeSessionInDS
public void closeSessionInDS(SessionID sessionID)
Description copied from interface:DataServiceAPIClose session in DS. Used to notify that some objects are not longer 'retained' by sessions.- Specified by:
closeSessionInDSin interfaceDataServiceAPI- Parameters:
sessionID- ID of session.
-
updateRefs
public void updateRefs(Map<ObjectID,Integer> updateCounterRefs)
Description copied from interface:DataServiceAPIUpdate counters of references.- Specified by:
updateRefsin interfaceDataServiceAPI- Parameters:
updateCounterRefs- Update counter of references.
-
getRetainedReferences
public Set<ObjectID> getRetainedReferences()
Description copied from interface:DataServiceAPIGet IDs of references retained by EE.- Specified by:
getRetainedReferencesin interfaceDataServiceAPI- Returns:
- References retained by EE (sessions, alias...)
-
deleteAlias
public void deleteAlias(SessionID sessionID, ObjectID objectID)
Description copied from interface:DataServiceAPIDelete alias of object with ID provided- Specified by:
deleteAliasin interfaceDataServiceAPI- Parameters:
sessionID- ID of the session deleting the aliasobjectID- ID of the object to delete the alias from
-
detachObjectFromSession
public void detachObjectFromSession(ObjectID objectID, SessionID sessionID)
Description copied from interface:DataServiceAPIDetach object from session, i.e. remove reference from session provided to object, "dear garbage-collector, the session is not using the object anymore"- Specified by:
detachObjectFromSessionin interfaceDataServiceAPI- Parameters:
objectID- ID of the objectsessionID- ID of the session not using the object anymore
-
exists
public boolean exists(ObjectID objectID)
Description copied from interface:DataServiceAPICheck if the object exists EE memory- Specified by:
existsin interfaceDataServiceAPI- Parameters:
objectID- ID of the object to check- Returns:
- TRUE if the object exists in EE memory.
-
existsInDB
public boolean existsInDB(ObjectID objectID)
Description copied from interface:DataServiceAPICheck if the object exists in SL or in any EE memory associated to current SL- Specified by:
existsInDBin interfaceDataServiceAPI- Parameters:
objectID- ID of the object to check- Returns:
- TRUE if the object either exists in SL disk or in EE memory.
-
getNumObjects
public int getNumObjects()
Description copied from interface:DataServiceAPIGet number of objects in SL and all its associated EEs- Specified by:
getNumObjectsin interfaceDataServiceAPI- Returns:
- number of objects in SL and all its associated EEs
-
getNumObjectsInEE
public int getNumObjectsInEE()
Description copied from interface:DataServiceAPIGet number of alive objects in current EE- Specified by:
getNumObjectsInEEin interfaceDataServiceAPI- Returns:
- number of alive objects in current EE
-
store
public void store(ExecutionEnvironmentID eeID, ObjectID objectID, byte[] bytes)
Description copied from interface:DataServiceAPIStore the object.- Specified by:
storein interfaceDataServiceAPI- Parameters:
eeID- ID of the EE triggering the callobjectID- ID of the objectbytes- Bytes of the object
-
get
public byte[] get(ExecutionEnvironmentID eeID, ObjectID objectID)
Description copied from interface:DataServiceAPIGet serialized object identified by ObjectID- Specified by:
getin interfaceDataServiceAPI- Parameters:
eeID- ID of the EE triggering the callobjectID- ID of the object- Returns:
- Bytes of the serialized object with ID provided.
-
update
public void update(ExecutionEnvironmentID eeID, ObjectID objectID, byte[] newbytes, boolean dirty)
Description copied from interface:DataServiceAPIUpdates an object identified by the ID provided with the new values provided.- Specified by:
updatein interfaceDataServiceAPI- Parameters:
eeID- ID of the EE triggering the callobjectID- ID of the object.newbytes- New byte valuesdirty- dirty Indicates object has been modified. If false, it means that bytes only contains reference counting information. DESIGN NOTE: in order to be able to find out which references where removed in complex objects (arrays, collections) GlobalGc decreases all pointed references in a Get procedure and increase them again (except removed ones) during update. While in EE, objects have memory references so they cannot be removed neither.
-
delete
public void delete(ExecutionEnvironmentID eeID, ObjectID objectID)
Description copied from interface:DataServiceAPIDeletes and object from the database.- Specified by:
deletein interfaceDataServiceAPI- Parameters:
eeID- ID of the EE triggering the callobjectID- ID of the object to delete
-
associateExecutionEnvironment
public void associateExecutionEnvironment(ExecutionEnvironmentID executionEnvironmentID)
Description copied from interface:DataServiceAPIAssociate execution environment to this DS.- Specified by:
associateExecutionEnvironmentin interfaceDataServiceAPI- Parameters:
executionEnvironmentID- ID to associate
-
-