Interface Locker
- All Known Implementing Classes:
DistributedLocker,ExecFileLock,ExecLock,TicketLocker,ZooKeeperLocker
public interface Locker
This interface define an interface for the global execution locker.
- Since:
- 1.1
- Author:
- Laurent Jourdren
-
Method Summary
-
Method Details
-
lock
Wait the token and then lock the resource.- Throws:
IOException- if an error occurs while locking the resource
-
unlock
Unlock the resource.- Throws:
IOException- if an error occurs while unlocking the resource
-