Package com.xceptance.xlt.api.engine

# Class CustomData

java.lang.Object
com.xceptance.xlt.api.engine.AbstractData
com.xceptance.xlt.api.engine.TimerData
com.xceptance.xlt.api.engine.CustomData

All Implemented Interfaces:
  `Data`

public class CustomData extends TimerData

The `CustomData` should be used only if the intended purpose does not match the semantics of the other data record classes (`RequestData`, `ActionData`, and `TransactionData`). For example, if one wants to measure a certain functionality during client-side processing, a custom timer may suit best.

Note that `CustomData` objects have a "C" as their type code.

See Also:
  - `ActionData`
  - `RequestData`
  - `TransactionData`

- ## Constructor Summary

  Constructors
  Constructor
  Description
  `CustomData()`
  Creates a new CustomData object.
  `CustomData(String name)`
  Creates a new CustomData object and gives it the specified name.

- ## Method Summary

  ### Methods inherited from class com.xceptance.xlt.api.engine.TimerData

  `getEndTime, getRunTime, hasFailed, setFailed, setRemainingValues, setRunTime, setRunTime, toList`

  ### Methods inherited from class com.xceptance.xlt.api.engine.AbstractData

  `getAgentName, getName, getTime, getTransactionName, getTypeCode, setAgentName, setAllValues, setBaseValues, setName, setTime, setTransactionName`

  ### Methods inherited from class java.lang.Object

  `clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

- ## Constructor Details

  - ### CustomData

    public CustomData()
    Creates a new CustomData object.

  - ### CustomData

    public CustomData(String name)
    Creates a new CustomData object and gives it the specified name. Furthermore, the start time attribute is set to the current time.
    Parameters:
      `name` - the statistics name