| Constructor and Description |
|---|
LockImpl(@NotNull SessionContext context,
@NotNull NodeDelegate delegate) |
| Modifier and Type | Method and Description |
|---|---|
java.lang.String |
getLockOwner() |
java.lang.String |
getLockToken() |
Node |
getNode() |
long |
getSecondsRemaining() |
boolean |
isDeep() |
boolean |
isLive() |
boolean |
isLockOwningSession() |
boolean |
isSessionScoped() |
void |
refresh() |
public LockImpl(@NotNull
@NotNull SessionContext context,
@NotNull
@NotNull NodeDelegate delegate)
public java.lang.String getLockOwner()
getLockOwner in interface Lockpublic java.lang.String getLockToken()
getLockToken in interface Lockpublic long getSecondsRemaining()
getSecondsRemaining in interface Lockpublic boolean isSessionScoped()
isSessionScoped in interface Lockpublic boolean isLockOwningSession()
isLockOwningSession in interface Lockpublic void refresh()
throws LockException
refresh in interface LockLockExceptionCopyright © 2012–2022 The Apache Software Foundation. All rights reserved.