Package com.avoka.fc.core.dao
Class GroupAgentLockDao
- java.lang.Object
-
- com.avoka.core.dao.BaseDao
-
- com.avoka.fc.core.dao.AbstractDao
-
- com.avoka.fc.core.dao.GroupAgentLockDao
-
public class GroupAgentLockDao extends AbstractDao
The Class ServerHealthStatusMetricsDao.
-
-
Field Summary
-
Fields inherited from class com.avoka.core.dao.BaseDao
FETCH_LIMIT, STATEMENT_MAX_NO_PARAMETERS
-
-
Constructor Summary
Constructors Constructor Description GroupAgentLockDao()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description int
getCurrentIndex(String groupName)
Gets the current index for the given group name.GroupAgentLock
getGroupAgentLock(String groupName)
Gets the group agent lock for the given group name.Date
getLastUpdateTime(String groupName)
Gets the last update time for the given group name.GroupAgentLock
getLocalLock(String groupName)
Gets the local lock.-
Methods inherited from class com.avoka.fc.core.dao.AbstractDao
andFilterClientExcludeNull, andFilterClientIncludeNull, andFilterClientOnly, isClientAccessAllowed, performQueryConfigCached
-
Methods inherited from class com.avoka.core.dao.BaseDao
addOrdering, addOrderingCaseInsensitive, addOrderingCaseSensitive, andQueryBetween, andQueryInExp, andQueryInExp, andQueryLikeIgnoreCaseExp, andQueryMatchDbExp, andQueryMatchExp, andQueryMatchIsNotNull, andQueryMatchIsNull, andQueryNoMatchExp, andQueryNotTrue, deleteObject, deleteObjects, findObject, getDataContext, getFetchLimit, getLogger, getObjectForPK, newObject, orQueryLikeIgnoreCaseExp, orQueryMatchExp, performNamedQuery, performNamedQuery, performNamedQuery, performNamedQuery, performNonSelectingQuery, performNonSelectingQuery, performNonSelectingQuery, performNonSelectingQuery, performQuery, performQuery, performQuery, registerNewObject, setCacheStrategy, setFetchLimit, setLocalCacheStrategy, setLocalCacheStrategy, setSharedCacheStrategy, toMap, toMap
-
-
-
-
Method Detail
-
getLocalLock
public GroupAgentLock getLocalLock(String groupName)
Gets the local lock.- Parameters:
groupName
- the group name- Returns:
- the local lock
-
getGroupAgentLock
public GroupAgentLock getGroupAgentLock(String groupName)
Gets the group agent lock for the given group name.- Parameters:
groupName
- the group name- Returns:
- the group agent lock
-
getCurrentIndex
public int getCurrentIndex(String groupName)
Gets the current index for the given group name.- Parameters:
groupName
- the group name- Returns:
- the current index
-
-