Class RequestServingCacheEvent

java.lang.Object
com.atlassian.plugin.webresource.analytics.events.RequestServingCacheEvent

@AsynchronousPreferred public class RequestServingCacheEvent extends Object
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 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

      public String getServingType()
    • getSizeInBytes

      public long getSizeInBytes()