Are critical ecosystem thresholds defined by the magnitude or duration of exogenous forcing?