Uses of Interface
es.bsc.dataclay.api.BackendID
-
Packages that use BackendID 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.loader es.bsc.dataclay.serialization.lib Utility classes for binary serializationes.bsc.dataclay.storagelocation es.bsc.dataclay.util Utility classeses.bsc.dataclay.util.ids All ids usedstorage Package for Severo Ochoa specific libraries. -
-
Uses of BackendID in es.bsc.dataclay
Fields in es.bsc.dataclay declared as BackendID Modifier and Type Field Description static BackendIDDataClayObject. LOCAL'LOCAL' locationMethods in es.bsc.dataclay that return BackendID Modifier and Type Method Description BackendIDDataClayObject. getHint()Get the DataClayObject::hintBackendIDDataClayObject. getLocation()Gets the location of this persistent object.BackendIDDataClayObject. getMasterLocation()BackendIDDataClayObject. newReplica()Creates a new replica of this persistent object and its subobjects in a certain backend.BackendIDDataClayObject. newReplica(boolean recursive)Creates a new replica of this persistent object in a certain backend.BackendIDDataClayObject. newReplica(BackendID optionalBackendID)Creates a new replica of this persistent object.BackendIDDataClayObject. newReplica(BackendID optionalBackendID, boolean recursive)Create a new replica of this persistent object.Methods in es.bsc.dataclay that return types with arguments of type BackendID Modifier and Type Method Description Set<BackendID>DataClayObject. getAllLocations()Gets the location of this persistent object and its replicas.Methods in es.bsc.dataclay with parameters of type BackendID Modifier and Type Method Description voidDataClayObject. dcPut(String alias, BackendID optBackendID)Equivalent tomakePersistentvoidDataClayObject. dcPut(String alias, BackendID optBackendID, boolean recursive)Equivalent tomakePersistentvoidDataClayObject. federateToBackend(BackendID extBackendID)Federates this object with an external backend instancevoidDataClayObject. federateToBackend(BackendID extBackendID, boolean recursive)Federates this object with an external backend instancevoidDataClayObject. makePersistent(boolean recursive, BackendID optionalBackendID)Store this object into DataClay.voidDataClayObject. makePersistent(BackendID optBackendID)voidDataClayObject. makePersistent(String alias, BackendID destBackendID)Store this object into DataClay.voidDataClayObject. makePersistent(String alias, BackendID destBackendID, boolean recursive)Store this object into DataClay.voidDataClayObject. moveObject(BackendID srcLocID, BackendID destLocID)Moves a persistent object and referenced objects from the source location to the destination location specified.voidDataClayObject. moveObject(BackendID srcLocID, BackendID destLocID, boolean recursive)Moves a persistent object from the source location to the destination location specified.BackendIDDataClayObject. newReplica(BackendID optionalBackendID)Creates a new replica of this persistent object.BackendIDDataClayObject. newReplica(BackendID optionalBackendID, boolean recursive)Create a new replica of this persistent object.voidDataClayObject. setHint(BackendID newhint)Set the DataClayObject::hintvoidDataClayObject. setMasterLocation(BackendID newMasterLocation)If called from client side will not have any effect.voidDataClayObject. unfederateFromBackend(BackendID extBackendID)Unfederates this object with an external backend instancevoidDataClayObject. unfederateFromBackend(BackendID extBackendID, boolean recursive)Unfederates this object with an external backend instance -
Uses of BackendID in es.bsc.dataclay.api
Fields in es.bsc.dataclay.api declared as BackendID Modifier and Type Field Description static BackendIDDataClay. jLOCALLOCAL BackendIDstatic BackendIDDataClay. pLOCALMethods in es.bsc.dataclay.api that return BackendID Modifier and Type Method Description BackendIDBackend. getDataClayID()static BackendIDDataClay. getExternalJavaBackend(String dsName, DataClayInstanceID externalDcID)Retrieves the id of external java backend with name provided in external dataClay specifiedstatic BackendIDDataClay. getJavaBackend(String dsName)Retrieves the id of ANY java backend with name providedMethods in es.bsc.dataclay.api that return types with arguments of type BackendID Modifier and Type Method Description static Set<BackendID>DataClay. getJavaBackends()Retrieves all Java backendsstatic Triple<ObjectID,BackendID,MetaClassID>DataClay. string2IDandHintID(String objectIDstr)Translates from string representation of an objectID to an ObjectID.Methods in es.bsc.dataclay.api with parameters of type BackendID Modifier and Type Method Description static BackendDataClay. getBackendInfo(BackendID backendID)Retrieves the info of a backendstatic StringDataClay. ids2String(ObjectID objectID, BackendID hint, MetaClassID classID)Translates from ObjectID to string representation. -
Uses of BackendID in es.bsc.dataclay.commonruntime
Fields in es.bsc.dataclay.commonruntime with type parameters of type BackendID Modifier and Type Field Description protected MemoryCache<String,Triple<ObjectID,MetaClassID,BackendID>>DataClayRuntime. aliasCacheCache of alias -> oid.Methods in es.bsc.dataclay.commonruntime that return BackendID Modifier and Type Method Description protected BackendIDDataClayRuntime. chooseLocation(DataClayObject dcObject, String alias)Choose execution/make persistent location.BackendIDClientRuntime. getHint()abstract BackendIDDataClayRuntime. getHint()Get hint of current backend.BackendIDClientRuntime. getLocalBackend()Retrieves current default backendabstract BackendIDDataClayRuntime. getLocalBackend()BackendIDDataClayRuntime. getLocation(ObjectID objectID)Get the ID of some backend in which the object identified by the stub instance provided is locatedBackendIDClientRuntime. makePersistent(DataClayObject dcObject, BackendID optionalDestBackendID, boolean recursive, String alias)abstract BackendIDDataClayRuntime. makePersistent(DataClayObject dcObject, BackendID optionalDestBackendID, boolean recursive, String alias)This method creates a new Persistent Object using the provided stub instance and, if indicated, all its associated objects also Logic module API used for communicationBackendIDDataServiceRuntime. makePersistent(DataClayObject dcObject, BackendID optionalDestBackendID, boolean recursive, String alias)BackendIDDataClayRuntime. newReplica(ObjectID objectID, BackendID objectHint, BackendID optDestBackendID, String optDestHostname, boolean recursive)Replicates an object.Methods in es.bsc.dataclay.commonruntime that return types with arguments of type BackendID Modifier and Type Method Description Map<BackendID,ExecutionEnvironment>DataClayRuntime. getAllExecutionEnvironmentsAtHost(CommonMessages.Langs lang, String hostname)Get all execution environments in provided hostSet<BackendID>DataClayRuntime. getAllLocations(ObjectID objectID)Get the IDs of the backends in which the object identified by the stub instance provided is located.Set<BackendID>DataClayRuntime. getBackendsWithName(CommonMessages.Langs lang, String backendName)Get exec.Triple<ObjectID,MetaClassID,BackendID>DataClayRuntime. getObjectInfoByAlias(String alias)Method that gets info of an object given its ID if the object is accessible by using the given sesion.Tuple<ObjectID,BackendID>DataClayRuntime. newVersion(ObjectID objectID, ExecutionEnvironmentID objectHint, MetaClassID classID, DataSetID dataSetID, BackendID optDestBackendID, String optDestHostname)Creates a persistent new version of an object and its subobjects (always recursive).Methods in es.bsc.dataclay.commonruntime with parameters of type BackendID Modifier and Type Method Description ObjectDataClayRuntime. callExecuteToDS(DataClayObject dcObject, Object[] params, ImplementationID remoteImplID, BackendID remoteLocationID, boolean usingHint)Execute a remote implementation in Location specified.ObjectDataClayRuntime. executeRemoteTask(ObjectID objectID, String className, String operationNameAndSignature, Object[] params, BackendID target)Method that executes an implementationStringDataClayRuntime. getDSNameOfHint(BackendID hint)Get name of node associated to hint.ExecutionEnvironmentDataClayRuntime. getExecutionEnvironmentInfo(BackendID execLocationID)Get ExecutionEnvironment informationDataClayObjectDataClayRuntime. getOrNewAndLoadVolatile(MetaClassID classID, ObjectID objectID, BackendID hint, ObjectWithDataParamOrReturn objWithData, Map<MetaClassID,byte[]> ifaceBitMaps)Get from Heap or create a new volatile in EE and load data on it.DataClayObjectDataServiceRuntime. getOrNewAndLoadVolatile(MetaClassID classID, ObjectID objectID, BackendID hint, ObjectWithDataParamOrReturn objWithData, Map<MetaClassID,byte[]> ifaceBitMaps)Get from Heap or create a new volatile in EE and load data on it.DataClayObjectClientRuntime. getOrNewPersistentInstance(MetaClassID classID, ObjectID objectID, BackendID hint)abstract DataClayObjectDataClayRuntime. getOrNewPersistentInstance(MetaClassID classID, ObjectID objectID, BackendID hint)Check if instance exists in Heap or create a new PERSISTENT instance if neededDataClayExecutionObjectDataServiceRuntime. getOrNewPersistentInstance(MetaClassID classID, ObjectID objectID, BackendID hint)DataClayObjectDataClayRuntime. getPersistedObjectByOID(ObjectID objectID, MetaClassID classID, BackendID hint)Recovers Object from OID and class IDDataServiceAPIDataClayRuntime. getRemoteExecutionEnvironment(BackendID execLocationID)Get remote execution environmentBackendIDClientRuntime. makePersistent(DataClayObject dcObject, BackendID optionalDestBackendID, boolean recursive, String alias)abstract BackendIDDataClayRuntime. makePersistent(DataClayObject dcObject, BackendID optionalDestBackendID, boolean recursive, String alias)This method creates a new Persistent Object using the provided stub instance and, if indicated, all its associated objects also Logic module API used for communicationBackendIDDataServiceRuntime. makePersistent(DataClayObject dcObject, BackendID optionalDestBackendID, boolean recursive, String alias)voidDataClayRuntime. moveObject(ObjectID objectID, MetaClassID classID, BackendID hint, BackendID srcBackendID, BackendID destBackendID, boolean recursive)Move the replica of an object from one backend to another.ObjectIDDataClayRuntime. newRemotePersistentInstance(MetaClassID classID, StubInfo stubInfo, ImplementationID implID, Object[] params, BackendID locID)Create a new instance in a remote server and persist it.BackendIDDataClayRuntime. newReplica(ObjectID objectID, BackendID objectHint, BackendID optDestBackendID, String optDestHostname, boolean recursive)Replicates an object.Tuple<ObjectID,BackendID>DataClayRuntime. newVersion(ObjectID objectID, ExecutionEnvironmentID objectHint, MetaClassID classID, DataSetID dataSetID, BackendID optDestBackendID, String optDestHostname)Creates a persistent new version of an object and its subobjects (always recursive).List<ObjectWithDataParamOrReturn>ClientRuntime. serializeMakePersistent(BackendID location, DataClayObject objectToPersist, Map<MetaClassID,byte[]> ifaceBitMaps, boolean recursive)Serialize for make persistent.SerializedParametersOrReturnDataClayRuntime. serializeParams(DataClayObject objectInWhichToExec, Map<MetaClassID,byte[]> ifaceBitMaps, ImplementationID implID, Object[] params, boolean forUpdate, BackendID hintVolatiles)Serialize parameters.voidClientRuntime. setLocalBackend(BackendID backendID)Sets ID of backend to be identified as LOCAL backend.voidDataClayRuntime. setObjectReadOnly(ObjectID objectID, MetaClassID classID, BackendID hint)Set a persistent object as read only Logic module API used for communicationvoidDataClayRuntime. setObjectReadWrite(ObjectID objectID, MetaClassID classID, BackendID hint)Set a persistent object as read write -
Uses of BackendID in es.bsc.dataclay.loader
Methods in es.bsc.dataclay.loader with parameters of type BackendID Modifier and Type Method Description DataClayObjectDataClayObjectLoader. getOrNewAndLoadVolatile(MetaClassID classID, ObjectID objectID, BackendID hint, ObjectWithDataParamOrReturn objWithData, Map<MetaClassID,byte[]> ifaceBitMaps)Get from Heap or create a new volatile in EE and load data on it.DataClayObjectDataClayObjectLoader. getOrNewPersistentInstance(MetaClassID classID, ObjectID objectID, BackendID hint)Check if instance exists in Heap or create a new PERSISTENT instance if neededDataClayExecutionObjectExecutionObjectLoader. getOrNewPersistentInstance(MetaClassID classID, ObjectID objectID, BackendID hint)Check if instance exists in objects map or create a new PERSISTENT instance if neededprotected DataClayObjectDataClayObjectLoader. newInstanceInternal(MetaClassID classID, ObjectID objectID, BackendID hint)Create a new instance using proper class loader -
Uses of BackendID in es.bsc.dataclay.serialization.lib
Methods in es.bsc.dataclay.serialization.lib with parameters of type BackendID Modifier and Type Method Description static ObjectWithDataParamOrReturnDataClaySerializationLib. serializeDataClayObjectWithData(DataClayObject dcObject, DataClayRuntime clientLib, boolean ignoreUserTypes, Map<MetaClassID,byte[]> ifaceBitMaps, ListIterator<DataClayObject> curIt, boolean forUpdate, BackendID hint, boolean forcePendingToRegister)Serialize DataClayObject with data.static SerializedParametersOrReturnDataClaySerializationLib. serializeParamsOrReturn(List<DataClaySerializable> wrappedParamsOrRet, Map<MetaClassID,byte[]> ifaceBitMaps, DataClayRuntime runtime, boolean forUpdate, BackendID hint, boolean ignoreSubObjects)Serialize parameters or return of an execution -
Uses of BackendID in es.bsc.dataclay.storagelocation
Methods in es.bsc.dataclay.storagelocation that return types with arguments of type BackendID Modifier and Type Method Description Map<BackendID,Map<ObjectID,AtomicInteger>>PersistentReferenceCounters. getCountersPerNode()Constructor parameters in es.bsc.dataclay.storagelocation with type arguments of type BackendID Constructor Description PersistentReferenceCounters(Map<BackendID,Map<ObjectID,AtomicInteger>> thecountersPerNode, Map<ObjectID,Long> thequarantine, Set<ObjectID> thecandidates)Constructor -
Uses of BackendID in es.bsc.dataclay.util
Methods in es.bsc.dataclay.util that return types with arguments of type BackendID Modifier and Type Method Description Map<BackendID,Map<ObjectID,Integer>>ReferenceCounting. getReferenceCounting()Get ref.Methods in es.bsc.dataclay.util with parameters of type BackendID Modifier and Type Method Description voidReferenceCounting. incrementReferenceCounting(ObjectID objectID, BackendID hint)Add +1 to reference counting -
Uses of BackendID in es.bsc.dataclay.util.ids
Classes in es.bsc.dataclay.util.ids that implement BackendID Modifier and Type Class Description classExecutionEnvironmentIDThis class represents the identification of a ExecutionEnvironment. -
Uses of BackendID in storage
Methods in storage that return BackendID Modifier and Type Method Description BackendIDStorageObject. getLocation()BackendIDStorageObject. newReplica()BackendIDStorageObject. newReplica(boolean recursive)BackendIDStorageObject. newReplica(BackendID optionalBackendID)BackendIDStorageObject. newReplica(BackendID optionalBackendID, boolean recursive)Methods in storage that return types with arguments of type BackendID Modifier and Type Method Description Set<BackendID>StorageObject. getAllLocations()Methods in storage with parameters of type BackendID Modifier and Type Method Description voidStorageObject. makePersistent(boolean recursive, BackendID optionalBackendID)voidStorageObject. makePersistent(BackendID optionalBackendID)voidStorageObject. makePersistent(String alias, BackendID optionalBackendID)voidStorageObject. makePersistent(String alias, BackendID optionalBackendID, boolean recursive)voidStorageObject. moveObject(BackendID srcLocID, BackendID destLocID)voidStorageObject. moveObject(BackendID srcLocID, BackendID destLocID, boolean recursive)BackendIDStorageObject. newReplica(BackendID optionalBackendID)BackendIDStorageObject. newReplica(BackendID optionalBackendID, boolean recursive)
-