public class LocalCommitConflictException extends CommitConflictException
commit conflict exception that indicates that the transaction has local conflicts.
It's usually possible and adequate to rollback the transaction, replay the model modifications and
commit the transaction again (optimistic strategy). Pessimistic locks can help to avoid the problematic situation
(see also CDOAutoLocker).
Instances of this class indicate commit conflicts that are detected locally by analyzing the passive updates
that result from commits of other transactions. Conflict resolvers can help to reduce the risk of local commit conflicts.
| Constructor and Description |
|---|
LocalCommitConflictException(java.lang.String message) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
isLocal() |
wrappublic LocalCommitConflictException(java.lang.String message)
public boolean isLocal()
isLocal in class CommitExceptionCopyright (c) 2004-2019 Eike Stepper (Loehne, Germany) and others.
All rights reserved. This program and the accompanying materials are made available under the terms of the Eclipse Public License v1.0 which accompanies this distribution, and is available at http://www.eclipse.org/legal/epl-v10.html