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 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–2020 The Apache Software Foundation. All rights reserved.