Interface ILockDAO
- All Known Implementing Classes:
LockDAO
public interface ILockDAO
-
Method Summary
Modifier and TypeMethodDescriptionbooleanacquire a lockvoidcloseAll(fr.paris.lutece.portal.service.plugin.Plugin plugin) Release allbooleanrefresh expired date for a lockvoidrelease a lock
-
Method Details
-
acquire
acquire a lock- Parameters:
lock-plugin-- Returns:
- true if the lock is acquire, false if not
-
release
release a lock- Parameters:
lock-plugin-
-
refresh
refresh expired date for a lock- Parameters:
lock-plugin-- Returns:
- return true if the lock is extended, false if the lock was been lost
-
closeAll
void closeAll(fr.paris.lutece.portal.service.plugin.Plugin plugin) Release all- Parameters:
plugin-
-