org.almendra.janet.cas.scheduling
Interface ICommand

All Superinterfaces:
java.lang.Cloneable
All Known Subinterfaces:
IWorkLoadBalancingCommand, IWorkLoadCommand, IWorkLoadSharingCommand
All Known Implementing Classes:
AbstractAgentCommand, AbstractConsumerCommand, AbstractLoggerCommand, AbstractProducerCommand, AbstractReduceLoadCommand, CancelReduceLoadCommand, DeregisterAgentCommand, DeregisterApplicationCommand, DeregisterNodeCommand, DeregisterNodeFinalCommand, DisplayAttributeCommand, DisplayLogEntryCommand, EvictCommand, ExecuteEventHandlerCommand, ExecuteWorkloadBalancingCommand, ExecuteWorkloadCommand, ExecuteWorkloadSharingCommand, ExecutorAnchorCommand, FibonacciBalancingCommand, FibonacciCommand, FibonacciSharingCommand, FibonacciStartCommand, InstallLoggerCommand, InstallProducerCommand, InterruptibleReduceLoadCommand, NodeShutdownCommand, NodeShutdownRequestCommand, NodeStartedCommand, NotifyCPULoadChangedCommand, NotifyQSCChangedCommand, NullCommand, ObserverConnectionStatusChangedCommand, ObserverStateChangedCommand, ObserveWorkstationLoadCommand, ProcessCPULoadChangedCommand, ProcessQSCChangedCommand, ReduceLoadCommand, RegisterAgentCommand, RegisterApplicationCommand, RegisteredNodeCommand, RegisterNodeCommand, SetMaskCommand, StartCommand, StartCommand, StartCommand, StartCommand, StartViewCommand, SuspendCommand, UnInstallLoggerCommand, UnInstallProducerCommand, UnsetMaskCommand, WorkloadDistributionCommand

public interface ICommand
extends java.lang.Cloneable

Author:
Oliver

Field Summary
static int ApplicationMaxPriority
           
static int ApplicationMinPriority
           
static int InterruptPriority
           
static int SystemPriority
           
 
Method Summary
 java.lang.Object clone()
          Make sure the user can rely on a command to be cloneable.
 int getPriority()
          Answer the priority of the command.
 java.lang.String getQualifiedName()
          Answer the fully qualified name of the command, e.g. package and class name.
 java.lang.String toLogString()
          Return a string printing a command onto a string used for logging.
 

Field Detail

InterruptPriority

static final int InterruptPriority
See Also:
Constant Field Values

SystemPriority

static final int SystemPriority
See Also:
Constant Field Values

ApplicationMaxPriority

static final int ApplicationMaxPriority
See Also:
Constant Field Values

ApplicationMinPriority

static final int ApplicationMinPriority
See Also:
Constant Field Values
Method Detail

getQualifiedName

java.lang.String getQualifiedName()
Answer the fully qualified name of the command, e.g. package and class name.

Returns:

getPriority

int getPriority()
Answer the priority of the command.

Returns:

toLogString

java.lang.String toLogString()
Return a string printing a command onto a string used for logging.

Returns:

clone

java.lang.Object clone()
                       throws java.lang.CloneNotSupportedException
Make sure the user can rely on a command to be cloneable. Needed by the system to clone commands in simulated mode which is necessary so that every agent receives a command with a pointer of its own which is the case in distributed mode anyway.

Returns:
Throws:
java.lang.CloneNotSupportedException