Documentation of 'org.jgap.distr.WorkerCommand' Java class
WorkerCommand
org.jgap.distr

Class WorkerCommand

  • All Implemented Interfaces:
    ICommand


    public class WorkerCommand
    extends java.lang.Object
    implements ICommand
    Command sent by an IMaster instance to an IWorker instance.
    Since:
    2.3
    • Constructor Summary

      Constructors 
      Constructor and Description
      WorkerCommand(java.lang.String a_name) 
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method and Description
      CommandResult execute(java.lang.Object a_parameters)
      Executes the command and returns the result of the operation
      long getAgeMillis() 
      java.lang.String getName() 
      • Methods inherited from class java.lang.Object

        equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • WorkerCommand

        public WorkerCommand(java.lang.String a_name)
    • Method Detail

      • execute

        public CommandResult execute(java.lang.Object a_parameters)
                              throws java.lang.Exception
        Description copied from interface: ICommand
        Executes the command and returns the result of the operation
        Specified by:
        execute in interface ICommand
        Parameters:
        a_parameters - parameters need for executing the command
        Returns:
        result of operation
        Throws:
        java.lang.Exception - in case of any problem
      • getName

        public java.lang.String getName()
      • getAgeMillis

        public long getAgeMillis()

DMelt 3.0 © DataMelt by jWork.ORG

You see the box below because you did not login.