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
FieldsModifier and TypeFieldDescriptionprotected intserver cache hitsprotected intserver hitsprotected final StringServer pathprotected final StringServer site nameFields inherited from class org.ametys.web.cache.monitoring.ui.ServersCacheStatsGenerator.FrontFromFrontStatsEntry
_frontCacheable, _frontCacheHits1, _frontCacheHits2, _frontHits, _frontPath, _frontSite -
Constructor Summary
ConstructorsModifierConstructorDescriptionprotectedCtor -
Method Summary
Modifier and TypeMethodDescriptionprotected StringReturns a sanitized path given the different path properties of this instance.protected booleanIndicates if this instance has front(-office) information.protected voidMerge this instance ofFrontFromHTTPServerStatsEntrywith 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 ofFrontFromHTTPServerStatsEntrywith 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
-