public final class PerformCountOnInterval extends java.lang.Object implements PerformActionPolicy
Constructor and Description |
---|
PerformCountOnInterval(int count,
int interval)
Construct a PerformCountOnInterval policy
|
Modifier and Type | Method and Description |
---|---|
boolean |
equals(java.lang.Object o)
Compares two PerformCountOnInterval objects for equality.
|
int |
getCount()
Returns the count value of this policy.
|
int |
getInterval()
Returns the interval value of this policy.
|
public PerformCountOnInterval(int count, int interval)
count
- maximum number of times this action should execute durring a true test series.interval
- the minimum amount of time in seconds that must elapse between executionsjava.lang.IllegalArgumentException
- if either count or interval are negativepublic boolean equals(java.lang.Object o)
equals
in class java.lang.Object
public int getCount()
public int getInterval()
Copyright © 2000-2019 TIBCO Inc. All Rights Reserved.