Class ServersCacheStatsGenerator.FrontFromHTTPServerStatsEntry
- java.lang.Object
 - 
- org.ametys.web.cache.monitoring.ui.ServersCacheStatsGenerator.FrontFromFrontStatsEntry
 - 
- org.ametys.web.cache.monitoring.ui.ServersCacheStatsGenerator.FrontFromHTTPServerStatsEntry
 
 
 
- 
- Enclosing class:
 - ServersCacheStatsGenerator
 
protected class ServersCacheStatsGenerator.FrontFromHTTPServerStatsEntry extends ServersCacheStatsGenerator.FrontFromFrontStatsEntry
Object model representing an entry of stats for a front resource, coming from httpserver 
- 
- 
Field Summary
Fields Modifier and Type Field Description protected int_serverCacheHitsserver cache hitsprotected int_serverHitsserver hitsprotected String_serverPathServer pathprotected String_serverSiteServer site name- 
Fields inherited from class org.ametys.web.cache.monitoring.ui.ServersCacheStatsGenerator.FrontFromFrontStatsEntry
_frontCacheable, _frontCacheHits1, _frontCacheHits2, _frontHits, _frontPath, _frontSite 
 - 
 
- 
Constructor Summary
Constructors Modifier Constructor Description protectedFrontFromHTTPServerStatsEntry(Map<String,Object> data)Ctor 
- 
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected StringgetSanitizedPath()Returns a sanitized path given the different path properties of this instance.protected booleanhasFrontInfo()Indicates if this instance has front(-office) information.protected voidmerge(ServersCacheStatsGenerator.FrontFromHTTPServerStatsEntry that)Merge this instance ofFrontFromHTTPServerStatsEntrywith another instance ofFrontFromHTTPServerStatsEntry 
 - 
 
- 
- 
Field Detail
- 
_serverSite
protected final String _serverSite
Server site name 
- 
_serverPath
protected final String _serverPath
Server path 
- 
_serverHits
protected int _serverHits
server hits 
- 
_serverCacheHits
protected int _serverCacheHits
server cache hits 
 - 
 
- 
Constructor Detail
- 
FrontFromHTTPServerStatsEntry
protected FrontFromHTTPServerStatsEntry(Map<String,Object> data)
Ctor- Parameters:
 data- map of raw data object.
 
 - 
 
- 
Method Detail
- 
merge
protected void merge(ServersCacheStatsGenerator.FrontFromHTTPServerStatsEntry that)
Merge this instance ofFrontFromHTTPServerStatsEntrywith another instance ofFrontFromHTTPServerStatsEntry- Parameters:
 that- the stats entry to merhe with
 
- 
getSanitizedPath
protected String getSanitizedPath()
Returns a sanitized path given the different path properties of this instance.- Returns:
 - The sanitized path
 
 
- 
hasFrontInfo
protected boolean hasFrontInfo()
Indicates if this instance has front(-office) information.- Returns:
 - a boolean
 
 
 - 
 
 -