Class RequestServingCacheEvent
java.lang.Object
com.atlassian.plugin.webresource.analytics.events.RequestServingCacheEvent
Analytic event to capture how effective the request serving cache is
Added during PLPI work to determine if improving or avoiding cold-cache scenarios is worth anything.
- Since:
- 5.2.0
- See Also:
-
Constructor Summary
ConstructorsConstructorDescriptionRequestServingCacheEvent(boolean cacheableRequest, boolean cacheHit, boolean cachingEnabled, boolean isSourceMap, ServingType servingType, long sizeInBytes) -
Method Summary
Modifier and TypeMethodDescriptionbooleanbooleanbooleanintbooleanlong
-
Constructor Details
-
RequestServingCacheEvent
public RequestServingCacheEvent(boolean cacheableRequest, boolean cacheHit, boolean cachingEnabled, boolean isSourceMap, ServingType servingType, long sizeInBytes)
-
-
Method Details
-
getEventVersion
public int getEventVersion() -
getCacheableRequest
public boolean getCacheableRequest() -
getCacheHit
public boolean getCacheHit() -
getCachingEnabled
public boolean getCachingEnabled() -
getIsSourceMap
public boolean getIsSourceMap() -
getServingType
-
getSizeInBytes
public long getSizeInBytes()
-