All Downloads are FREE. Search and download functionalities are using the official Maven repository.

org.snapscript.studio.agent.event.StatusEvent Maven / Gradle / Ivy

The newest version!
package org.snapscript.studio.agent.event;

import org.snapscript.studio.agent.core.ExecuteStatus;

public interface StatusEvent extends ProcessEvent {
   ExecuteStatus getStatus();
   String getProject();
   String getSystem();
   String getResource();
   String getPid();
   long getUsedMemory();
   long getTotalMemory();
   int getThreads();

   public static interface Builder {
      Builder withProject(String project);
      Builder withStatus(ExecuteStatus status);
      Builder withResource(String resource);
      Builder withSystem(String system);
      Builder withPid(String pid);
      Builder withThreads(int threads);
      Builder withTotalMemory(long totalMemory);
      Builder withUsedMemory(long usedMemory);
      T build();
   }
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy