Package | Description |
---|---|
com.orientechnologies.common.concur | |
com.orientechnologies.orient.core.db | |
com.orientechnologies.orient.core.exception |
Constructor and Description |
---|
ONeedRetryException(ONeedRetryException exception) |
ONeedRetryException(ONeedRetryException exception,
OErrorCode errorCode) |
Modifier and Type | Method and Description |
---|---|
default <T> T |
ODatabase.executeWithRetry(int nRetries,
Function<ODatabaseSession,T> function)
Tries to execute a lambda in a transaction, retrying it if an ONeedRetryException is thrown.
|
Modifier and Type | Class and Description |
---|---|
class |
OCommandInterruptedException
Exception thrown in case the execution of the command has been interrupted.
|
class |
OConcurrentCreateException
Exception thrown when a create operation get a non expected RID.
|
class |
OConcurrentModificationException
Exception thrown when MVCC is enabled and a record cannot be updated or deleted because versions don't match.
|
class |
OFastConcurrentModificationException
Exception thrown when MVCC is enabled and a record cannot be updated or deleted because versions don't match.
|
Copyright © 2009–2020 OrientDB. All rights reserved.