[Swift-commit] cog r3835

swift at ci.uchicago.edu swift at ci.uchicago.edu
Fri Nov 22 22:25:03 CST 2013


------------------------------------------------------------------------
r3835 | hategan | 2013-11-22 22:24:54 -0600 (Fri, 22 Nov 2013) | 1 line

...
------------------------------------------------------------------------
Index: modules/provider-coaster/src/org/globus/cog/abstraction/coaster/service/job/manager/Settings.java
===================================================================
--- modules/provider-coaster/src/org/globus/cog/abstraction/coaster/service/job/manager/Settings.java	(revision 3834)
+++ modules/provider-coaster/src/org/globus/cog/abstraction/coaster/service/job/manager/Settings.java	(working copy)
@@ -50,7 +50,8 @@
                        "ldLibraryPath", "workerCopies",
                        "directory", "useHashBang",
                        "parallelism",
-                       "coresPerNode"};
+                       "coresPerNode",
+                       "perfTraceWorker", "perfTraceInterval"};
 
     /**
      * The maximum number of blocks that can be active at one time
@@ -159,6 +160,10 @@
     private String directory = null;
 
     private String useHashBang = null;
+    
+    private String perfTraceWorker = "false";
+    
+    private int perfTraceInterval = -1;
 
     private final Map<String, String> attributes;
 
@@ -312,6 +317,26 @@
         return workerLoggingDirectory;
     }
 
+    public String getPerfTraceWorker() {
+        return perfTraceWorker;
+    }
+    
+
+    public void setPerfTraceWorker(String perfTraceWorker) {
+        this.perfTraceWorker = perfTraceWorker;
+    }
+    
+
+    public int getPerfTraceInterval() {
+        return perfTraceInterval;
+    }
+    
+
+    public void setPerfTraceInterval(int perfTraceInterval) {
+        this.perfTraceInterval = perfTraceInterval;
+    }
+    
+
     /**
      * The following values are considered valid:
      * <dl>
@@ -333,7 +358,7 @@
     }
 
     public void setInternalHostname(String internalHostname) {
-      logger.debug("setInternalHostname: " + internalHostname);
+        logger.debug("setInternalHostname: " + internalHostname);
         if (internalHostname != null) { // override automatically determined
             try {
                 URI original = getCallbackURI();
@@ -628,6 +653,7 @@
             sb.append('\n');
         }
         sb.append("\tattributes = " + attributes + "\n");
+        sb.append("\tcallbackURIs = " + getCallbackURIs() + "\n");
         sb.append("}\n");
         return sb.toString();
     }



More information about the Swift-commit mailing list