Class ConcurrencyInterview

java.lang.Object
com.sun.interview.Interview
com.sun.javatest.interview.ConcurrencyInterview
All Implemented Interfaces:
Parameters.ConcurrencyParameters, Parameters.MutableConcurrencyParameters

public class ConcurrencyInterview extends Interview implements Parameters.MutableConcurrencyParameters
This interview collects the concurrency parameter. It is normally used as one of a series of sub-interviews that collect the parameter information for a test run.
  • Field Details

    • maxValue

      protected int maxValue
  • Constructor Details

    • ConcurrencyInterview

      public ConcurrencyInterview(Interview parent) throws Interview.Fault
      Create an interview.
      Parameters:
      parent - The parent interview of which this is a child.
      Throws:
      Interview.Fault - if there is a problem while creating the interview.
    • ConcurrencyInterview

      public ConcurrencyInterview(Interview parent, int max) throws Interview.Fault
      Create an interview.
      Parameters:
      parent - The parent interview of which this is a child.
      max - The maximum value for concurrency which should be accepted. Should be a value between 1 and the maximum possible positive value.
      Throws:
      Interview.Fault - if there is a problem while creating the interview.
  • Method Details