Class LockImpl
- java.lang.Object
-
- org.apache.jackrabbit.oak.jcr.lock.LockImpl
-
-
Constructor Summary
Constructors Constructor Description LockImpl(@NotNull SessionContext context, @NotNull NodeDelegate delegate)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description String
getLockOwner()
String
getLockToken()
Node
getNode()
long
getSecondsRemaining()
boolean
isDeep()
boolean
isLive()
boolean
isLockOwningSession()
boolean
isSessionScoped()
void
refresh()
-
-
-
Constructor Detail
-
LockImpl
public LockImpl(@NotNull @NotNull SessionContext context, @NotNull @NotNull NodeDelegate delegate)
-
-
Method Detail
-
getLockOwner
public String getLockOwner()
- Specified by:
getLockOwner
in interfaceLock
-
getLockToken
public String getLockToken()
- Specified by:
getLockToken
in interfaceLock
-
getSecondsRemaining
public long getSecondsRemaining()
- Specified by:
getSecondsRemaining
in interfaceLock
-
isSessionScoped
public boolean isSessionScoped()
- Specified by:
isSessionScoped
in interfaceLock
-
isLockOwningSession
public boolean isLockOwningSession()
- Specified by:
isLockOwningSession
in interfaceLock
-
refresh
public void refresh() throws LockException
- Specified by:
refresh
in interfaceLock
- Throws:
LockException
-
-