Package org.gcube.informationsystem.resourceregistry.persistence.orientdb.utils
package org.gcube.informationsystem.resourceregistry.persistence.orientdb.utils
-
ClassesClassDescriptionRecognizes the failure of a write that lost the race with another write: the backend reports it with an
ONeedRetryExceptionwhen both changed the same records, and with a duplicate key (seeDuplicateKeyDetector) when both wrote the same value of a unique index (e.g. the sameid), which the checks of the service, made before the other write committed, could not see.Recognizes the failure of a commit refused by a unique index: a record carrying a key that another record already holds, reported by the backend with anORecordDuplicatedException, which the layers above may have wrapped.The EncryptedOrient class extends ODocument and implements the Encrypted interface.Utility class for handling UUID operations specific to Resource Registry persistence.