Starts work on custom nomination strategies
This commit is contained in:
parent
3e9d403472
commit
1eb48f91a5
@ -113,6 +113,16 @@ public class StackProperties
|
||||
public static final String TERMINATION_DELAY
|
||||
= "org.ice4j.TERMINATION_DELAY";
|
||||
|
||||
/**
|
||||
* The maximum number of milliseconds that we should wait for a check list
|
||||
* to complete before nominating one of its valid pairs (unless there are
|
||||
* none in which case we may have to wait until one appears or the whole
|
||||
* list fails). Default value is <tt>-1</tt> which causes the nominator
|
||||
* to wait until the check list completes or fails.
|
||||
*/
|
||||
public static final String NOMINATION_TIMER
|
||||
= "org.ice4j.NOMINATION_TIMER";
|
||||
|
||||
/**
|
||||
* Returns the String value of the specified property (minus all
|
||||
* encompassing whitespaces)and null in case no property value was mapped
|
||||
|
||||
@ -6,6 +6,8 @@
|
||||
*/
|
||||
package org.ice4j.ice;
|
||||
|
||||
import org.ice4j.*;
|
||||
|
||||
/**
|
||||
* Contains the nomination strategies currently supported by this
|
||||
* implementation's {@link DefaultNominator} class. Applications can either
|
||||
@ -27,7 +29,10 @@ public enum NominationStrategy
|
||||
|
||||
/**
|
||||
* The strategy consists in nominating the highest priority valid pair once
|
||||
* all checks in a list have completed.
|
||||
* all checks in a list have completed, or after the nomination timer has
|
||||
* fired for that check list, whichever happens first. The value of the
|
||||
* nomination timer (in ms) is defined by the {@link StackProperties#
|
||||
* NOMINATION_TIMER} property.
|
||||
*/
|
||||
NOMINATE_HIGHEST_PRIO("NominateHighestPriority"),
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user