public class STLock
extends AbstractActiveLock
Modifier and Type | Field and Description |
---|---|
DBLogicalLock |
dbLock |
Constructor and Description |
---|
STLock(DBLogicalLock dbLock) |
Modifier and Type | Method and Description |
---|---|
java.lang.String |
getOwner() |
Scope |
getScope() |
long |
getTimeout() |
java.lang.String |
getToken() |
Type |
getType() |
boolean |
isDeep() |
boolean |
isExpired() |
boolean |
isLockedByToken(java.lang.String string) |
boolean |
isUnmappedUrl() |
void |
release(java.lang.String key) |
void |
setIsDeep(boolean bln) |
void |
setIsUnmappedUrl(boolean isUnmappedUrl) |
void |
setOwner(java.lang.String string) |
void |
setTimeout(long l) |
public final DBLogicalLock dbLock
public STLock(DBLogicalLock dbLock)
dbLock
- the lockpublic boolean isUnmappedUrl()
public void setIsUnmappedUrl(boolean isUnmappedUrl)
isUnmappedUrl
- true if is unmapped urlpublic boolean isLockedByToken(java.lang.String string)
string
- the stringpublic boolean isExpired()
public java.lang.String getToken()
public java.lang.String getOwner()
public void setOwner(java.lang.String string)
string
- the ownerpublic void release(java.lang.String key) throws DavException
key
- the keyDavException
- the exceptionpublic long getTimeout()
public void setTimeout(long l)
l
- the timeoutpublic boolean isDeep()
public void setIsDeep(boolean bln)
bln
- set deeppublic Type getType()
public Scope getScope()
stSoftware Copyright © 2001-2014 stSoftware All Rights Reserved.