A B C D E F G H I K L M P R S T U W

A

abs(double, double) - Static method in class cs290b.project.tasks.MandelbrotTaskImpl
 
addEvent(RunTimeEvent) - Method in class cs290b.project.api.RunTimeEventSender
Add a new event to the queue.
addInputResult(Result) - Method in class cs290b.project.api.ComposeTask
Adds a result for the composition.
addInputTask(Task) - Method in class cs290b.project.api.ComposeTask
Adds a required input task to this composition.
addListener(RemoteListener) - Method in class cs290b.project.api.EventManager
 
addRunTimeEvent(RunTimeEvent) - Method in class cs290b.project.computer.TaskManager
 
addTask(Task) - Method in class cs290b.project.computer.TaskManager
 
addTask(Task) - Method in class cs290b.project.server.LocalComputer
 
Administrable - Interface in cs290b.project.api
Interface to help with starting and stopping the entire system.

B

BasicInput - Class in cs290b.project.tasks
 
BasicInput() - Constructor for class cs290b.project.tasks.BasicInput
 
BasicShared - Class in cs290b.project.tasks
 
BasicShared(int) - Constructor for class cs290b.project.tasks.BasicShared
 
BasicTask - Class in cs290b.project.tasks
 
BasicTask() - Constructor for class cs290b.project.tasks.BasicTask
 
BusyState - Class in cs290b.project.api
Used to express how busy a server or computer currently is.
BusyState(int, int, int) - Constructor for class cs290b.project.api.BusyState
Class used to represent how busy a service is.

C

check_solution(int[][], int[], int) - Static method in class cs290b.project.tasks.SatTaskImpl
 
check_solution_partial(int[][], int[]) - Static method in class cs290b.project.tasks.SatTaskImpl
 
clearListeners() - Method in class cs290b.project.api.EventManager
 
Client2Server - Interface in cs290b.project.api
Server interface exposed to the client.
compareTo(Task) - Method in class cs290b.project.api.Task
 
ComposeTask - Class in cs290b.project.api
Task used to compose child tasks.
ComposeTask() - Constructor for class cs290b.project.api.ComposeTask
 
ComposeTaskManager - Class in cs290b.project.server
Class to manager Result objects as they are completed.
ComposeTaskManager(ServerImpl) - Constructor for class cs290b.project.server.ComposeTaskManager
Constructor that accepts a reference to the TaskManager thread.
compute(Task) - Method in class cs290b.project.api.Task
Used to the execute method to mark child tasks for execution.
computeDistance(double, double, double, double) - Static method in class cs290b.project.tasks.TspComposeImpl
 
computeDistance(double, double, double, double) - Method in class cs290b.project.tasks.TspTaskImpl
 
Computer - Interface in cs290b.project.api
Computer interface exposed to the server.
Computer2Server - Interface in cs290b.project.api
 
ComputerImpl - Class in cs290b.project.computer
The implementation of the Computer interface.
ComputerImpl() - Constructor for class cs290b.project.computer.ComputerImpl
The default constructor for exporting the remote object.
ComputerImpl(Computer2Server, String) - Constructor for class cs290b.project.computer.ComputerImpl
Constructor used to create the computer impl object.
ComputerProxy - Class in cs290b.project.server
Proxy to each Computer to handle communication and respond to failures.
ComputerProxy(Computer2Server, Computer) - Constructor for class cs290b.project.server.ComputerProxy
Constructor accepting references to local and remote objects.
cs290b.project.api - package cs290b.project.api
 
cs290b.project.computer - package cs290b.project.computer
 
cs290b.project.server - package cs290b.project.server
 
cs290b.project.tasks - package cs290b.project.tasks
 

D

Debugger - Class in cs290b.project.api
 
Debugger() - Constructor for class cs290b.project.api.Debugger
 
DEFAULT_QUEUE_SIZE - Static variable in class cs290b.project.computer.TaskManager
 
destroy() - Method in class cs290b.project.api.RunTimeListenerImpl
Unexport this object.
displayResult(Object) - Method in interface cs290b.project.api.TaskRunner
Display the result of an execution.

E

equals(Object) - Method in class cs290b.project.api.RunTimeListenerImpl
 
