@InterfaceAudience.Public public class LockInfo extends Object
Modifier and Type | Class and Description |
---|---|
static class |
LockInfo.LockType |
static class |
LockInfo.ResourceType |
static class |
LockInfo.WaitingProcedure |
Constructor and Description |
---|
LockInfo() |
Modifier and Type | Method and Description |
---|---|
void |
addWaitingProcedure(LockInfo.WaitingProcedure waitingProcedure) |
ProcedureInfo |
getExclusiveLockOwnerProcedure() |
LockInfo.LockType |
getLockType() |
String |
getResourceName() |
LockInfo.ResourceType |
getResourceType() |
int |
getSharedLockCount() |
List<LockInfo.WaitingProcedure> |
getWaitingProcedures() |
void |
setExclusiveLockOwnerProcedure(ProcedureInfo exclusiveLockOwnerProcedure) |
void |
setLockType(LockInfo.LockType lockType) |
void |
setResourceName(String resourceName) |
void |
setResourceType(LockInfo.ResourceType resourceType) |
void |
setSharedLockCount(int sharedLockCount) |
void |
setWaitingProcedures(List<LockInfo.WaitingProcedure> waitingProcedures) |
public LockInfo.ResourceType getResourceType()
public void setResourceType(LockInfo.ResourceType resourceType)
public String getResourceName()
public void setResourceName(String resourceName)
public LockInfo.LockType getLockType()
public void setLockType(LockInfo.LockType lockType)
public ProcedureInfo getExclusiveLockOwnerProcedure()
public void setExclusiveLockOwnerProcedure(ProcedureInfo exclusiveLockOwnerProcedure)
public int getSharedLockCount()
public void setSharedLockCount(int sharedLockCount)
public List<LockInfo.WaitingProcedure> getWaitingProcedures()
public void setWaitingProcedures(List<LockInfo.WaitingProcedure> waitingProcedures)
public void addWaitingProcedure(LockInfo.WaitingProcedure waitingProcedure)
Copyright © 2007–2017 The Apache Software Foundation. All rights reserved.