public class ArrayBasedRelationLockHolder
extends java.lang.Object
| Modifier and Type | Class and Description |
|---|---|
static interface |
ArrayBasedRelationLockHolder.RelationAttributeInfo |
| Constructor and Description |
|---|
ArrayBasedRelationLockHolder(int maxWorkers) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
lockRelationAttribute(int workerNumber,
ArrayBasedRelationLockHolder.RelationAttributeInfo lock,
boolean block) |
protected boolean |
mustWaitOn(ArrayBasedRelationLockHolder.RelationAttributeInfo info1,
ArrayBasedRelationLockHolder.RelationAttributeInfo info2) |
void |
releaseAttributeLock(int workerNumber) |
public boolean lockRelationAttribute(int workerNumber,
ArrayBasedRelationLockHolder.RelationAttributeInfo lock,
boolean block)
public void releaseAttributeLock(int workerNumber)
protected boolean mustWaitOn(ArrayBasedRelationLockHolder.RelationAttributeInfo info1, ArrayBasedRelationLockHolder.RelationAttributeInfo info2)
Copyright © 2018 SAP SE. All Rights Reserved.