public interface CongestionPointChecker
Modifier and Type | Method and Description |
---|---|
CongestionPoint |
checkCongestionPoint(java.lang.String filter,
int timeout)
This method will return a reference to the congestion point specified by 'filter'.
|
CongestionPoint checkCongestionPoint(java.lang.String filter, int timeout)
The filter parameter is a string of the form "(<attribute name> = <attribute value>)",
where <attribute name> is the name of a congestion point attribute. The possible attribute names
are listed in the Javadoc for the method CongestionPoint.getAttribute(String attr)
. The
<attribute value> may be one of the following:
Finally, a filter may consist of a set of filters, as defined above, combined using logical AND, OR, and NOT operators. This may take one of the following forms:
filter
- The criteria that the congestion point's attributes must match, as defined above.timeout
- The maximum time to wait, in seconds. Zero means wait forever. A negative number means
return immediately.CongestionPoint.addListener(CongestionPointListener)