| Constructor and Description |
|---|
LockImpl(SessionContext context,
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(@Nonnull SessionContext context, @Nonnull 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–2018 The Apache Software Foundation. All rights reserved.