org.apache.jackrabbit.core.cluster
Interface LockEventListener

All Known Implementing Classes:
LockManagerImpl

public interface LockEventListener

Interface used to receive information about incoming, external lock events.


Method Summary
 void externalLock(NodeId nodeId, boolean isDeep, String lockOwner)
          Handle an external lock operation.
 void externalUnlock(NodeId nodeId)
          Handle an external unlock operation.
 

Method Detail

externalLock

void externalLock(NodeId nodeId,
                  boolean isDeep,
                  String lockOwner)
                  throws RepositoryException
Handle an external lock operation.

Parameters:
nodeId - node id
isDeep - true if the lock is deep; false otherwise
lockOwner - lock owner
Throws:
RepositoryException - if the lock cannot be processed

externalUnlock

void externalUnlock(NodeId nodeId)
                    throws RepositoryException
Handle an external unlock operation.

Parameters:
nodeId - node id
Throws:
RepositoryException - if the unlock cannot be processed


Copyright © 2004-2010 The Apache Software Foundation. All Rights Reserved.