incubator-lokahi-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From tob...@apache.org
Subject svn commit: r411861 - /incubator/lokahi/lokahi/trunk/src/java/org/apache/lokahi/core/controller/CheckJvmThread.java
Date Mon, 05 Jun 2006 17:15:34 GMT
Author: toback
Date: Mon Jun  5 10:15:34 2006
New Revision: 411861

URL: http://svn.apache.org/viewvc?rev=411861&view=rev
Log:
moved package names to proper org.apache.lokahi from just straight lokahi

Modified:
    incubator/lokahi/lokahi/trunk/src/java/org/apache/lokahi/core/controller/CheckJvmThread.java

Modified: incubator/lokahi/lokahi/trunk/src/java/org/apache/lokahi/core/controller/CheckJvmThread.java
URL: http://svn.apache.org/viewvc/incubator/lokahi/lokahi/trunk/src/java/org/apache/lokahi/core/controller/CheckJvmThread.java?rev=411861&r1=411860&r2=411861&view=diff
==============================================================================
--- incubator/lokahi/lokahi/trunk/src/java/org/apache/lokahi/core/controller/CheckJvmThread.java
(original)
+++ incubator/lokahi/lokahi/trunk/src/java/org/apache/lokahi/core/controller/CheckJvmThread.java
Mon Jun  5 10:15:34 2006
@@ -55,7 +55,7 @@
   // jvmHttp value
   private static String jvmHttp;
 
-  private static lokahi.core.api.state.State state;
+  private static org.apache.lokahi.core.api.state.State state;
 //  private static tmc.dao.State sentState;
 
   private static final String myContext;
@@ -89,7 +89,7 @@
     final long keepAliveTime = 300;  //how long till existing idle threads are killed
 
     tpe = new ThreadPoolExecutor(corePoolSize, maximumPoolSize, keepAliveTime, TimeUnit.SECONDS,
new LinkedBlockingQueue<Runnable>(25));
-    state = lokahi.core.api.state.State.getState(0);
+    state = org.apache.lokahi.core.api.state.State.getState(0);
     myContext = PropertiesFile.getConstantValue("application.root");
     protocol = PropertiesFile.getConstantValue("tmc.thread.protocol");
     statusPage = PropertiesFile.getConstantValue("tmc.thread.statuspage");
@@ -219,7 +219,7 @@
 
   } // end run
 
-  public static void iterateJobPools(lokahi.core.api.state.State s) {
+  public static void iterateJobPools(org.apache.lokahi.core.api.state.State s) {
     if (s != null) {
       Collection<JobPool> c = null;
       try {
@@ -283,7 +283,7 @@
     }
 //  for (int i=0; i<=2; i++){
 //    try {
-//      iterateJobPools(tmc.dao.State.getState(i));
+//      iterateJobPools(org.apache.lokahi.core.api.State.getState(i));
 //    } catch (SQLException e) {
 //      if (logger.isInfoEnabled()) {
 //        logger.info("Exception: " + e.getMessage());
@@ -357,7 +357,7 @@
           }
           if (pingMachine(primaryTomcatWorker)) {
             iterateJobPools(state);
-            iterateJobPools(lokahi.core.api.state.State.getState(1));
+            iterateJobPools(org.apache.lokahi.core.api.state.State.getState(1));
           } else {
             admin_jvms.put("PRIMARY", myTomcatWorker);
             admin_jvms.put("BACKUP", primaryTomcatWorker);



Mime
View raw message