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
The Class ServerHealthStatusMetricsDao.
-
Field Summary
Fields inherited from class com.avoka.core.dao.BaseDao
FETCH_LIMIT, STATEMENT_MAX_NO_PARAMETERS
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionint
getCurrentIndex
(String groupName) Gets the current index for the given group name.getGroupAgentLock
(String groupName) Gets the group agent lock for the given group name.getLastUpdateTime
(String groupName) Gets the last update time for the given group name.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
-
Constructor Details
-
GroupAgentLockDao
public GroupAgentLockDao()
-
-
Method Details
-
getLocalLock
Gets the local lock.- Parameters:
groupName
- the group name- Returns:
- the local lock
-
getGroupAgentLock
Gets the group agent lock for the given group name.- Parameters:
groupName
- the group name- Returns:
- the group agent lock
-
getCurrentIndex
Gets the current index for the given group name.- Parameters:
groupName
- the group name- Returns:
- the current index
-
getLastUpdateTime
Gets the last update time for the given group name.- Parameters:
groupName
- the group name- Returns:
- the last update time
-