equals(Object) - Method in class cs290b.project.tasks.BasicInput
 
equals(Object) - Method in class cs290b.project.tasks.SatInput
 
equals(Object) - Method in class cs290b.project.tasks.TSPInput
 
EventManager - Class in cs290b.project.api
 
EventManager() - Constructor for class cs290b.project.api.EventManager
 
execute(Object) - Method in class cs290b.project.api.ComposeTask
Default implementation of execute.
execute(Object) - Method in class cs290b.project.api.Task
Default impelementation of the execute method.
execute(Object) - Method in class cs290b.project.tasks.BasicTask
 
execute(Object) - Method in class cs290b.project.tasks.FibonacciComposeImpl
Execute the task.
execute(Object) - Method in class cs290b.project.tasks.FibonacciTaskImpl
Execute the task.
execute(Object) - Method in class cs290b.project.tasks.MandelbrotComposeImpl
Compose a Mandelbrot set from the four regions it depends on (TopLeft, TopRight, BottomLeft, BottomRight).
execute(Object) - Method in class cs290b.project.tasks.MandelbrotTaskImpl
Execute the task.
execute(Object) - Method in class cs290b.project.tasks.SatComposeImpl
 
execute(Object) - Method in class cs290b.project.tasks.SatTaskImpl
 
execute(Object) - Method in class cs290b.project.tasks.TspComposeImpl
 
execute(Object) - Method in class cs290b.project.tasks.TspTaskImpl
 
executeOnServer() - Method in class cs290b.project.api.Task
 
executeOnServer() - Method in class cs290b.project.tasks.FibonacciComposeImpl
 
executeOnServer() - Method in class cs290b.project.tasks.SatComposeImpl
 
executeOnServer() - Method in class cs290b.project.tasks.TspComposeImpl
 
exitService() - Method in interface cs290b.project.api.Administrable
Implemented by Computers and Servers to abruptly stop execution.
exitService() - Method in class cs290b.project.computer.ComputerImpl
Administrable implementation to stop the Computer abruptly.
exitService() - Method in class cs290b.project.server.ComputerProxy
Invoke exitService on the remote Computer.
exitService() - Method in class cs290b.project.server.ServerImpl
Stop the connnected computers and this service abruptly.

F

FibonacciComposeImpl - Class in cs290b.project.tasks
Task to compose the Fibonacci sequence.
FibonacciComposeImpl() - Constructor for class cs290b.project.tasks.FibonacciComposeImpl
 
FibonacciShared - Class in cs290b.project.tasks
 
FibonacciShared() - Constructor for class cs290b.project.tasks.FibonacciShared
 
FibonacciTaskImpl - Class in cs290b.project.tasks
Compute the Fibonacci sequence using divide and conquer.
FibonacciTaskImpl(int) - Constructor for class cs290b.project.tasks.FibonacciTaskImpl
Constructor accepting which number in the sequence to compute.

G

getArgIndex() - Method in class cs290b.project.api.Result
Returns the argument index associated with this result.
getArgIndex() - Method in class cs290b.project.api.Task
The index where the Result of this task will be located
getAvgRunTime() - Method in interface cs290b.project.api.Client2Server
The average run time for each task.
getAvgRunTime() - Method in class cs290b.project.server.ServerImpl
The average run time of tasks during this execution.
getAvgRunTime() - Method in class cs290b.project.server.TaskStats
 
getBusyState() - Method in class cs290b.project.api.Mail
The current state of the server.
getBusyState() - Method in class cs290b.project.computer.TaskManager
 
getChildTasks() - Method in class cs290b.project.api.Task
Child tasks added during execution.
getCities() - Method in class cs290b.project.tasks.TSPInput
 
getClauses() - Method in class cs290b.project.tasks.SatInput
 
getComputation() - Method in class cs290b.project.server.ServerImpl
The current input object.
getComputerId() - Method in class cs290b.project.api.Mail
 
getComputerId() - Method in class cs290b.project.api.RunTimeEvent
 
getComputerId() - Method in class cs290b.project.computer.ComputerImpl
 
getComputerId() - Method in class cs290b.project.computer.TaskManager
 
