Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
Correction of the start application time setup.
[hpcvm.git] / src / and / hpcvm / RunningApplication.java
index 5e79522..c3307de 100644 (file)
@@ -15,6 +15,7 @@ public class RunningApplication implements Serializable
        private boolean running ;
        private long startTime ;
        private long endTime ;
+       private boolean start_mark ;
        
        public RunningApplication( String _name )
        {
@@ -22,10 +23,14 @@ public class RunningApplication implements Serializable
                computingsNodes = new ArrayList<ComputingClient>() ;
                lastSaveDate = 0 ;
                running = false ;
-               startTime = 0 ;
+               startTime = -1 ;
                endTime = 0 ;
+               start_mark = false ;
        }
        
+       public void setStartMark() { start_mark = true ; }
+       
+       public boolean getStartMark() { return start_mark ; } 
        
        public void clear() { computingsNodes.clear() ; }