Issue #1597 Moved some interpolation messages to Performance Log for consistency.

Change-Id: I1bd047ada89b0e9876549c6153d06c82e4dfc5c8

Former-commit-id: 079cdbcb29 [formerly c9ca7a2943 [formerly 4683ff00b8bc515fc2f802810fc2caba37c282d8]]
Former-commit-id: c9ca7a2943
Former-commit-id: f491d7f7c3
This commit is contained in:
Ron Anderson 2013-02-27 14:45:30 -06:00
parent 1b65ae1967
commit bbf1f71873
2 changed files with 13 additions and 1 deletions

View file

@ -68,7 +68,9 @@ import com.raytheon.uf.common.dataplugin.gfe.weather.WeatherKey;
import com.raytheon.uf.common.dataplugin.gfe.weather.WeatherSubKey;
import com.raytheon.uf.common.geospatial.MapUtil;
import com.raytheon.uf.common.message.WsId;
import com.raytheon.uf.common.status.IPerformanceStatusHandler;
import com.raytheon.uf.common.status.IUFStatusHandler;
import com.raytheon.uf.common.status.PerformanceStatus;
import com.raytheon.uf.common.status.UFStatus;
import com.raytheon.uf.common.status.UFStatus.Priority;
import com.raytheon.uf.common.time.SimulatedTime;
@ -187,6 +189,9 @@ public abstract class Parm implements Comparable<Parm> {
private static final transient IUFStatusHandler statusHandler = UFStatus
.getHandler(Parm.class);
private final IPerformanceStatusHandler perfLog = PerformanceStatus
.getHandler("GFE:");
protected RWLArrayList<IGridData> grids;
protected ParmState parmState;
@ -4323,6 +4328,8 @@ public abstract class Parm implements Comparable<Parm> {
if (!quietMode) {
statusHandler.handle(Priority.EVENTA, "Interpolation for "
+ getParmID().getShortParmId() + " finished.");
perfLog.log("Interpolation for " + getParmID().getShortParmId()
+ " finished.");
}
}
}

View file

@ -48,7 +48,9 @@ import com.raytheon.uf.common.dataplugin.gfe.server.message.ServerResponse;
import com.raytheon.uf.common.dataplugin.gfe.server.request.CommitGridRequest;
import com.raytheon.uf.common.dataplugin.gfe.server.request.LockRequest;
import com.raytheon.uf.common.dataplugin.gfe.server.request.SendISCRequest;
import com.raytheon.uf.common.status.IPerformanceStatusHandler;
import com.raytheon.uf.common.status.IUFStatusHandler;
import com.raytheon.uf.common.status.PerformanceStatus;
import com.raytheon.uf.common.status.UFStatus;
import com.raytheon.uf.common.status.UFStatus.Priority;
import com.raytheon.uf.common.time.SimulatedTime;
@ -92,6 +94,9 @@ public class ParmOp {
private static final transient IUFStatusHandler statusHandler = UFStatus
.getHandler(ParmOp.class);
private final IPerformanceStatusHandler perfLog = PerformanceStatus
.getHandler("GFE:");
private static final int MAX_CONCURRENT_JOBS = 5;
private IGridData copiedGrid;
@ -387,7 +392,7 @@ public class ParmOp {
*/
public void interpolateSelected(InterpMode interpMode,
InterpState interpState, int interval, int duration) {
statusHandler.debug("Interpolation started");
perfLog.log("Interpolation started");
Parm[] allParms = this.dataManager.getParmManager().getAllParms();
for (Parm parm : allParms) {
if (parm.getParmState().isSelected() && parm.isMutable()) {