Package com.avoka.fc.core.dao
Class ServerHealthStatusMetricDao
- java.lang.Object
-
- com.avoka.core.dao.BaseDao
-
- com.avoka.fc.core.dao.AbstractDao
-
- com.avoka.fc.core.dao.ServerHealthStatusMetricDao
-
public class ServerHealthStatusMetricDao 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 ServerHealthStatusMetricDao()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description List<ServerHealthStatusMetric>
getFormServerHealthStatusMetrics(String groupName, int index)
Return the list of form server health metrics for the given server group and index.List<ServerHealthStatusMetric>
getLastMinuteServerHealthStatusMetricsMap(String serverName, int index)
Gets the last minute server health status metrics map.ServerHealthStatusMetric
getOrCreateServerHealthStatusMetrics(String serverName, int index)
Gets the server health status metrics by name and index.ServerHealthStatusMetric
getServerHealthStatusMetrics(String serverName, int index)
Gets the server health status metrics by name and index.List<ServerHealthStatusMetric>
getServerHealthStatusMetricsMap(String serverName)
Gets the server health status metrics map.-
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
-
getOrCreateServerHealthStatusMetrics
public ServerHealthStatusMetric getOrCreateServerHealthStatusMetrics(String serverName, int index)
Gets the server health status metrics by name and index.- Parameters:
serverName
- the server nameindex
- the index- Returns:
- the server health status metrics by name and index
-
getServerHealthStatusMetrics
public ServerHealthStatusMetric getServerHealthStatusMetrics(String serverName, int index)
Gets the server health status metrics by name and index.- Parameters:
serverName
- the server nameindex
- the index- Returns:
- the server health status metrics by name and index
-
getFormServerHealthStatusMetrics
public List<ServerHealthStatusMetric> getFormServerHealthStatusMetrics(String groupName, int index)
Return the list of form server health metrics for the given server group and index.- Parameters:
groupName
- the server group nameindex
- the index- Returns:
- the server health status metrics by server group name and index
- Since:
- 4.0.0
-
getServerHealthStatusMetricsMap
public List<ServerHealthStatusMetric> getServerHealthStatusMetricsMap(String serverName)
Gets the server health status metrics map.- Parameters:
serverName
- the server name- Returns:
- the server health status metrics map
-
getLastMinuteServerHealthStatusMetricsMap
public List<ServerHealthStatusMetric> getLastMinuteServerHealthStatusMetricsMap(String serverName, int index)
Gets the last minute server health status metrics map.- Parameters:
serverName
- the server nameindex
- the index- Returns:
- the last minute server health status metrics map
-
-