public interface HippoLock
extends javax.jcr.lock.Lock
Modifier and Type | Method and Description |
---|---|
void |
startKeepAlive()
Starts a keep-alive that refreshes the lock before expiring.
|
void |
stopKeepAlive()
Stops the previously started keep-alive on this lock.
|
void startKeepAlive() throws javax.jcr.lock.LockException, javax.jcr.RepositoryException
javax.jcr.lock.LockException
- if the lock is not live, has no timeout, or has a timeout of less than 10 secondsjavax.jcr.RepositoryException
- if another error occursvoid stopKeepAlive()
Copyright © 2007–2017 Hippo B.V. (http://www.onehippo.com). All rights reserved.