Package jisd.probej

Class ProbeJ


  • public class ProbeJ
    extends java.lang.Object
    Provides ProbeJ client.
    • Constructor Detail

      • ProbeJ

        public ProbeJ​(java.lang.String host,
                      int port)
      • ProbeJ

        public ProbeJ​(java.lang.String host,
                      int port,
                      VirtualMachine vm)
    • Method Detail

      • runVM

        public void runVM()
        Run a targetVM.
      • run

        public void run()
        Start connection with ProbeJ.
      • requestSetProbePoint

        public void requestSetProbePoint​(Location loc)
        Request to set an observation point.
        Parameters:
        loc - location
      • getResults

        public java.util.HashMap<Location,​java.util.ArrayList<ValueInfo>> getResults()
        Fetch value info from ProbeJ.
        Returns:
      • getResults

        public java.util.HashMap<Location,​java.util.ArrayList<ValueInfo>> getResults​(Location loc)
        Fetch value info from ProbeJ.
        Returns:
      • exit

        public void exit()
        Close connection with ProbeJ. If a target VM was managed by this class, this class shutdowns it.
      • requestRemoveProbePoint

        public void requestRemoveProbePoint​(Location loc)
        Request to remove an observation point.
        Parameters:
        loc - location