public static void setDefaultTimeout(long timeout, TimeUnit unit) {
    """
	Sets the default timeout all await statements will use.
	
	@param timeout the timeout
	@param unit    the unit
    """
        defaultWaitConstraint = defaultWaitConstraint.withMaxWaitTime(new Duration(timeout, unit));
    }
public static void setDefaultTimeout(long timeout, TimeUnit unit) {
        defaultWaitConstraint = defaultWaitConstraint.withMaxWaitTime(new Duration(timeout, unit));
    }
public static void setDefaultTimeout ( long timeout , TimeUnit unit ) { defaultWaitConstraint = defaultWaitConstraint . withMaxWaitTime ( new Duration ( timeout , unit ) ) ; }
Sets the default timeout all await statements will use.

@param timeout the timeout
@param unit    the unit
Sets the default timeout all await statements will use .