getComputerName() - Method in class cs290b.project.api.RunTimeEvent
 
getComputerName() - Method in class cs290b.project.computer.ComputerImpl
 
getComputerName() - Method in class cs290b.project.computer.TaskManager
 
getCriticalPath() - Method in class cs290b.project.api.Result
 
getCriticalPath() - Method in class cs290b.project.api.Task
 
getDemand() - Method in class cs290b.project.api.BusyState
The requested amound of tasks.
getDescription() - Method in interface cs290b.project.api.TaskRunner
A description of the task.
getId() - Method in interface cs290b.project.api.RunTimeListener
Unique id to prevent registering multiple listeners.
getId() - Method in class cs290b.project.api.RunTimeListenerImpl
Id of the listener
getId() - Method in class cs290b.project.api.TaskId
Get the identifier for this task.
getInput() - Method in class cs290b.project.api.Mail
Returns the common task input.
getInput() - Method in class cs290b.project.api.TaskEnv
The common input object.
getInput() - Method in interface cs290b.project.api.TaskRunner
Construct a TaskEnv object to determine the task to execute.
getInputResult(int) - Method in class cs290b.project.api.ComposeTask
Returns a result input at the associated index.
getInputResults() - Method in class cs290b.project.api.ComposeTask
 
getInputTasks() - Method in class cs290b.project.api.ComposeTask
Return the listing of required input tasks.
getKnownServers() - Method in class cs290b.project.api.Mail
 
getKnownServers() - Method in class cs290b.project.api.RunTimeEvent
 
getKnownServers() - Method in class cs290b.project.computer.ComputerImpl
 
getKnownServers() - Method in class cs290b.project.computer.TaskManager
 
getKnownServers() - Method in class cs290b.project.server.ServerImpl
 
getKnownServersList() - Method in class cs290b.project.api.RunTimeEvent
 
getListenerId() - Method in interface cs290b.project.api.RemoteListener
A unique id for the listener.
getListeners() - Method in class cs290b.project.api.EventManager
 
getListeners() - Method in class cs290b.project.api.Mail
Returns the current list of listeners.
getMax() - Method in class cs290b.project.tasks.MandelbrotTaskImpl
 
getNCities() - Method in class cs290b.project.tasks.TSPInput
 
getnumVariables() - Method in class cs290b.project.tasks.SatInput
 
getPath() - Method in class cs290b.project.tasks.TspShared
 
getPriority() - Method in class cs290b.project.api.BusyState
The priority of the requestor.
getProcessorId() - Method in class cs290b.project.api.RunTimeEvent
 
getProcessorId() - Method in class cs290b.project.computer.Processor
 
getRemoteServer() - Method in class cs290b.project.server.ServerProxy
 
getRunTime() - Method in class cs290b.project.api.Result
Returns the execution time of the Task.
getRunTime() - Method in class cs290b.project.api.RunTimeEvent
 
getRunTime() - Method in class cs290b.project.api.Task
 
getServerHostName() - Method in interface cs290b.project.api.Computer2Server
 
getServerHostName() - Method in class cs290b.project.api.Mail
 
getServerHostName() - Method in class cs290b.project.api.RunTimeEvent
 
getServerHostName() - Method in class cs290b.project.computer.ComputerImpl
 
getServerHostName() - Method in class cs290b.project.computer.TaskManager
 
getServerHostName() - Method in class cs290b.project.server.ServerImpl
 
getServerHostName() - Method in class cs290b.project.server.ServerProxy
 
getShared() - Method in class cs290b.project.api.Mail
Returns the current shared value at the server.
getShared() - Method in interface cs290b.project.api.SupportManager
 
getShared() - Method in class cs290b.project.api.Task
 
getShared() - Method in class cs290b.project.api.TaskEnv
The default shared object.
getShared() - Method in class cs290b.project.computer.ComputerImpl
Get the shared object.
getShared() - Method in class cs290b.project.computer.SharedManager
 
getShared() - Method in class cs290b.project.computer.TaskManager
 
getShared() - Method in class cs290b.project.server.ComputerProxy
 
getShared() - Method in class cs290b.project.server.ServerImpl
The current value of the shared object.
getShared() - Method in class cs290b.project.server.SharedManager
 
