| Constructor and Description |
|---|
LockImpl(@NotNull SessionContext context,
@NotNull NodeDelegate delegate) |
| Modifier and Type | Method and Description |
|---|---|
String |
getLockOwner() |
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 String getLockOwner()
getLockOwner in interface Lockpublic 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–2020 The Apache Software Foundation. All rights reserved.