Package org.onehippo.cms7.services.lock
Class Lock
- java.lang.Object
-
- org.onehippo.cms7.services.lock.Lock
-
public class Lock extends Object
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description String
getLockKey()
String
getLockOwner()
String
getLockThread()
long
getLockTime()
String
getStatus()
String
toString()
-
-
-
Method Detail
-
getLockKey
public String getLockKey()
-
getLockOwner
public String getLockOwner()
- Returns:
- the cluster node id and in case of no clustering, it will be 'default'
-
getLockThread
public String getLockThread()
- Returns:
- the name of the thread that holds the lock
-
getLockTime
public long getLockTime()
-
getStatus
public String getStatus()
-
-