org.apache.jackrabbit.rmi.remote
Interface RemoteLockManager
- All Superinterfaces:
- Remote
- All Known Implementing Classes:
- ServerLockManager
public interface RemoteLockManager
- extends Remote
getLockTokens
String[] getLockTokens()
throws RepositoryException,
RemoteException
- Throws:
RepositoryException
RemoteException
addLockToken
void addLockToken(String lockToken)
throws RepositoryException,
RemoteException
- Throws:
RepositoryException
RemoteException
removeLockToken
void removeLockToken(String lockToken)
throws RepositoryException,
RemoteException
- Throws:
RepositoryException
RemoteException
getLock
RemoteLock getLock(String absPath)
throws RepositoryException,
RemoteException
- Throws:
RepositoryException
RemoteException
holdsLock
boolean holdsLock(String absPath)
throws RepositoryException,
RemoteException
- Throws:
RepositoryException
RemoteException
isLocked
boolean isLocked(String absPath)
throws RepositoryException,
RemoteException
- Throws:
RepositoryException
RemoteException
lock
RemoteLock lock(String absPath,
boolean isDeep,
boolean isSessionScoped,
long timeoutHint,
String ownerInfo)
throws RepositoryException,
RemoteException
- Throws:
RepositoryException
RemoteException
unlock
void unlock(String absPath)
throws RepositoryException,
RemoteException
- Throws:
RepositoryException
RemoteException
Copyright © 2004-2010 The Apache Software Foundation. All Rights Reserved.