@Deprecated public class ServerLockManager extends ServerObject implements RemoteLockManager
ref
Constructor and Description |
---|
ServerLockManager(LockManager manager,
RemoteAdapterFactory factory)
Deprecated.
|
Modifier and Type | Method and Description |
---|---|
void |
addLockToken(String lockToken)
Deprecated.
|
RemoteLock |
getLock(String absPath)
Deprecated.
|
String[] |
getLockTokens()
Deprecated.
|
boolean |
holdsLock(String absPath)
Deprecated.
|
boolean |
isLocked(String absPath)
Deprecated.
|
RemoteLock |
lock(String absPath,
boolean isDeep,
boolean isSessionScoped,
long timeoutHint,
String ownerInfo)
Deprecated.
|
void |
removeLockToken(String lockToken)
Deprecated.
|
void |
unlock(String absPath)
Deprecated.
|
getFactory, getRemoteItem, getRemoteNode, getRemoteNodeTypeArray, getRepositoryException, getSerialValue, getSerialValues
clone, exportObject, exportObject, exportObject, unexportObject
getClientHost, getLog, setLog
public ServerLockManager(LockManager manager, RemoteAdapterFactory factory) throws RemoteException
RemoteException
public String[] getLockTokens() throws RepositoryException
getLockTokens
in interface RemoteLockManager
RepositoryException
public void addLockToken(String lockToken) throws RepositoryException
addLockToken
in interface RemoteLockManager
RepositoryException
public void removeLockToken(String lockToken) throws RepositoryException
removeLockToken
in interface RemoteLockManager
RepositoryException
public boolean isLocked(String absPath) throws RepositoryException
isLocked
in interface RemoteLockManager
RepositoryException
public boolean holdsLock(String absPath) throws RepositoryException
holdsLock
in interface RemoteLockManager
RepositoryException
public RemoteLock getLock(String absPath) throws RepositoryException, RemoteException
getLock
in interface RemoteLockManager
RepositoryException
RemoteException
public RemoteLock lock(String absPath, boolean isDeep, boolean isSessionScoped, long timeoutHint, String ownerInfo) throws RepositoryException, RemoteException
lock
in interface RemoteLockManager
RepositoryException
RemoteException
public void unlock(String absPath) throws RepositoryException
unlock
in interface RemoteLockManager
RepositoryException
Copyright © 2004–2024 The Apache Software Foundation. All rights reserved.