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 StringgetLockOwner()StringgetLockToken()NodegetNode()longgetSecondsRemaining()booleanisDeep()booleanisLive()booleanisLockOwningSession()booleanisSessionScoped()voidrefresh()
-
-
-
Constructor Detail
-
LockImpl
public LockImpl(@NotNull @NotNull SessionContext context, @NotNull @NotNull NodeDelegate delegate)
-
-
Method Detail
-
getLockOwner
public String getLockOwner()
- Specified by:
getLockOwnerin interfaceLock
-
getLockToken
public String getLockToken()
- Specified by:
getLockTokenin interfaceLock
-
getSecondsRemaining
public long getSecondsRemaining()
- Specified by:
getSecondsRemainingin interfaceLock
-
isSessionScoped
public boolean isSessionScoped()
- Specified by:
isSessionScopedin interfaceLock
-
isLockOwningSession
public boolean isLockOwningSession()
- Specified by:
isLockOwningSessionin interfaceLock
-
refresh
public void refresh() throws LockException- Specified by:
refreshin interfaceLock- Throws:
LockException
-
-