Class StatsConstants

java.lang.Object
org.jppf.ui.monitoring.data.StatsConstants

public class StatsConstants extends Object
Constants for the JPPF statistics collected from the servers.
Author:
Laurent Cohen
  • Field Details

    • NO_DOUBLE_VALUES

      protected static final Map<Fields,Double> NO_DOUBLE_VALUES
      A double values map with no values.
    • NO_STRING_VALUES

      protected static final Map<Fields,String> NO_STRING_VALUES
      A string values map with no values.
    • CONNECTION_FIELDS

      public static final Fields[] CONNECTION_FIELDS
      List of stats properties related to network connections.
    • QUEUE_FIELDS

      public static final Fields[] QUEUE_FIELDS
      List of stats properties related to queue operations.
    • EXECUTION_FIELDS

      public static final Fields[] EXECUTION_FIELDS
      List of stats properties related to tasks execution.
    • NODE_EXECUTION_FIELDS

      public static final Fields[] NODE_EXECUTION_FIELDS
      List of stats properties related to tasks execution.
    • TRANSPORT_FIELDS

      public static final Fields[] TRANSPORT_FIELDS
      List of stats properties related to tasks execution.
    • JOB_FIELDS

      public static final Fields[] JOB_FIELDS
      List of stats properties related to job execution.
    • JOB_DISPATCH_FIELDS

      public static final Fields[] JOB_DISPATCH_FIELDS
      List of stats properties related to job dispatching.
    • TASK_DISTRIB_FIELDS

      public static final Fields[] TASK_DISTRIB_FIELDS
      List of stats properties related how the tasks are distributed.
    • CLIENT_CL_REQUEST_TIME_FIELDS

      public static final Fields[] CLIENT_CL_REQUEST_TIME_FIELDS
      List of stats properties related to class loading requests to the clients.
    • NODE_CL_REQUEST_TIME_FIELDS

      public static final Fields[] NODE_CL_REQUEST_TIME_FIELDS
      List of stats properties related to class loading requests from the nodes.
    • INBOUND_NETWORK_TRAFFIC_FIELDS

      public static final Fields[] INBOUND_NETWORK_TRAFFIC_FIELDS
      List of stats properties for inbound network traffic.
    • OUTBOUND_NETWORK_TRAFFIC_FIELDS

      public static final Fields[] OUTBOUND_NETWORK_TRAFFIC_FIELDS
      List of stats properties for inbound network traffic.
    • HEALTH_FIELDS

      public static Fields[] HEALTH_FIELDS
      List of properties for health snapshots.
      Since:
      5.0
    • ALL_FIELDS

      public static final Fields[] ALL_FIELDS
      List of all fields displayed in the server stats view.
    • ALL_CHART_FIELDS

      public static final Fields[] ALL_CHART_FIELDS
      List of all fields available in the charts.
      Since:
      5.0
    • EXECUTION

      public static final String EXECUTION
      Name of the execution table.
      See Also:
    • NODE_EXECUTION

      public static final String NODE_EXECUTION
      Name of the node execution table.
      See Also:
    • TRANSPORT

      public static final String TRANSPORT
      Name of the network overhead table.
      See Also:
    • CONNECTION

      public static final String CONNECTION
      Name of the connections table.
      See Also:
    • QUEUE

      public static final String QUEUE
      Name of the tasks queue table.
      See Also:
    • JOB

      public static final String JOB
      Name of the jobs queue table.
      See Also:
    • JOB_DISPATCH

      public static final String JOB_DISPATCH
      Name of the jobs dispatching table.
      See Also:
    • TASK_DISTRIB

      public static final String TASK_DISTRIB
      Name of the tasks distribution table.
      See Also:
    • NODE_CL_REQUEST_TIME

      public static final String NODE_CL_REQUEST_TIME
      Name of the node class loading requests table.
      See Also:
    • CLIENT_CL_REQUEST_TIME

      public static final String CLIENT_CL_REQUEST_TIME
      Name of the client class loading requests table.
      See Also:
    • INBOUND_NETWORK_TRAFFIC

      public static final String INBOUND_NETWORK_TRAFFIC
      Name of the inboud network traffic requests table.
      See Also:
    • OUTBOUND_NETWORK_TRAFFIC

      public static final String OUTBOUND_NETWORK_TRAFFIC
      Name of the outboud network traffic requests table.
      See Also:
    • ALL_TABLES_MAP

      public static final Map<String,Fields[]> ALL_TABLES_MAP
      Mapping of table names to the associated fields.
  • Constructor Details

    • StatsConstants

      public StatsConstants()
  • Method Details

    • createLocalizedItems

      public static Map<String,LocalizedListItem> createLocalizedItems(Locale locale)
      Create the map of localized items fo all the statistics tables.
      Parameters:
      locale - the locale to localize into.
      Returns:
      a mapping of non-localized names to LocalizedListItem objects.
    • getFieldForName

      public static Fields getFieldForName(String name)
      Get the field with the specified name.
      Parameters:
      name - the name of the field to lookup.
      Returns:
      the field, if there is one with that name, null otherwise.