getSourceServer() - Method in class cs290b.project.api.Result
 
getSourceServer() - Method in class cs290b.project.api.Task
 
getSplit() - Method in class cs290b.project.tasks.MandelbrotTaskImpl
 
getStartX() - Method in class cs290b.project.tasks.MandelbrotTaskImpl
 
getStartY() - Method in class cs290b.project.tasks.MandelbrotTaskImpl
 
getSuccessorId() - Method in class cs290b.project.api.Result
 
getSuccessorId() - Method in class cs290b.project.api.Task
 
getSupply() - Method in class cs290b.project.api.BusyState
The amound of tasks currently in the queue.
getTask() - Method in class cs290b.project.api.TaskEnv
The task to execute.
getTaskClassName() - Method in class cs290b.project.api.RunTimeEvent
 
getTaskCount() - Method in interface cs290b.project.api.Client2Server
Return the number of tasks created.
getTaskCount() - Method in class cs290b.project.server.ServerImpl
The number of tasks created during this execution.
getTaskCount() - Method in class cs290b.project.server.TaskStats
 
getTaskId() - Method in class cs290b.project.api.Result
Returns the assigned TaskId.
getTaskId() - Method in class cs290b.project.api.RunTimeEvent
 
getTaskId() - Method in class cs290b.project.api.Task
Return the associated TaskId
getTaskId() - Method in class cs290b.project.tasks.MandelbrotTaskImpl
 
getTaskId() - Method in class cs290b.project.tasks.SatTaskImpl
 
getTaskId() - Method in class cs290b.project.tasks.TspTaskImpl
 
getTaskQueueSize() - Method in class cs290b.project.computer.TaskManager
 
getTasks(BusyState) - Method in interface cs290b.project.api.Computer2Server
Used by computers and other servers to request tasks.
getTasks(BusyState) - Method in class cs290b.project.server.ServerImpl
Interface for Servers and Computers to request tasks.
getTasks(BusyState) - Method in class cs290b.project.server.ServerProxy
 
getText() - Method in interface cs290b.project.api.TaskRunner
The text to display on the menu.
getTotalRunTime() - Method in interface cs290b.project.api.Client2Server
Return the amount of time it took for the tasks to run.
getTotalRunTime() - Method in class cs290b.project.server.ServerImpl
The run time of the tasks during this execution.
getTotalRunTime() - Method in class cs290b.project.server.TaskStats
 
getValue() - Method in class cs290b.project.api.Result
Returns the result of the Task execution.
getValue() - Method in class cs290b.project.tasks.BasicInput
 
getValue() - Method in class cs290b.project.tasks.BasicShared
 
getValue() - Method in class cs290b.project.tasks.FibonacciShared
 
getValue() - Method in class cs290b.project.tasks.SatShared
 
getValue() - Method in class cs290b.project.tasks.TspShared
 
getWidth() - Method in class cs290b.project.tasks.MandelbrotTaskImpl
 

H

hashCode() - Method in class cs290b.project.api.TaskId
 

I

intialized - Static variable in class cs290b.project.api.Debugger
 
isNewerThan(Shared) - Method in class cs290b.project.api.Shared
 
isNewerThan(Shared) - Method in class cs290b.project.tasks.BasicShared
 
isNewerThan(Shared) - Method in class cs290b.project.tasks.FibonacciShared
 
isNewerThan(Shared) - Method in class cs290b.project.tasks.SatShared
 
isNewerThan(Shared) - Method in class cs290b.project.tasks.TspShared
 

K

kill() - Method in class cs290b.project.api.EventManager
 
kill() - Method in class cs290b.project.api.RunTimeEventReceiver
 
kill() - Method in class cs290b.project.api.RunTimeEventSender
Stop the process.
kill() - Method in class cs290b.project.computer.Processor
 
kill() - Method in class cs290b.project.computer.TaskManager
 
kill() - Method in class cs290b.project.server.ComposeTaskManager
 
kill() - Method in class cs290b.project.server.LocalComputer
 

L

listenerIsNewer(RunTimeListener) - Method in class cs290b.project.api.RunTimeEventReceiver
 
LocalComputer - Class in cs290b.project.server
 
