@InterfaceAudience.Private public class LockedResource extends Object
Constructor and Description |
---|
LockedResource(LockedResourceType resourceType,
String resourceName,
LockType lockType,
Procedure<?> exclusiveLockOwnerProcedure,
int sharedLockCount,
List<Procedure<?>> waitingProcedures) |
Modifier and Type | Method and Description |
---|---|
Procedure<?> |
getExclusiveLockOwnerProcedure() |
LockType |
getLockType() |
String |
getResourceName() |
LockedResourceType |
getResourceType() |
int |
getSharedLockCount() |
List<Procedure<?>> |
getWaitingProcedures() |
public LockedResourceType getResourceType()
public String getResourceName()
public LockType getLockType()
public Procedure<?> getExclusiveLockOwnerProcedure()
public int getSharedLockCount()
Copyright © 2007–2019 Cloudera. All rights reserved.