class LockerController extends Object
利用数据库的持久化锁的AJAX API控制器
只是重新封装了一层,参数、方法完全一样,详细说明参考 @bropen.framework.core.common.Locker@ 中的注释
| Type | Name and description |
|---|---|
static Object |
scope |
| Type | Name and description |
|---|---|
Object |
isLocked()isLocked( String key, Boolean userAware=true ) |
Object |
lock()lock(String key, Boolean userAware=true, Integer timeout=null, Integer waitTime=0, Integer waitInterval=200) |
Object |
lockExit()lockExit(String key, Boolean userAware=true, Integer timeout=null) |
Object |
unlock()unlock(String key, Boolean userAware=true) |
Object |
update()update(String key, Boolean userAware=true, Integer timeout=null) |
| Methods inherited from class | Name |
|---|---|
class Object |
Object#wait(long, int), Object#wait(long), Object#wait(), Object#equals(Object), Object#toString(), Object#hashCode(), Object#getClass(), Object#notify(), Object#notifyAll() |
isLocked( String key, Boolean userAware=true )
lock(String key, Boolean userAware=true, Integer timeout=null, Integer waitTime=0, Integer waitInterval=200)
lockExit(String key, Boolean userAware=true, Integer timeout=null)
unlock(String key, Boolean userAware=true)
update(String key, Boolean userAware=true, Integer timeout=null)