LocalComputer(ServerImpl) - Constructor for class cs290b.project.server.LocalComputer
 
lower_bound(double[][], int[]) - Method in class cs290b.project.tasks.TspTaskImpl
 

M

Mail - Class in cs290b.project.api
Used to send a group of objects when a computer registers.
Mail(BusyState, Object, Shared, int, String, String, ArrayList<RemoteListener>) - Constructor for class cs290b.project.api.Mail
 
main(String[]) - Static method in class cs290b.project.computer.ComputerImpl
 
main(String[]) - Static method in class cs290b.project.server.ServerImpl
Main start method for the server.
MandelbrotComposeImpl - Class in cs290b.project.tasks
 
MandelbrotComposeImpl() - Constructor for class cs290b.project.tasks.MandelbrotComposeImpl
 
MandelbrotTaskImpl - Class in cs290b.project.tasks
Executes a divide and conquer version of the Mandelbrot set.
MandelbrotTaskImpl(double, double, double, int, int) - Constructor for class cs290b.project.tasks.MandelbrotTaskImpl
Constructor accepting the arguements to create the set.
minimum(double[]) - Method in class cs290b.project.tasks.TspTaskImpl
 

P

processEvents(RunTimeEvent[]) - Method in interface cs290b.project.api.RunTimeEventConsumer
 
Processor - Class in cs290b.project.computer
 
Processor(int, TaskManager) - Constructor for class cs290b.project.computer.Processor
 
processResult(Object) - Method in interface cs290b.project.api.Computer2Server
Process a result of a task execution.
processResult(Object) - Method in class cs290b.project.computer.TaskManager
 
processResult(Object) - Method in class cs290b.project.server.ServerImpl
Exposed interface for processing results from other computers.
processResult(Object) - Method in class cs290b.project.server.ServerProxy
 
putComposeTask(ComposeTask) - Method in class cs290b.project.server.ComposeTaskManager
Add a compose task to be monitored.
putInputResult(Result) - Method in class cs290b.project.server.ComposeTaskManager
Add a processed Result object.
putTask(Task) - Method in class cs290b.project.server.ServerImpl
Add a task to execute.

R

ready() - Method in class cs290b.project.api.ComposeTask
Lets the server know if this task is ready for execution.
receiveEvent(Object[]) - Method in interface cs290b.project.api.RemoteListener
A method to process a set of events.
receiveEvents(RunTimeEvent[]) - Method in interface cs290b.project.api.Computer2Server
 
receiveEvents(RunTimeEvent[]) - Method in class cs290b.project.api.RunTimeEventReceiver
 
receiveEvents(RunTimeEvent[]) - Method in class cs290b.project.server.ServerImpl
 
receiveEvents(RunTimeEvent[]) - Method in class cs290b.project.server.ServerProxy
 
recieveEvents(RunTimeEvent[]) - Method in interface cs290b.project.api.RunTimeListener
A method to process a set of events.
recieveEvents(RunTimeEvent[]) - Method in class cs290b.project.api.RunTimeListenerImpl
Implementation of the interface.
register(Computer) - Method in interface cs290b.project.api.Computer2Server
Register a Computer remote reference with the server.
register(Computer) - Method in class cs290b.project.server.ServerImpl
Register a remote computer with the server.
register(Computer) - Method in class cs290b.project.server.ServerProxy
 
registerListener(RemoteListener) - Method in interface cs290b.project.api.Client2Server
Used to register a remote listener on a server or computer.
registerListener(RemoteListener) - Method in interface cs290b.project.api.Computer
Registers a listener for sending events.
registerListener(RemoteListener) - Method in interface cs290b.project.api.SupportManager
 
registerListener(RemoteListener) - Method in class cs290b.project.computer.ComputerImpl
Register a listener with this computer.
registerListener(RemoteListener) - Method in class cs290b.project.computer.TaskManager
 
registerListener(RemoteListener) - Method in class cs290b.project.server.ComputerProxy
 
registerListener(RemoteListener) - Method in class cs290b.project.server.ServerImpl
Register a listener with the server and the remote computers.
RemoteListener - Interface in cs290b.project.api
Interface required for a remote listener to register.
reset() - Method in class cs290b.project.server.TaskStats
 
