org.apache.jackrabbit.oak.jcr.lock
Class LockImpl
java.lang.Object
org.apache.jackrabbit.oak.jcr.lock.LockImpl
- All Implemented Interfaces:
- javax.jcr.lock.Lock
public final class LockImpl
- extends Object
- implements javax.jcr.lock.Lock
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
LockImpl
public LockImpl(@Nonnull
SessionContext context,
@Nonnull
NodeDelegate delegate)
getNode
public javax.jcr.Node getNode()
- Specified by:
getNode
in interface javax.jcr.lock.Lock
getLockOwner
public String getLockOwner()
- Specified by:
getLockOwner
in interface javax.jcr.lock.Lock
isDeep
public boolean isDeep()
- Specified by:
isDeep
in interface javax.jcr.lock.Lock
isLive
public boolean isLive()
- Specified by:
isLive
in interface javax.jcr.lock.Lock
getLockToken
public String getLockToken()
- Specified by:
getLockToken
in interface javax.jcr.lock.Lock
getSecondsRemaining
public long getSecondsRemaining()
- Specified by:
getSecondsRemaining
in interface javax.jcr.lock.Lock
isSessionScoped
public boolean isSessionScoped()
- Specified by:
isSessionScoped
in interface javax.jcr.lock.Lock
isLockOwningSession
public boolean isLockOwningSession()
- Specified by:
isLockOwningSession
in interface javax.jcr.lock.Lock
refresh
public void refresh()
throws javax.jcr.lock.LockException
- Specified by:
refresh
in interface javax.jcr.lock.Lock
- Throws:
javax.jcr.lock.LockException
Copyright © 2012-2014 The Apache Software Foundation. All Rights Reserved.