public boolean isLocked() { if (CacheConfigFactory.DSO_ACTIVE) { return ManagerUtil.isLocked(this, Manager.LOCK_TYPE_WRITE); } synchronized (this) { return locked; } }
public boolean isLocked() { if (Terracotta.isActive()) { return ManagerUtil.isLocked(this, Manager.LOCK_TYPE_WRITE); } synchronized (this) { return locked; } }
public String getLockState() { return (ManagerUtil.isLocked(lock, lockLevel) ? (ManagerUtil.isHeldByCurrentThread(lock, lockLevel) ? "[Locally locked]" : "[Remotely locked]") : "[Unlocked]"); }
public boolean isLocked() { if (Terracotta.isActive()) { return ManagerUtil.isLocked(this, Manager.LOCK_TYPE_WRITE); } synchronized (this) { return locked; } }
public String getLockState() { return (ManagerUtil.isLocked(lock, lockLevel) ? (ManagerUtil.isHeldByCurrentThread(lock, lockLevel) ? "[Locally locked]" : "[Remotely locked]") : "[Unlocked]"); }
public String getLockState() { return (ManagerUtil.isLocked(lock, lockLevel) ? (ManagerUtil.isHeldByCurrentThread(lock, lockLevel) ? "[Locally locked]" : "[Remotelly locked]") : "[Unlocked]"); }
public boolean isLocked() { if (Terracotta.isActive()) { return ManagerUtil.isLocked(this, Manager.LOCK_TYPE_WRITE); } synchronized (this) { return locked; } }