Result - Class in cs290b.project.api
Object returned by Computers when a value was calculated (that is, no new tasks were spawned).
Result(Computer2Server, TaskId, Object, long, long) - Constructor for class cs290b.project.api.Result
Default constructor.
run() - Method in class cs290b.project.api.EventManager
 
run() - Method in class cs290b.project.api.RunTimeEventReceiver
 
run() - Method in class cs290b.project.api.RunTimeEventSender
Communicate with the server asynchrounously.
run() - Method in class cs290b.project.computer.ComputerImpl
 
run() - Method in class cs290b.project.computer.Processor
 
run() - Method in class cs290b.project.computer.SharedManager
 
run() - Method in class cs290b.project.computer.TaskManager
 
run() - Method in class cs290b.project.server.ComposeTaskManager
Looks at all ComposeTasks in the queue and attempts to find the associated input Results.
run() - Method in class cs290b.project.server.ComputerProxy
Runs tasks from the execution queue on a separate thread.
run() - Method in class cs290b.project.server.LocalComputer
 
run() - Method in class cs290b.project.server.ServerImpl
Thread for randomly stealing tasks from the server neighbors.
run() - Method in class cs290b.project.server.ServerProxy
 
runMandelbrot() - Method in class cs290b.project.tasks.MandelbrotTaskImpl
Executes the Mandelbrot set on the current values.
runTask(RunTimeListener, Task) - Method in interface cs290b.project.api.Client2Server
Used to place a task on the server for execution.
runTask(Task) - Method in class cs290b.project.computer.Processor
 
runTask(Task) - Method in class cs290b.project.server.LocalComputer
 
runTask(RunTimeListener, Task) - Method in class cs290b.project.server.ServerImpl
Add a task to execute from the client.
RunTimeEvent - Class in cs290b.project.api
Class to hold events that are passed back to the client.
RunTimeEvent(String, String, String, int, int, TaskId, String, long) - Constructor for class cs290b.project.api.RunTimeEvent
 
RunTimeEventConsumer - Interface in cs290b.project.api
 
RunTimeEventReceiver - Class in cs290b.project.api
 
RunTimeEventReceiver() - Constructor for class cs290b.project.api.RunTimeEventReceiver
 
RunTimeEventSender - Class in cs290b.project.api
Class used by computers to pass events to the servers.
RunTimeEventSender(Computer2Server) - Constructor for class cs290b.project.api.RunTimeEventSender
Constructor
RunTimeListener - Interface in cs290b.project.api
Remote interface for the client.
RunTimeListenerImpl - Class in cs290b.project.api
Implementation of the RunTimeListener interface for the client.
RunTimeListenerImpl() - Constructor for class cs290b.project.api.RunTimeListenerImpl
Default constructor.

S

SatComposeImpl - Class in cs290b.project.tasks
 
SatComposeImpl() - Constructor for class cs290b.project.tasks.SatComposeImpl
 
SatInput - Class in cs290b.project.tasks
 
SatInput(int, int[][]) - Constructor for class cs290b.project.tasks.SatInput
 
SatShared - Class in cs290b.project.tasks
 
SatShared(int) - Constructor for class cs290b.project.tasks.SatShared
 
SatTaskImpl - Class in cs290b.project.tasks
 
SatTaskImpl(int) - Constructor for class cs290b.project.tasks.SatTaskImpl
 
SatTaskImpl(int[], int) - Constructor for class cs290b.project.tasks.SatTaskImpl
 
sendEvent(Object) - Method in class cs290b.project.api.EventManager
 
sendEvent(Object) - Method in interface cs290b.project.api.SupportManager
 
sendEvent(Object) - Method in class cs290b.project.api.Task
 
sendEvent(Object) - Method in class cs290b.project.computer.ComputerImpl
Does nothing.
sendEvent(Object) - Method in class cs290b.project.computer.TaskManager
 
sendEvent(Object) - Method in class cs290b.project.server.ComputerProxy
 
sendEvent(Object) - Method in class cs290b.project.server.ServerImpl
 
