Class ServersCacheStatsGenerator.RawStatsEntry
- java.lang.Object
-
- org.ametys.web.cache.monitoring.ui.ServersCacheStatsGenerator.RawStatsEntry
-
- Enclosing class:
- ServersCacheStatsGenerator
protected class ServersCacheStatsGenerator.RawStatsEntry extends Object
Object model representing a raw entry of stats retrieved through the DB.
-
-
Constructor Summary
Constructors Modifier Constructor Description protected
RawStatsEntry(Map<String,Object> data)
Constructor
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected String
__textToString(Object object)
Utility method Object representing a text to Stringprotected boolean
hasBackInfo()
Indicates if this instance has back(-office) information.protected boolean
hasHTTPServerInfo()
Indicates if this instance has httpserver information.
-
-
-
Constructor Detail
-
RawStatsEntry
protected RawStatsEntry(Map<String,Object> data) throws SQLException
Constructor- Parameters:
data
- map of raw data object.- Throws:
SQLException
- if an error occurs while retrieving statistics in SQL database
-
-
Method Detail
-
hasHTTPServerInfo
protected boolean hasHTTPServerInfo()
Indicates if this instance has httpserver information.- Returns:
- a boolean
-
hasBackInfo
protected boolean hasBackInfo()
Indicates if this instance has back(-office) information.- Returns:
- a boolean
-
__textToString
protected String __textToString(Object object) throws SQLException
Utility method Object representing a text to String- Parameters:
object
- The object to convert- Returns:
- the boolean
- Throws:
SQLException
- if an error occurs while retrieving statistics in SQL database
-
-