Class ProfilingEntry

  • All Implemented Interfaces:
    Serializable

    public class ProfilingEntry
    extends ProfilingElement
    Represents a single profiling entry (a request to a service / custom web service or scheduled task execution)
    See Also:
    Serialized Form
    • Constructor Detail

      • ProfilingEntry

        public ProfilingEntry()
    • Method Detail

      • excludeClassFromProfilingContext

        public static void excludeClassFromProfilingContext​(String className)
        Excludes a class by its name from the profiling context.
      • excludeMethodFromProfilingContext

        public static void excludeMethodFromProfilingContext​(String className,
                                                             String methodName)
        Excludes a method of a given class from the profiling context.
      • excludePackageFromProfilingContext

        public static void excludePackageFromProfilingContext​(String className)
        Excludes the container package of the given class from the profiling context.
      • addCacheProducing

        public void addCacheProducing​(String cacheName,
                                      int time)
      • getChannel

        public String getChannel()
      • getErrorTrace

        public String getErrorTrace()
      • getHost

        public String getHost()
      • getName

        public String getName()
      • getNetwork

        public String getNetwork()
      • getParameters

        public Object getParameters()
      • getRemoteAddress

        public String getRemoteAddress()
      • getResult

        public Object getResult()
      • getScripts

        public Set<org.apache.commons.lang3.tuple.Triple<String,​String,​String>> getScripts()
        Returns the scripts executed during this profiling entry.
        Each script is represented by a triple of: script name, script type, function name
      • getSessionToken

        public String getSessionToken()
      • getTaskClassName

        public String getTaskClassName()
      • getUser

        public String getUser()
      • setCacheProducing

        public void setCacheProducing​(Map<String,​Integer> cacheProducing)
      • setChannel

        public void setChannel​(String channel)
      • setErrorTrace

        public void setErrorTrace​(String errorTrace)
      • setHost

        public void setHost​(String host)
      • setName

        public void setName​(String name)
      • setNetwork

        public void setNetwork​(String network)
      • setParameters

        public void setParameters​(Object parameters)
      • setRemoteAddress

        public void setRemoteAddress​(String remoteAddress)
      • setResult

        public void setResult​(Object result)
      • setSeq

        public void setSeq​(Integer seq)
      • setSessionToken

        public void setSessionToken​(String sessionToken)
      • setTaskClassName

        public void setTaskClassName​(String taskClassName)
      • setUser

        public void setUser​(String user)