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 BackendID
DataClayObject. LOCAL
'LOCAL' locationMethods in es.bsc.dataclay that return BackendID Modifier and Type Method Description BackendID
DataClayObject. getHint()
Get the DataClayObject::hintBackendID
DataClayObject. getLocation()
Gets the location of this persistent object.BackendID
DataClayObject. getMasterLocation()
BackendID
DataClayObject. newReplica()
Creates a new replica of this persistent object and its subobjects in a certain backend.BackendID
DataClayObject. newReplica(boolean recursive)
Creates a new replica of this persistent object in a certain backend.BackendID
DataClayObject. newReplica(BackendID optionalBackendID)
Creates a new replica of this persistent object.BackendID
DataClayObject. 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 void
DataClayObject. dcPut(String alias, BackendID optBackendID)
Equivalent tomakePersistent
void
DataClayObject. dcPut(String alias, BackendID optBackendID, boolean recursive)
Equivalent tomakePersistent
void
DataClayObject. federateToBackend(BackendID extBackendID)
Federates this object with an external backend instancevoid
DataClayObject. federateToBackend(BackendID extBackendID, boolean recursive)
Federates this object with an external backend instancevoid
DataClayObject. makePersistent(boolean recursive, BackendID optionalBackendID)
Store this object into DataClay.void
DataClayObject. makePersistent(BackendID optBackendID)
void
DataClayObject. makePersistent(String alias, BackendID destBackendID)
Store this object into DataClay.void
DataClayObject. makePersistent(String alias, BackendID destBackendID, boolean recursive)
Store this object into DataClay.void
DataClayObject. moveObject(BackendID srcLocID, BackendID destLocID)
Moves a persistent object and referenced objects from the source location to the destination location specified.void
DataClayObject. moveObject(BackendID srcLocID, BackendID destLocID, boolean recursive)
Moves a persistent object from the source location to the destination location specified.BackendID
DataClayObject. newReplica(BackendID optionalBackendID)
Creates a new replica of this persistent object.BackendID
DataClayObject. newReplica(BackendID optionalBackendID, boolean recursive)
Create a new replica of this persistent object.void
DataClayObject. setHint(BackendID newhint)
Set the DataClayObject::hintvoid
DataClayObject. setMasterLocation(BackendID newMasterLocation)
If called from client side will not have any effect.void
DataClayObject. unfederateFromBackend(BackendID extBackendID)
Unfederates this object with an external backend instancevoid
DataClayObject. 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 BackendID
DataClay. jLOCAL
LOCAL BackendIDstatic BackendID
DataClay. pLOCAL
Methods in es.bsc.dataclay.api that return BackendID Modifier and Type Method Description BackendID
Backend. getDataClayID()
static BackendID
DataClay. getExternalJavaBackend(String dsName, DataClayInstanceID externalDcID)
Retrieves the id of external java backend with name provided in external dataClay specifiedstatic BackendID
DataClay. 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 Backend
DataClay. getBackendInfo(BackendID backendID)
Retrieves the info of a backendstatic String
DataClay. 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. aliasCache
Cache of alias -> oid.Methods in es.bsc.dataclay.commonruntime that return BackendID Modifier and Type Method Description protected BackendID
DataClayRuntime. chooseLocation(DataClayObject dcObject, String alias)
Choose execution/make persistent location.BackendID
ClientRuntime. getHint()
abstract BackendID
DataClayRuntime. getHint()
Get hint of current backend.BackendID
ClientRuntime. getLocalBackend()
Retrieves current default backendabstract BackendID
DataClayRuntime. getLocalBackend()
BackendID
DataClayRuntime. getLocation(ObjectID objectID)
Get the ID of some backend in which the object identified by the stub instance provided is locatedBackendID
ClientRuntime. makePersistent(DataClayObject dcObject, BackendID optionalDestBackendID, boolean recursive, String alias)
abstract BackendID
DataClayRuntime. 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 communicationBackendID
DataServiceRuntime. makePersistent(DataClayObject dcObject, BackendID optionalDestBackendID, boolean recursive, String alias)
BackendID
DataClayRuntime. 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 Object
DataClayRuntime. callExecuteToDS(DataClayObject dcObject, Object[] params, ImplementationID remoteImplID, BackendID remoteLocationID, boolean usingHint)
Execute a remote implementation in Location specified.Object
DataClayRuntime. executeRemoteTask(ObjectID objectID, String className, String operationNameAndSignature, Object[] params, BackendID target)
Method that executes an implementationString
DataClayRuntime. getDSNameOfHint(BackendID hint)
Get name of node associated to hint.ExecutionEnvironment
DataClayRuntime. getExecutionEnvironmentInfo(BackendID execLocationID)
Get ExecutionEnvironment informationDataClayObject
DataClayRuntime. 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.DataClayObject
DataServiceRuntime. 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.DataClayObject
ClientRuntime. getOrNewPersistentInstance(MetaClassID classID, ObjectID objectID, BackendID hint)
abstract DataClayObject
DataClayRuntime. getOrNewPersistentInstance(MetaClassID classID, ObjectID objectID, BackendID hint)
Check if instance exists in Heap or create a new PERSISTENT instance if neededDataClayExecutionObject
DataServiceRuntime. getOrNewPersistentInstance(MetaClassID classID, ObjectID objectID, BackendID hint)
DataClayObject
DataClayRuntime. getPersistedObjectByOID(ObjectID objectID, MetaClassID classID, BackendID hint)
Recovers Object from OID and class IDDataServiceAPI
DataClayRuntime. getRemoteExecutionEnvironment(BackendID execLocationID)
Get remote execution environmentBackendID
ClientRuntime. makePersistent(DataClayObject dcObject, BackendID optionalDestBackendID, boolean recursive, String alias)
abstract BackendID
DataClayRuntime. 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 communicationBackendID
DataServiceRuntime. makePersistent(DataClayObject dcObject, BackendID optionalDestBackendID, boolean recursive, String alias)
void
DataClayRuntime. moveObject(ObjectID objectID, MetaClassID classID, BackendID hint, BackendID srcBackendID, BackendID destBackendID, boolean recursive)
Move the replica of an object from one backend to another.ObjectID
DataClayRuntime. newRemotePersistentInstance(MetaClassID classID, StubInfo stubInfo, ImplementationID implID, Object[] params, BackendID locID)
Create a new instance in a remote server and persist it.BackendID
DataClayRuntime. 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.SerializedParametersOrReturn
DataClayRuntime. serializeParams(DataClayObject objectInWhichToExec, Map<MetaClassID,byte[]> ifaceBitMaps, ImplementationID implID, Object[] params, boolean forUpdate, BackendID hintVolatiles)
Serialize parameters.void
ClientRuntime. setLocalBackend(BackendID backendID)
Sets ID of backend to be identified as LOCAL backend.void
DataClayRuntime. setObjectReadOnly(ObjectID objectID, MetaClassID classID, BackendID hint)
Set a persistent object as read only Logic module API used for communicationvoid
DataClayRuntime. 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 DataClayObject
DataClayObjectLoader. 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.DataClayObject
DataClayObjectLoader. getOrNewPersistentInstance(MetaClassID classID, ObjectID objectID, BackendID hint)
Check if instance exists in Heap or create a new PERSISTENT instance if neededDataClayExecutionObject
ExecutionObjectLoader. getOrNewPersistentInstance(MetaClassID classID, ObjectID objectID, BackendID hint)
Check if instance exists in objects map or create a new PERSISTENT instance if neededprotected DataClayObject
DataClayObjectLoader. 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 ObjectWithDataParamOrReturn
DataClaySerializationLib. 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 SerializedParametersOrReturn
DataClaySerializationLib. 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 void
ReferenceCounting. 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 class
ExecutionEnvironmentID
This class represents the identification of a ExecutionEnvironment. -
Uses of BackendID in storage
Methods in storage that return BackendID Modifier and Type Method Description BackendID
StorageObject. getLocation()
BackendID
StorageObject. newReplica()
BackendID
StorageObject. newReplica(boolean recursive)
BackendID
StorageObject. newReplica(BackendID optionalBackendID)
BackendID
StorageObject. 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 void
StorageObject. makePersistent(boolean recursive, BackendID optionalBackendID)
void
StorageObject. makePersistent(BackendID optionalBackendID)
void
StorageObject. makePersistent(String alias, BackendID optionalBackendID)
void
StorageObject. makePersistent(String alias, BackendID optionalBackendID, boolean recursive)
void
StorageObject. moveObject(BackendID srcLocID, BackendID destLocID)
void
StorageObject. moveObject(BackendID srcLocID, BackendID destLocID, boolean recursive)
BackendID
StorageObject. newReplica(BackendID optionalBackendID)
BackendID
StorageObject. newReplica(BackendID optionalBackendID, boolean recursive)
-