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 Lock
public String getLockToken()
getLockToken
in interface Lock
public long getSecondsRemaining()
getSecondsRemaining
in interface Lock
public boolean isSessionScoped()
isSessionScoped
in interface Lock
public boolean isLockOwningSession()
isLockOwningSession
in interface Lock
public void refresh() throws LockException
refresh
in interface Lock
LockException
Copyright © 2012–2018 The Apache Software Foundation. All rights reserved.