Package | Description |
---|---|
org.eclipse.emf.cdo | |
org.eclipse.emf.cdo.common.lock |
Common concepts for dealing with durable locks and views.
|
org.eclipse.emf.cdo.common.protocol |
Common concepts for dealing with protocols and CDO-specific I/O.
|
org.eclipse.emf.cdo.server |
Server concepts for dealing with repositories and stores.
|
org.eclipse.emf.cdo.spi.common.lock |
Common service provider interfaces and useful base implementations for dealing with object locks.
|
org.eclipse.emf.cdo.spi.common.protocol |
Common base implementations for dealing with I/O of CDO data structures.
|
org.eclipse.emf.cdo.spi.server |
Server service provider interfaces and useful base implementations.
|
org.eclipse.emf.cdo.transaction |
Client concepts for dealing with transactions, distributed transactions and their save points.
|
org.eclipse.emf.cdo.view |
Client concepts for dealing with views, view sets, queries, CDO objects and EMF resource sets.
|
org.eclipse.emf.internal.cdo |
Exposes
CDOObjectImpl for extension in generated EMF models. |
org.eclipse.emf.spi.cdo |
Client service provider interfaces and useful base implementations.
|
Modifier and Type | Method and Description |
---|---|
CDOLockState |
CDOObject.cdoLockState()
Returns the
CDOLockState of this object. |
Modifier and Type | Method and Description |
---|---|
static CDOLockState |
CDOLockUtil.copyLockState(CDOLockState lockState) |
static CDOLockState |
CDOLockUtil.createLockState(Object target) |
static CDOLockState |
CDOLockUtil.createLockState(RWOLockManager.LockState<Object,? extends CDOCommonView> lockState) |
CDOLockState[] |
CDOLockChangeInfo.getLockStates() |
Modifier and Type | Method and Description |
---|---|
static CDOLockState |
CDOLockUtil.copyLockState(CDOLockState lockState) |
static CDOLockChangeInfo |
CDOLockUtil.createLockChangeInfo(long timestamp,
CDOCommonView view,
CDOBranch viewedBranch,
CDOLockChangeInfo.Operation op,
IRWLockManager.LockType lockType,
CDOLockState[] cdoLockStates) |
static CDOLockChangeInfo |
CDOLockUtil.createLockChangeInfo(long timestamp,
CDOLockOwner lockOwner,
CDOBranch branch,
CDOLockChangeInfo.Operation op,
IRWLockManager.LockType lockType,
CDOLockState[] cdoLockStates) |
Modifier and Type | Method and Description |
---|---|
CDOLockState |
CDODataInput.readCDOLockState() |
Modifier and Type | Method and Description |
---|---|
void |
CDODataOutput.writeCDOLockState(CDOLockState lockState) |
Modifier and Type | Method and Description |
---|---|
CDOLockState[] |
IStoreAccessor.CommitContext.getLocksOnNewObjects()
Returns an array of the locks on the new objects that are part of the commit operation represented by this
CommitContext . |
Modifier and Type | Interface and Description |
---|---|
interface |
InternalCDOLockState
If the meaning of this type isn't clear, there really should be more of a description here...
|
Modifier and Type | Field and Description |
---|---|
static CDOLockState |
InternalCDOLockState.UNLOCKED |
Modifier and Type | Method and Description |
---|---|
void |
InternalCDOLockState.updateFrom(CDOLockState source)
Update the
lockOwners of this lock state from the one passed in. |
void |
InternalCDOLockState.updateFrom(Object object,
CDOLockState source)
Deprecated.
As of 4.5 use
InternalCDOLockState.updateFrom(CDOLockState) instead.
The lockedObject field cannot be changed because it is used to compute the hash code.
Instantiate a new CDOLockState object if you want to update the lockedObject field. |
Modifier and Type | Method and Description |
---|---|
CDOLockState |
CDODataInputImpl.readCDOLockState() |
Modifier and Type | Method and Description |
---|---|
void |
CDODataOutputImpl.writeCDOLockState(CDOLockState lockState) |
Modifier and Type | Method and Description |
---|---|
void |
InternalCommitContext.setLocksOnNewObjects(CDOLockState[] locksOnNewObjects) |
Modifier and Type | Method and Description |
---|---|
CDOLockState[] |
CDOPushTransaction.getLockStates(Collection<CDOID> ids) |
CDOLockState[] |
CDOPushTransaction.getLockStatesOfObjects(Collection<? extends CDOObject> objects) |
Modifier and Type | Method and Description |
---|---|
Collection<CDOLockState> |
CDOCommitContext.getLocksOnNewObjects() |
Modifier and Type | Method and Description |
---|---|
CDOLockState[] |
CDOView.getLockStates(Collection<CDOID> ids)
Get an array of
lock states corresponding to the specified collection of ids . |
CDOLockState[] |
CDOView.getLockStatesOfObjects(Collection<? extends CDOObject> objects)
Get an array of
lock states corresponding to the specified collection of objects . |
Modifier and Type | Method and Description |
---|---|
CDOLockState |
CDOObjectImpl.cdoLockState() |
static CDOLockState |
CDOObjectImpl.getLockState(InternalCDOObject object) |
Modifier and Type | Method and Description |
---|---|
CDOLockState[] |
CDOSessionProtocol.getLockStates(int viewID,
Collection<CDOID> ids)
Deprecated.
Not called anymore. Use
CDOSessionProtocol.getLockStates(int, Collection, int) instead. |
CDOLockState[] |
CDOSessionProtocol.getLockStates(int viewID,
Collection<CDOID> ids,
int depth) |
CDOLockState[] |
CDOSessionProtocol.CommitTransactionResult.getNewLockStates() |
CDOLockState[] |
CDOSessionProtocol.LockObjectsResult.getNewLockStates() |
CDOLockState[] |
CDOSessionProtocol.UnlockObjectsResult.getNewLockStates() |
Modifier and Type | Method and Description |
---|---|
void |
CDOSessionProtocol.CommitTransactionResult.setNewLockStates(CDOLockState[] newLockStates) |
Constructor and Description |
---|
LockObjectsResult(boolean successful,
boolean timedOut,
boolean waitForUpdate,
long requiredTimestamp,
CDORevisionKey[] staleRevisions,
CDOLockState[] newLockStates,
long timestamp) |
UnlockObjectsResult(CDOLockState[] newLockStates,
long timestamp) |
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