Author: degenaro
Date: Fri Apr 26 14:07:18 2013
New Revision: 1476211
URL: http://svn.apache.org/r1476211
Log:
UIMA-2838 DUCC webserver (WS) tracks and reports on Paging, replacing less
accurate Swapping notification on Jobs page (debug inventory swap reporting to
OR log file)
Modified:
uima/sandbox/uima-ducc/trunk/uima-ducc-orchestrator/src/main/java/org/apache/uima/ducc/orchestrator/ProcessAccounting.java
Modified:
uima/sandbox/uima-ducc/trunk/uima-ducc-orchestrator/src/main/java/org/apache/uima/ducc/orchestrator/ProcessAccounting.java
URL:
http://svn.apache.org/viewvc/uima/sandbox/uima-ducc/trunk/uima-ducc-orchestrator/src/main/java/org/apache/uima/ducc/orchestrator/ProcessAccounting.java?rev=1476211&r1=1476210&r2=1476211&view=diff
==============================================================================
---
uima/sandbox/uima-ducc/trunk/uima-ducc-orchestrator/src/main/java/org/apache/uima/ducc/orchestrator/ProcessAccounting.java
(original)
+++
uima/sandbox/uima-ducc/trunk/uima-ducc-orchestrator/src/main/java/org/apache/uima/ducc/orchestrator/ProcessAccounting.java
Fri Apr 26 14:07:18 2013
@@ -177,7 +177,9 @@ public class ProcessAccounting {
public void copyInventorySwapUsage(IDuccWork dw, IDuccProcess
inventoryProcess, IDuccProcess process) {
String methodName = "copyInventorySwapUsage";
logger.trace(methodName, null, messages.fetch("enter"));
- process.setSwapUsage(inventoryProcess.getSwapUsage());
+ long value = inventoryProcess.getSwapUsage();
+ logger.debug(methodName, dw.getDuccId(),
inventoryProcess.getDuccId(), ""+value);
+ process.setSwapUsage(value);
if(process.getSwapUsageMax() < process.getSwapUsage()) {
process.setSwapUsageMax(process.getSwapUsage());
}