Class AgentsDaemon


  • public class AgentsDaemon
    extends java.lang.Object
    • Field Detail

      • agentShutdownSignal

        public static final java.lang.String agentShutdownSignal
        Agent shutdown signal name
        See Also:
        Constant Field Values
      • agentServicePrefix

        public static final java.lang.String agentServicePrefix
        Agent service name prefix (followed by agent class name)
        See Also:
        Constant Field Values
      • agentsThread

        protected AgentsDaemon.AgentsThread agentsThread
        The agents thread, which starts and stops agents daemons to keep them consistent with the database, and also takes on process cleanup where necessary.
      • idleCleanupThread

        protected IdleCleanupThread idleCleanupThread
        The idle cleanup thread.
      • processID

        protected final java.lang.String processID
        Process ID for this agents daemon.
      • runningHash

        protected final java.util.Map<java.lang.String,​IAgent> runningHash
        This is the place we keep track of the agents we've started.
    • Constructor Detail

      • AgentsDaemon

        public AgentsDaemon​(java.lang.String processID)
        Create an agents daemon object.
        Parameters:
        processID - is the process ID of this agents daemon. Process ID's must be unique for all agents daemons.