ServerImpl - Class in cs290b.project.server
Server interface for the client, connected computers, and other servers
ServerImpl() - Constructor for class cs290b.project.server.ServerImpl
Constructor that creates the local computer and Shared manager
ServerImpl(String, String) - Constructor for class cs290b.project.server.ServerImpl
 
ServerProxy - Class in cs290b.project.server
 
ServerProxy() - Constructor for class cs290b.project.server.ServerProxy
 
ServerProxy(Computer2Server) - Constructor for class cs290b.project.server.ServerProxy
 
ServiceName - Static variable in interface cs290b.project.api.Client2Server
Used by the client to identify the remote server in the registry.
ServiceName - Static variable in interface cs290b.project.api.Computer2Server
Used by the computer to identify the remote server in the registry.
setArgIndex(int) - Method in class cs290b.project.api.Result
Sets the argument index for this result.
setArgIndex(int) - Method in class cs290b.project.api.Task
Set the index where the Result of this task will be located.
setComputation(Object) - Method in interface cs290b.project.api.Client2Server
Sets the common input for all the tasks.
setComputation(Object) - Method in interface cs290b.project.api.Computer
Sets the input for the tasks.
setComputation(Object) - Method in interface cs290b.project.api.Computer2Server
Sets the common input for all the tasks.
setComputation(Object) - Method in class cs290b.project.computer.ComputerImpl
Computer implementation to share common input from the client.
setComputation(Object) - Method in class cs290b.project.computer.Processor
 
setComputation(Object) - Method in class cs290b.project.server.ComputerProxy
Set the common input object on the remote Computer.
setComputation(Object) - Method in class cs290b.project.server.ServerImpl
Set the common input for the server and computers
setComputation(Object) - Method in class cs290b.project.server.ServerProxy
 
setCriticalPath(long) - Method in class cs290b.project.api.Task
 
setListener(RunTimeListener) - Method in class cs290b.project.api.RunTimeEventReceiver
 
setRunTime(long) - Method in class cs290b.project.api.Task
 
setRunTimeEventConsumer(RunTimeEventConsumer) - Method in class cs290b.project.api.RunTimeListenerImpl
Set the object that will process incoming events.
setRunTimeListener(RunTimeListener) - Method in interface cs290b.project.api.Computer2Server
 
setRunTimeListener(RunTimeListener) - Method in class cs290b.project.server.ServerImpl
 
setRunTimeListener(RunTimeListener) - Method in class cs290b.project.server.ServerProxy
 
setShared(Shared) - Method in interface cs290b.project.api.Client2Server
Sets the shared object.
setShared(Shared) - Method in interface cs290b.project.api.Computer
Updates the shared value of the tasks if newer than the current version.
setShared(Shared) - Method in interface cs290b.project.api.Computer2Server
Updates the shared value of the tasks if newer than the current version.
setShared(Shared) - Method in interface cs290b.project.api.SupportManager
 
setShared(Shared) - Method in class cs290b.project.api.Task
 
setShared(Shared) - Method in class cs290b.project.computer.ComputerImpl
Set the shared object if newer.
setShared(Shared) - Method in class cs290b.project.computer.TaskManager
 
setShared(Shared) - Method in class cs290b.project.server.ComputerProxy
 
setShared(Shared) - Method in class cs290b.project.server.ServerImpl
Updates the shared object if newShared returns true for isNewerThan.
setShared(Shared) - Method in class cs290b.project.server.ServerProxy
 
setSourceServer(Computer2Server) - Method in class cs290b.project.api.Task
 
setSuccessorId(TaskId) - Method in class cs290b.project.api.Result
 
setSuccessorId(TaskId) - Method in class cs290b.project.api.Task
 
setSupport(SupportManager) - Method in class cs290b.project.api.Task
 
setTaskId(TaskId) - Method in class cs290b.project.api.Task
Assign the associated TaskId.
setTaskId(TaskId) - Method in class cs290b.project.tasks.MandelbrotTaskImpl
 
setTaskId(TaskId) - Method in class cs290b.project.tasks.SatTaskImpl
 
setTaskId(TaskId) - Method in class cs290b.project.tasks.TspTaskImpl
 
Shared - Class in cs290b.project.api
 
Shared() - Constructor for class cs290b.project.api.Shared
 
