Operational Remediation Reports
Saturation Relief Remediation Report
Compare queue depth against soft and hard limits and pick a saturation relief action.
Saturation Relief Remediation Report
SaturationReliefRemediationReport.java
public class SaturationReliefRemediationReport {
public static void main(String[] args) {
int queueDepth = ;
int softLimit = 60;
int hardLimit = 90;
String action = "steady";
if (queueDepth >= softLimit) {
action = "shed";
}
if (queueDepth >= hardLimit) {
action = "pause";
}
System.out.println("depth=" + queueDepth + " soft=" + softLimit + " action=" + action);
}
}
public class SaturationReliefRemediationReport {
public static void main(String[] args) {
int queueDepth = ;
int softLimit = 60;
int hardLimit = 90;
String action = "steady";
if (queueDepth >= softLimit) {
action = "shed";
}
if (queueDepth >= hardLimit) {
action = "pause";
}
System.out.println("depth=" + queueDepth + " soft=" + softLimit + " action=" + action);
}
}
public class SaturationReliefRemediationReport {
public static void main(String[] args) {
int queueDepth = ;
int softLimit = 60;
int hardLimit = 90;
String action = "steady";
if (queueDepth >= softLimit) {
action = "shed";
}
if (queueDepth >= hardLimit) {
action = "pause";
}
System.out.println("depth=" + queueDepth + " soft=" + softLimit + " action=" + action);
}
}
relief action
Crossing the soft limit sheds load and crossing the hard limit pauses intake.