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 | Method and Description |
---|---|
default <T> T |
ODatabaseObject.executeWithRetry(int nRetries,
Function<ODatabaseSession,T> function) |
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.
|
Modifier and Type | Method and Description |
---|---|
protected void |
OGraphInsertWorkload.manageNeedRetryException(OBaseWorkload.OBaseWorkLoadContext context,
ONeedRetryException e) |
Modifier and Type | Method and Description |
---|---|
<T> T |
OObjectDatabaseTx.executeWithRetry(int nRetries,
Function<ODatabaseSession,T> function) |
Modifier and Type | Class and Description |
---|---|
class |
ODistributedConfigurationChangedException
Cluster id was reassigned during the operation.
|
Modifier and Type | Class and Description |
---|---|
class |
OInvalidSequentialException |
Modifier and Type | Class and Description |
---|---|
class |
ODistributedKeyLockedException |
class |
ODistributedLockException
Exception thrown when a distributed resource is locked.
|
class |
ODistributedOperationException
Exception thrown when a distributed operation doesn't reach the quorum.
|
class |
ODistributedRecordLockedException
Exception thrown when a record is locked by a running distributed transaction.
|
Modifier and Type | Method and Description |
---|---|
protected void |
OBaseWorkload.manageNeedRetryException(OBaseWorkload.OBaseWorkLoadContext context,
ONeedRetryException e) |
Copyright © 2009–2020 OrientDB. All rights reserved.