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
Modifier and TypeFieldDescriptionprotected int
server cache hitsprotected int
server hitsprotected final String
Server pathprotected final String
Server site nameFields inherited from class org.ametys.web.cache.monitoring.ui.ServersCacheStatsGenerator.FrontFromFrontStatsEntry
_frontCacheable, _frontCacheHits1, _frontCacheHits2, _frontHits, _frontPath, _frontSite
-
Constructor Summary
ModifierConstructorDescriptionprotected
Ctor -
Method Summary
Modifier and TypeMethodDescriptionprotected String
Returns a sanitized path given the different path properties of this instance.protected boolean
Indicates if this instance has front(-office) information.protected void
Merge this instance ofFrontFromHTTPServerStatsEntry
with another instance ofFrontFromHTTPServerStatsEntry
-
Field Details
-
_serverSite
Server site name -
_serverPath
Server path -
_serverHits
server hits -
_serverCacheHits
server cache hits
-
-
Constructor Details
-
FrontFromHTTPServerStatsEntry
Ctor- Parameters:
data
- map of raw data object.
-
-
Method Details
-
merge
Merge this instance ofFrontFromHTTPServerStatsEntry
with another instance ofFrontFromHTTPServerStatsEntry
- Parameters:
that
- the stats entry to merhe with
-
getSanitizedPath
Returns a sanitized path given the different path properties of this instance.- Returns:
- The sanitized path
-
hasFrontInfo
Indicates if this instance has front(-office) information.- Returns:
- a boolean
-