SharedManager - Class in cs290b.project.computer
 
SharedManager(Computer2Server) - Constructor for class cs290b.project.computer.SharedManager
 
SharedManager - Class in cs290b.project.server
 
SharedManager(List<Computer>, ServerProxy[]) - Constructor for class cs290b.project.server.SharedManager
 
stopService() - Method in interface cs290b.project.api.Administrable
Implemented by Computers and Servers to gracefully stop execution.
stopService() - Method in class cs290b.project.computer.ComputerImpl
Administrable implementation to stop the remote object and all executing threads gracefully.
stopService() - Method in class cs290b.project.server.ComputerProxy
Invoke stopService on the remote Computer.
stopService() - Method in class cs290b.project.server.ServerImpl
Stop the connected computers and this service gracefully.
SupportManager - Interface in cs290b.project.api
Computer interface exposed to the server.

T

takeResult() - Method in interface cs290b.project.api.Client2Server
Return a result that has been processed.
takeResult() - Method in class cs290b.project.server.ServerImpl
Interface for the client to retrieve results
Task - Class in cs290b.project.api
Default implementation of a divide and conquer task.
Task() - Constructor for class cs290b.project.api.Task
 
taskCompleted(long) - Method in class cs290b.project.server.TaskStats
 
TaskEnv - Class in cs290b.project.api
Class to hold the task, input, and shared object for the TaskRunner interface.
TaskEnv(Task, Object, Shared) - Constructor for class cs290b.project.api.TaskEnv
Constructor to accept inputs.
TaskId - Class in cs290b.project.api
Class used to identify Tasks for execution.
TaskId(String) - Constructor for class cs290b.project.api.TaskId
Assigns the id for this task.
TaskManager - Class in cs290b.project.computer
 
TaskRunner - Interface in cs290b.project.api
Interface to allow the dynamic loading of TaskRunner impementations
TaskStats - Class in cs290b.project.server
 
TaskStats() - Constructor for class cs290b.project.server.TaskStats
 
toString() - Method in class cs290b.project.api.RunTimeEvent
 
toString() - Method in class cs290b.project.api.Shared
 
toString() - Method in class cs290b.project.api.TaskId
 
toString() - Method in class cs290b.project.tasks.BasicInput
 
toString() - Method in class cs290b.project.tasks.BasicShared
 
toString() - Method in class cs290b.project.tasks.FibonacciShared
 
toString() - Method in class cs290b.project.tasks.TspShared
 
TspComposeImpl - Class in cs290b.project.tasks
 
TspComposeImpl() - Constructor for class cs290b.project.tasks.TspComposeImpl
 
TSPInput - Class in cs290b.project.tasks
 
TSPInput(double[][]) - Constructor for class cs290b.project.tasks.TSPInput
 
TspShared - Class in cs290b.project.tasks
 
TspShared(double) - Constructor for class cs290b.project.tasks.TspShared
 
TspShared(double, int[]) - Constructor for class cs290b.project.tasks.TspShared
 
TspTaskImpl - Class in cs290b.project.tasks
 
TspTaskImpl(int) - Constructor for class cs290b.project.tasks.TspTaskImpl
 
TspTaskImpl(int, int[]) - Constructor for class cs290b.project.tasks.TspTaskImpl
 

U

unregister(Computer) - Method in interface cs290b.project.api.Computer2Server
Remove a computer reference from the server.
unregister(Computer) - Method in class cs290b.project.server.ServerImpl
Unregister a computer with this server.
unregister(Computer) - Method in class cs290b.project.server.ServerProxy
 
update(Mail) - Method in class cs290b.project.server.ComputerProxy
 
updateIfNewerThan(Shared) - Method in class cs290b.project.computer.SharedManager
 
updateIfNewerThan(Shared) - Method in class cs290b.project.server.SharedManager
 

W

writeEvent(String) - Static method in class cs290b.project.api.Debugger
 
writeEvents - Static variable in class cs290b.project.api.Debugger
 
writeStackTrace(Exception) - Static method in class cs290b.project.api.Debugger
 

A B C D E F G H I K L M P R S T U W

Anna Sibirtseva & Chris Ferguson, CS 290B