Interface IPerfService


public interface IPerfService
  • Field Details

  • Method Details

    • start

      void start() throws PortalException
      initialize the service
      Throws:
      PortalException
    • stop

      void stop()
      stop the service
    • reset

      void reset() throws PortalException
      resets the perf service's data
      Throws:
      PortalException
    • getData

      IPerfData getData()
      retrieves a copy of the current perfdata set
    • getAnalysis

      IPerfAnalysis getAnalysis(IPerfData data, int style)
      get analysis object for this service
      Returns:
    • getSerializer

      IPerfSerializer getSerializer()
      get a serializer for this service
      Returns:
    • actionInit

      Object actionInit(String category, String actionName)
      Returns a token when an action is initialized
    • actionInit

      Object actionInit(String category, String actionName, String customLayout, IPerfActionCallback callback)
      Returns a token when an action is initialized If there is a custom callback, there needs to be a custom layout to render the data as well
    • actionStart

      void actionStart(Object object)
      Begin an action
    • actionEnd

      Long actionEnd(Object object, Serializable actionData)
      End an action, recording the usual information
      Returns:
      the execution time for the action
    • getEntryCount

      long getEntryCount()
      total # of entries since last start/reset
      Returns:
    • findSchemaByID

      IPerfSchema findSchemaByID(int schemaID)
      find a schema by ID