Class KnownAgent

java.lang.Object
org.jrd.backend.core.agentstore.KnownAgent

public class KnownAgent extends Object
  • Field Details

    • port

      private final int port
    • pid

      private final int pid
    • host

      private final String host
    • owner

      private final long owner
    • ttl

      private final AgentLiveliness ttl
    • deadSince

      private Long deadSince
  • Constructor Details

  • Method Details

    • isLive

      public boolean isLive()
    • getPid

      public int getPid()
    • getPort

      public int getPort()
    • getHost

      public String getHost()
    • getLiveliness

      public AgentLiveliness getLiveliness()
    • getOwner

      public long getOwner()
    • matches

      public boolean matches(String hostname, int listenPort, int vmPid)
    • toString

      public String toString()
      Overrides:
      toString in class Object
    • toPrint

      public String toPrint()
    • verify

      public boolean verify()
    • equals

      public boolean equals(Object o)
      Overrides:
      equals in class Object
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class Object
    • markKilled

      public void markKilled()