public interface LockingPolicy
| Modifier and Type | Field and Description |
|---|---|
static java.lang.String |
COPYRIGHT
IBM copyright notice field.
|
| Modifier and Type | Method and Description |
|---|---|
boolean |
canActivityModifyManagedResource(ActivityToken activityToken,
LockData lockData)
This method determines whether the activity has permission to modify the resource.
|
boolean |
isManagedResourcedLocked(LockData managedResourceLockData,
LockData environmentLockData)
This method determines whether the managed resource is locked and thus whether the current operation
should be completed.
|
static final java.lang.String COPYRIGHT
boolean canActivityModifyManagedResource(ActivityToken activityToken, LockData lockData)
activityToken - The current activity.lockData - The lock data of the resource.boolean isManagedResourcedLocked(LockData managedResourceLockData, LockData environmentLockData)
managedResourceLockData - The current lock data associated with the managed resource.environmentLockData - The lock data representation of the environment associated with the
current operation.