public interface RemoteLockManager extends Remote
Modifier and Type | Method and Description |
---|---|
void |
addLockToken(String lockToken) |
RemoteLock |
getLock(String absPath) |
String[] |
getLockTokens() |
boolean |
holdsLock(String absPath) |
boolean |
isLocked(String absPath) |
RemoteLock |
lock(String absPath,
boolean isDeep,
boolean isSessionScoped,
long timeoutHint,
String ownerInfo) |
void |
removeLockToken(String lockToken) |
void |
unlock(String absPath) |
String[] getLockTokens() throws RepositoryException, RemoteException
RepositoryException
RemoteException
void addLockToken(String lockToken) throws RepositoryException, RemoteException
RepositoryException
RemoteException
void removeLockToken(String lockToken) throws RepositoryException, RemoteException
RepositoryException
RemoteException
RemoteLock getLock(String absPath) throws RepositoryException, RemoteException
RepositoryException
RemoteException
boolean holdsLock(String absPath) throws RepositoryException, RemoteException
RepositoryException
RemoteException
boolean isLocked(String absPath) throws RepositoryException, RemoteException
RepositoryException
RemoteException
RemoteLock lock(String absPath, boolean isDeep, boolean isSessionScoped, long timeoutHint, String ownerInfo) throws RepositoryException, RemoteException
RepositoryException
RemoteException
void unlock(String absPath) throws RepositoryException, RemoteException
RepositoryException
RemoteException
Copyright © 2004–2021 The Apache Software Foundation. All rights reserved.