public static class CDOAutoLocker.ForSingleValuedChanges extends CDOAutoLocker
auto locker
that only locks objects when their single-valued features are changed.
This auto locker is useful in combination with a conflict resolver
that is able to automatically resolve possible conflicts in many-valued features, such as CDOMergingConflictResolver
.
CDOAutoLocker.ForSingleValuedChanges
CDOTransactionHandler1.WithUndo
Constructor and Description |
---|
ForSingleValuedChanges() |
ForSingleValuedChanges(long timeout) |
Modifier and Type | Method and Description |
---|---|
void |
modifyingObject(CDOTransaction transaction,
CDOObject object,
CDOFeatureDelta featureChange)
This implementation does nothing.
|
attachingObject, detachingObject, handleDefault, undoingObject
public ForSingleValuedChanges()
public ForSingleValuedChanges(long timeout)
public void modifyingObject(CDOTransaction transaction, CDOObject object, CDOFeatureDelta featureChange)
CDODefaultTransactionHandler1
modifyingObject
in interface CDOTransactionHandler1
modifyingObject
in class CDOAutoLocker
Copyright (c) 2014 Eike Stepper (Berlin, 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