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

A

acceptMsg(DarxMessage) - Method in class darx.TaskShell
Checks the validity of a received message.
activateTask(String, int) - Method in class darx.DarxTask
Requests a new task activation on a specific DARX server.
activateUpdating(int) - Method in class darx.PassiveReplicationStrategy
Starts the backup process.
ACTIVE_STRATEGY - Static variable in class darx.ReplicationStrategy
The constant used to define the strategy type as active.
ActiveReplicationStrategy - Class in darx
This is the replication group manager specialisation which implements the active replication strategy.
ActiveReplicationStrategy() - Constructor for class darx.ActiveReplicationStrategy
 
ActiveReplicationStrategy(ActiveReplicationStrategy) - Constructor for class darx.ActiveReplicationStrategy
 
adaptPolicy() - Method in class darx.ReplicationManager
Adapts the current replication scheme using a specific heuristic.
addLeader(ReplicantInfo) - Method in class darx.ReplicationGroupInfo
 
addMember(ReplicantInfo) - Method in class darx.ReplicationGroupInfo
 
addReplicant(ReplicationStrategy, ReplicantInfo, TaskShellHandle) - Method in class darx.ReplicationPolicy
Adds a replica to the policy.
addStrategy(ReplicationStrategy) - Method in class darx.ReplicationPolicy
Adds a strategy to the policy.
analyseCommandLine(String[]) - Static method in class darx.Darx
Analyses the command line in order to fill in specific runtime info: the URL and port number of the name server if the default value is not used, as well as the port number of the DARX server if the default value (6789) is not used.
analyseCommandLine(String[]) - Static method in class darx.NameServerImpl
Analyses the command line in order to fill in specific runtime info: the port number of the name server if the default value is not used, and whether the name server is in debug (verbose) mode or not.

B

BACKUP - Static variable in class darx.ReplicationStrategy
The constant used to define the role of the strategy owner as backup.

C

cloneTask() - Method in class darx.DarxTask
Constructs a new agent replica from an existing replica.
compareStrategies(ReplicationStrategy, ReplicationStrategy) - Method in class darx.ReplicationManager
Compares two replication strategies.
compareTo(ReplicationStrategy) - Method in class darx.ActiveReplicationStrategy
 
compareTo(ReplicationStrategy) - Method in class darx.PassiveReplicationStrategy
 
compareTo(Object) - Method in class darx.ReplicantInfo
Compares this replicant info to an object.
compareTo(ReplicationStrategy) - Method in class darx.ReplicationStrategy
Compares this replication strategy to another.
compareTo(Object) - Method in class darx.ReplicationStrategy
Compares this replication strategy to an object.
contains(ReplicantInfo) - Method in class darx.ReplicationGroupInfo
Checks whether the given replicant info belongs to the group.
contains(ReplicantInfo) - Method in class darx.ReplicationStrategy
 
containsReplicant(String, int) - Method in class darx.ReplicationPolicy
Checks whether there exists a replica at a given location.
createReplicant(ReplicantInfo, DarxTask) - Method in class darx.Darx
Creates a task replica on the current server.
createReplicant(ReplicantInfo, DarxTask) - Method in interface darx.DarxServer
Creates a task replica on the current server.

D

darx - package darx
 
Darx - Class in darx
This is the server implementation which, as main objective, provides the means for running DARX tasks on the local host.
Darx() - Constructor for class darx.Darx
Constructs a new DARX server instance.
DarxCommInterface - Class in darx
This is the communication interface, specific to an agent, used to send messages to other agents.
DarxCommInterface(String) - Constructor for class darx.DarxCommInterface
Constructs a new instance for this class.
DarxException - Exception in darx
This is the generic exception for DARX events.
DarxException() - Constructor for exception darx.DarxException
 
DarxHandle - Interface in darx
This is the remote interface used by application-level entities to access a distant TaskShell.
DarxMalformedURLException - Exception in darx
This exception is thrown when a MalformedURLException has occured in the DARX context.
DarxMalformedURLException(String) - Constructor for exception darx.DarxMalformedURLException
Constructs a MalformedURLException with the faulty URL.
DarxMessage - Class in darx
This is the encapsulator provided for communications between replication groups.
DarxMessage(Serializable, String, int) - Constructor for class darx.DarxMessage
Constructs a new instance of DarxMessage.
DarxServer - Interface in darx
This is the server interface which, as main objective, provides the means for running DARX tasks on a specific location.
DarxTask - Class in darx
This is the wrapper that represents an agent's replica at the DARX level.
DarxTask(String) - Constructor for class darx.DarxTask
Constructs a new agent replica from scratch.
DEFAULT_PORT_NB - Static variable in interface darx.NameServer
The port number of the location of the centralized name server.
DEFAULT_URL - Static variable in interface darx.NameServer
The URL of the location of the centralized name server.
deliverAsyncMessage(TaskShell, DarxMessage) - Method in class darx.ActiveReplicationStrategy
 
deliverAsyncMessage(DarxMessage) - Method in interface darx.DarxHandle
Sends an asynchronous message to the remote task.
deliverAsyncMessage(TaskShell, DarxMessage) - Method in class darx.PassiveReplicationStrategy
 
deliverAsyncMessage(TaskShell, DarxMessage) - Method in class darx.ReplicationPolicy
 
deliverAsyncMessage(TaskShell, DarxMessage) - Method in class darx.ReplicationStrategy
Spreads the delivery of an asynchronous message throughout the replication group.
deliverAsyncMessage(DarxMessage) - Method in class darx.TaskShell
 
deliverSyncMessage(TaskShell, DarxMessage) - Method in class darx.ActiveReplicationStrategy
 
deliverSyncMessage(DarxMessage) - Method in interface darx.DarxHandle
Sends a synchronous message to the remote task.
deliverSyncMessage(TaskShell, DarxMessage) - Method in class darx.PassiveReplicationStrategy
 
deliverSyncMessage(TaskShell, DarxMessage) - Method in class darx.ReplicationPolicy
 
deliverSyncMessage(TaskShell, DarxMessage) - Method in class darx.ReplicationStrategy
Spreads the delivery of a synchronous message throughout the replication group.
deliverSyncMessage(DarxMessage) - Method in class darx.TaskShell
 
demoteFromGroupLeader() - Method in class darx.TaskShell
Demotes this replicant from the status of leader to that of a simple replica within its group.
demoteFromGroupLeader() - Method in interface darx.TaskShellHandle
Sets this replicant as a backup within its group.
display() - Method in class darx.ReplicationPolicy
 
display() - Method in class darx.ReplicationStrategy
 
displayReplicants() - Method in class darx.ReplicationGroupInfo
Displays the DARX path of every replicant in the group.

E

EMPTY_STRATEGY - Static variable in class darx.ReplicationStrategy
The constant used to define the strategy type as empty.
equals(Object) - Method in class darx.ReplicantInfo
Compares the specified Object with this info for equality.
equals(Object) - Method in class darx.ReplicationStrategy
Compares the specified Object with this strategy for equality.

F

findAppliedStrategy(ReplicantInfo) - Method in class darx.ReplicationPolicy
Finds the strategy which is applied to a given replica.
findReplicantAt(String, int) - Method in class darx.ReplicationStrategy
Finds the info concerning a replicant at a given location
findTask(String) - Method in class darx.Darx
Generates a remote reference to the current leader of the task which corresponds to the given generic name.
findTask(String) - Method in interface darx.DarxServer
Generates a remote reference to the current leader of the task which corresponds to the given generic name.
findTask(String) - Method in class darx.DarxTask
Generates a remote reference to the current leader of the task which corresponds to the given generic name.

G

generateNewInfo(String, int) - Method in class darx.ReplicationPolicy
Generates an information object for a new group member.
getContents() - Method in class darx.DarxMessage
 
getCriticity() - Method in class darx.ReplicationManager
 
getException() - Method in class darx.SyncMessageDeliver
 
getInfo() - Method in class darx.TaskShell
 
getInfo() - Method in interface darx.TaskShellHandle
 
getLeaderInfo() - Method in class darx.ReplicationGroupInfo
 
getLeaderOfTask(String) - Method in interface darx.NameServer
Returns the information necessary for obtaining the handle of the current leader of the given replication group.
getLeaderOfTask(String) - Method in class darx.NameServerImpl
Returns the information necessary for obtaining the handle of the current leader of the given replication group.
getLocatedMemberInfo(String, int) - Method in class darx.ReplicationGroupInfo
Returns information about a replica at a specific location.
getLocation() - Method in exception darx.IllegalReplicationException
 
getLocation() - Method in exception darx.UnknownReplicantException
 
getMembers() - Method in class darx.ReplicationGroupInfo
 
getName() - Method in exception darx.InexistentNameException
 
getName() - Method in exception darx.NoMoreReplicantsException
 
getPortNb() - Method in class darx.ReplicantInfo
 
getRemoteShellHandle(ReplicantInfo) - Method in class darx.ReplicationStrategy
Retrieves the stub of a given replicant.
getReplicantHandle(ReplicantInfo) - Method in class darx.ReplicationStrategy
Gets the handle for a remote replicant within the group.
getReplicantID() - Method in class darx.ReplicantInfo
 
getReplicantInfo() - Method in exception darx.IllegalLeaderRemovalException
 
getReplicantInfo() - Method in class darx.ReplicationStrategy
 
getReplicantRole() - Method in class darx.ReplicationStrategy
 
getReplicants() - Method in class darx.ReplicationStrategy
 
getReplicationManager() - Method in class darx.TaskShell
 
getReplicationNumber() - Method in class darx.ReplicationStrategy
 
getReplicationPolicy() - Method in interface darx.DarxHandle
 
getReplicationPolicy() - Method in class darx.RemoteTask
Get the current replication policy of the remote task
getReplicationPolicy() - Method in class darx.TaskShell
 
getReplicationPolicy() - Method in interface darx.TaskShellHandle
 
getReplicationType() - Method in class darx.ReplicationStrategy
 
getReply() - Method in class darx.SyncMessageDeliver
 
getSenderName() - Method in class darx.DarxMessage
 
getSerial() - Method in class darx.DarxMessage
 
getSize() - Method in class darx.ReplicationGroupInfo
 
getTask() - Method in class darx.TaskShell
 
getTask() - Method in interface darx.TaskShellHandle
 
getTaskName() - Method in class darx.DarxTask
Returns the name of the generic task pursued by this replica.
getTaskName() - Method in exception darx.IllegalReplicationException
 
getTaskName() - Method in class darx.ReplicantInfo
 
getTaskName() - Method in class darx.ReplicationGroupInfo
 
getTaskName() - Method in exception darx.UnknownReplicantException
 
getTaskShellHandle() - Method in class darx.ReplicantInfo
Retrieves the remote reference to the given replica, ie. the TaskShellHandle corresponding to the replicant information.
getUpdateDelay() - Method in class darx.PassiveReplicationStrategy
Returns the update delay.
getURL() - Method in exception darx.DarxMalformedURLException
 
getURL() - Method in class darx.ReplicantInfo
 

H

handleUnreachableReplicant(ReplicantInfo, RemoteException) - Method in class darx.ReplicationStrategy
Handles situations where a replicant fails to be contacted.
hashCode() - Method in class darx.ReplicantInfo
Who knows when THIS might come in handy...
hashCode() - Method in class darx.ReplicationStrategy
Who knows when THIS might come in handy...

I

IllegalLeaderRemovalException - Exception in darx
This exception is thrown when an attempt to remove the given task would result in an inconsistent replication group.
IllegalLeaderRemovalException(ReplicantInfo) - Constructor for exception darx.IllegalLeaderRemovalException
Constructs a new instance of the class.
IllegalReplicationException - Exception in darx
This exception is thrown when a replication is being attempted at a location where there already exists a replica of the same group.
IllegalReplicationException(String, int) - Constructor for exception darx.IllegalReplicationException
Constructs a new instance of the class.
InexistentNameException - Exception in darx
This exception is thrown when a searched task name has no match inside the set of the application's tasks.
InexistentNameException(String) - Constructor for exception darx.InexistentNameException
Constructs a new instance of the class.
info - Variable in class darx.ReplicationStrategy
The information concerning the replication group leader
isAt(String, int) - Method in class darx.ReplicantInfo
Returns whether the given location is that of the current ReplicantInfo.

K

killReplicant(String) - Method in class darx.Darx
Destroys the local replicant corresponding to the specified task.
killReplicant(String) - Method in interface darx.DarxServer
Destroys the local replicant corresponding to the specified task.
killReplicantAt(String, int) - Method in interface darx.DarxHandle
Deletes the replicant residing at the given location, provided it belongs to the replication group.
killReplicantAt(String) - Method in class darx.RemoteTask
Starts the mechanism to destroy a specific replica of the remote task on a given server.
killReplicantAt(String, int) - Method in class darx.RemoteTask
Starts the mechanism to destroy a specific replica of the remote task on a given server.
killReplicantAt(String, int) - Method in class darx.TaskShell
Deletes the replicant residing at the given location, provided it belongs to the replication group.
killTask() - Method in interface darx.DarxHandle
Ends the generic task execution.
killTask() - Method in class darx.RemoteTask
Terminates the execution of this replication group.
killTask() - Method in class darx.TaskShell
Ends the generic task execution.

L

leader - Variable in class darx.DarxTask
the status of this replica in the group.
LEADER - Static variable in class darx.ReplicationStrategy
The constant used to define the role of the strategy owner as leader.
local_registry - Static variable in class darx.Darx
The RMIregistry serving this specific location (:).

M

main(String[]) - Static method in class darx.Darx
 
main(String[]) - Static method in class darx.NameServerImpl
 
MessageDeliverThread - Class in darx
This is the thread that handles the reception of asynchronous messages for the TaskShell.
MessageDeliverThread(DarxMessage, DarxTask) - Constructor for class darx.MessageDeliverThread
Constructs a new instance for this class.
msg - Variable in class darx.MessageDeliverThread
The received message, in DARX format.
myName - Static variable in class darx.Darx
The local server's name
myPortNb - Static variable in class darx.Darx
The local server's port number
myURL - Static variable in class darx.Darx
The local server's URL

N

NameServer - Interface in darx
This is the global naming service's interface.
NameServerImpl - Class in darx
This is the name server implementation which provides the means for locating replication group leaders.
NameServerImpl() - Constructor for class darx.NameServerImpl
Constructor...
NoMoreReplicantsException - Exception in darx
This exception is thrown when an operation has been attempted on an empty replication group.
NoMoreReplicantsException(String) - Constructor for exception darx.NoMoreReplicantsException
Constructs a new instance of the class.
ns_port_nb - Static variable in class darx.Darx
The port number of the name server.
ns_url - Static variable in class darx.Darx
The URL of the name server.
nserver - Static variable in class darx.Darx
The stub providing access to the name server functionalities.

O

ObservationManager - Class in darx
 
ObservationManager() - Constructor for class darx.ObservationManager
Constructs a new ObservationManager.

P

parse(String) - Method in class darx.ReplicantInfo
parses the given DARX path name String (format: :/$) in order to fill the fields of the current ReplicantInfo.
PASSIVE_STRATEGY - Static variable in class darx.ReplicationStrategy
The constant used to define the strategy type as passive.
PassiveReplicationStrategy - Class in darx
This is the replication group manager specialisation which implements the passive replication strategy.
PassiveReplicationStrategy(int) - Constructor for class darx.PassiveReplicationStrategy
Constructs a new instance of the passive replication strategy.
PORT_NB - Static variable in class darx.NameServerImpl
The port number of the location of the centralized name server.
processDeliverAsyncMessage(DarxMessage) - Method in class darx.TaskShell
 
processDeliverAsyncMessage(DarxMessage) - Method in interface darx.TaskShellHandle
Starts the processing of an asynchronous message.
processDeliverSyncMessage(DarxMessage) - Method in class darx.TaskShell
 
processDeliverSyncMessage(DarxMessage) - Method in interface darx.TaskShellHandle
Starts the processing of a synchronous message.
publishReplicationPolicy() - Method in class darx.ReplicationPolicy
Spreads the information concerning the addition of a new member throughout the replication group.

Q

QUORUM_STRATEGY - Static variable in class darx.ReplicationStrategy
The constant used to define the strategy type as quorum-based.

R

receiveAsyncMessage(Object) - Method in class darx.DarxTask
Starts the reception of an asynchronous message.
receiveSyncMessage(Object) - Method in class darx.DarxTask
Starts the reception of a synchronous message.
register(ReplicantInfo) - Method in interface darx.NameServer
Registers the info concerning a new replicant for a given task.
register(ReplicantInfo) - Method in class darx.NameServerImpl
Registers the info concerning a new replicant for a given task.
registerAgent(TaskShell, double) - Method in class darx.ObservationManager
Adds a new agent to the list of those observed locally.
registerReplicant(ReplicantInfo, TaskShellHandle) - Method in class darx.ReplicationStrategy
Adds a member to the replication group.
RemoteTask - Class in darx
This is the local proxy that allows user application tasks to handle other tasks.
RemoteTask(ReplicantInfo, DarxHandle) - Constructor for class darx.RemoteTask
Constructs a user-sufficient definition of a remote task.
RemoteTask(ReplicantInfo) - Constructor for class darx.RemoteTask
Constructs a user-sufficient definition of a remote task.
removeMember(ReplicantInfo) - Method in class darx.ReplicationGroupInfo
Removes a member from the replication group information.
removeReplicant(ReplicantInfo) - Method in class darx.ReplicationPolicy
Removes a replica from the policy.
removeStrategy(ReplicationStrategy) - Method in class darx.ReplicationPolicy
Removes a strategy from the policy.
rep_number - Variable in class darx.ReplicationStrategy
The unique number used in the darx-pathname of the latest created replicant.
ReplicantInfo - Class in darx
This object contains the information regarding a specific replicant handled by DARX.
ReplicantInfo() - Constructor for class darx.ReplicantInfo
constructs the information container of a task's leader, leaving the fields empty.
ReplicantInfo(String, int, String, int) - Constructor for class darx.ReplicantInfo
constructs the global identifier of a replica
replicants - Variable in class darx.ReplicationStrategy
The list of remote replicants participating to the current replication group, the owner of this instance not included.
replicateTo(String, int, ReplicationStrategy) - Method in interface darx.DarxHandle
Creates a new replicant inside the replication group at a given location.
replicateTo(String) - Method in class darx.RemoteTask
Starts the mechanism to create a new replica of the remote task at a specified URL.
replicateTo(String, int) - Method in class darx.RemoteTask
Starts the mechanism to create a new replica of the remote task on a specified server.
replicateTo(String, int, ReplicationStrategy) - Method in class darx.RemoteTask
Starts the mechanism to create a new replica of the remote task on a specified server following a given replication strategy.
replicateTo(String, int, ReplicationStrategy) - Method in class darx.TaskShell
Creates a new replicant inside the replication group at a given location.
ReplicationGroupInfo - Class in darx
This object contains the information concerning a specific replication group handled by DARX.
ReplicationGroupInfo() - Constructor for class darx.ReplicationGroupInfo
Constructs an empty information container.
ReplicationGroupInfo(String, int, Hashtable) - Constructor for class darx.ReplicationGroupInfo
Constructs an information container.
ReplicationManager - Class in darx
LA DEFINITION QUI SUIT EST CELLE A COURT TERME
Ce composant sert a traduire le changement de valeur de la criticite en modification de strategie.
ReplicationManager(TaskShell, ReplicationPolicy, double) - Constructor for class darx.ReplicationManager
Constructs a new ReplicationManager.
ReplicationPolicy - Class in darx
This is the component, used alongside each TaskShell, which defines a task's replication group.
ReplicationPolicy(ReplicantInfo) - Constructor for class darx.ReplicationPolicy
Constructs a new, empty replication policy
ReplicationStrategy - Class in darx
This is the component, used alongside each TaskShell, which defines a task's replication group.
ReplicationStrategy() - Constructor for class darx.ReplicationStrategy
Constructs an empty information container to be filled in with data about the task's replication group.
resume() - Method in class darx.ActiveReplicationStrategy
 
resume() - Method in class darx.DarxTask
resumes the replica's execution
resume() - Method in class darx.PassiveReplicationStrategy
 
resume() - Method in class darx.ReplicationPolicy
Spreads the resumption of the encapsulated task execution throughout the replication group.
resume() - Method in class darx.ReplicationStrategy
Spreads the resumption of the encapsulated task execution throughout the replication group.
resume() - Method in class darx.TaskShell
 
resume() - Method in interface darx.TaskShellHandle
Resumes the local execution of the encapsulated task.
role - Variable in class darx.ReplicationStrategy
The role of the strategy owner (leader, active or passive)
run() - Method in class darx.MessageDeliverThread
Executes the message handling.
run() - Method in class darx.PassiveReplicationStrategy
Executes the backup mechanism.
run() - Method in class darx.SyncMessageDeliver
 

S

selectAnotherLeader(ReplicantInfo) - Method in interface darx.NameServer
Selects a replicant as the new leader within its replication group info.
selectAnotherLeader(ReplicantInfo) - Method in class darx.NameServerImpl
Sets a replicant as the new leader within its replication group info.
selectNewLeader() - Method in class darx.ReplicationGroupInfo
Selects a new leader within the current replication group.
sendAsyncMessage(RemoteTask, Serializable) - Method in class darx.DarxCommInterface
Sends an asynchronous message to an agent.
sendAsyncMessage(DarxMessage) - Method in class darx.RemoteTask
Sends a message asynchronously to the remote task, that is to the leader of the corresponding replication group.
sendSyncMessage(RemoteTask, Serializable) - Method in class darx.DarxCommInterface
Sends a synchronous message to an agent.
sendSyncMessage(DarxMessage) - Method in class darx.RemoteTask
Sends a message synchronously to the remote task, that is to the leader of the corresponding replication group.
SERVICE_NAME - Static variable in class darx.Darx
The generic service name
SERVICE_NAME - Static variable in interface darx.NameServer
The RMI identifier of the centralized name server.
setAgentCriticity(String, double) - Method in class darx.ObservationManager
Updates the criticity fo a given agent.
setAsGroupLeader() - Method in class darx.TaskShell
Sets this replicant as the leader of its group.
setAsGroupLeader() - Method in interface darx.TaskShellHandle
Sets this replicant as the leader of its group.
setCriticity(double) - Method in class darx.ReplicationManager
Updates the criticity of the replication group.
setHandle(RemoteTask) - Method in class darx.DarxTask
Sets the handle attribute (RemoteTask) of this task.
setInfo(ReplicantInfo) - Method in class darx.TaskShell
Sets the information concerning the current TaskShell.
setInfo(ReplicantInfo) - Method in interface darx.TaskShellHandle
Sets the information concerning the current TaskShell.
setLeader(int) - Method in class darx.ReplicationGroupInfo
 
setLeader(ReplicantInfo) - Method in class darx.ReplicationGroupInfo
 
setLeaderAt(String, int) - Method in class darx.RemoteTask
Sets the replica at the given location as the new leader for its group.
setLeaderInfo(ReplicantInfo) - Method in class darx.RemoteTask
Sets the information concerning the leader of the remote task.
setLeaderInfo(ReplicantInfo) - Method in class darx.ReplicationStrategy
Sets the info about the replication group leader
setLeaderOfTask(ReplicantInfo) - Method in interface darx.NameServer
Selects a replicant as the new leader within its replication group info.
setLeaderOfTask(String, int, String) - Method in interface darx.NameServer
Selects a replicant as the new leader within its replication group info.
setLeaderOfTask(ReplicantInfo) - Method in class darx.NameServerImpl
Selects a replicant as the new leader within its replication group info.
setLeaderOfTask(String, int, String) - Method in class darx.NameServerImpl
Selects a replicant as the new leader within its replication group info.
setPolicy(ReplicationPolicy) - Method in class darx.TaskShell
Sets the information concerning the replication policy applied to the current TaskShell.
setPolicy(ReplicationPolicy) - Method in interface darx.TaskShellHandle
Sets the information concerning the replication policy applied to the current TaskShell.
setPortNb(int) - Method in class darx.ReplicantInfo
 
setPortNumber(String) - Static method in class darx.NameServerImpl
Modifier for the PORT_NUMBER of the name server.
setReplicantID(int) - Method in class darx.ReplicantInfo
 
setReplicantRole(int) - Method in class darx.ReplicationStrategy
Sets the role of the strategy owner (leader or backup).
setReplicants(Hashtable) - Method in class darx.ReplicationStrategy
Sets the list of tasks belonging to this replication group.
setReplicantType(int) - Method in class darx.ReplicationStrategy
Sets the type of the strategy (active or passive).
setReplicationNumber(int) - Method in class darx.ReplicationStrategy
Sets the serial number of the last created replicant.
setTask(DarxTask) - Method in class darx.TaskShell
Inserts a given task inside the current TaskShell.
setTask(DarxTask) - Method in interface darx.TaskShellHandle
Inserts a given task inside the current TaskShell.
setTaskName(String) - Method in class darx.ReplicantInfo
 
setTaskName(String) - Method in class darx.ReplicationGroupInfo
 
setUpdateDelay(int) - Method in class darx.PassiveReplicationStrategy
Sets the update delay.
setURL(String) - Static method in class darx.NameServerImpl
Modifier for the URL of the name server.
setURL(String) - Method in class darx.ReplicantInfo
 
start() - Method in class darx.DarxTask
starts the replica's execution
startTask(DarxTask) - Method in class darx.Darx
Starts the execution of a new replication group leader on the current server.
startTask(DarxTask) - Method in interface darx.DarxServer
Starts the execution of a new replication group leader on the current server.
stop() - Method in class darx.PassiveReplicationStrategy
 
stop() - Method in class darx.ReplicationStrategy
Stops the activity regarding consistency maintenance within the replication group (e.g. updater thread in the passive strategy.)
suspend() - Method in class darx.ActiveReplicationStrategy
 
suspend() - Method in class darx.DarxTask
suspends the replica's execution
suspend() - Method in class darx.PassiveReplicationStrategy
 
suspend() - Method in class darx.ReplicationPolicy
Spreads the suspension of the encapsulated task execution throughout the replication group.
suspend() - Method in class darx.ReplicationStrategy
Spreads the suspension of the encapsulated task execution throughout the replication group.
suspend() - Method in class darx.TaskShell
 
suspend() - Method in interface darx.TaskShellHandle
Suspends the local execution of the encapsulated task.
switchAppliedStrategy(ReplicationStrategy, ReplicantInfo) - Method in class darx.ReplicationPolicy
Sets the strategy to be applied to a replica at a given location.
switchReplicationStrategy(String, int, ReplicationStrategy) - Method in interface darx.DarxHandle
Modifies the current replication policy of the group, by applying a new strategy to a given replica.
switchReplicationStrategy(String, int, ReplicationStrategy) - Method in class darx.RemoteTask
Modifies the current replication policy of the group, by applying a new strategy to a given replica.
switchReplicationStrategy(String, int, ReplicationStrategy) - Method in class darx.TaskShell
Modifies the replication policy by applying a different strategy to a given replica.
SyncMessageDeliver - Class in darx
This is the thread launched every time a synchronous message delivery is attempted.
SyncMessageDeliver(TaskShellHandle, DarxMessage) - Constructor for class darx.SyncMessageDeliver
 

T

task - Variable in class darx.MessageDeliverThread
The task to which the message is destined.
task - Variable in class darx.TaskShell
The task/agent for which the current shell provides FT support.
TaskShell - Class in darx
This is the wrapper that transparently performs FT-specific operations for each task/agent.
TaskShell(DarxTask, ReplicantInfo) - Constructor for class darx.TaskShell
Constructs a shell that provides transparent FT for a given task/agent.
TaskShellHandle - Interface in darx
This is the remote interface used within replication groups to access a distant TaskShell.
terminate() - Method in class darx.DarxTask
Ends the execution of this specific replica.
terminate() - Method in class darx.PassiveReplicationStrategy
 
terminate() - Method in class darx.ReplicationPolicy
Terminates the activity of the entire replication group.
terminate() - Method in class darx.ReplicationStrategy
Spreads the termination of the task execution throughout the replication group.
terminate() - Method in class darx.TaskShell
 
terminate() - Method in interface darx.TaskShellHandle
Terminates the execution of the encapsulated task.
terminateTask() - Method in class darx.DarxTask
Ends the generic task execution.
terminateTask() - Method in class darx.TaskShell
Terminates the task execution.
terminateTask() - Method in interface darx.TaskShellHandle
Terminates the execution of the encapsulated task.
textifyDarxName() - Method in class darx.ReplicantInfo
creates the unique DARX replicant name corresponding to the current ReplicantInfo.
textifyDarxPath() - Method in class darx.ReplicantInfo
creates the unique DARX path corresponding to the current ReplicantInfo.
toString() - Method in exception darx.IllegalLeaderRemovalException
 
toString() - Method in exception darx.IllegalReplicationException
 
toString() - Method in exception darx.InexistentNameException
 
toString() - Method in exception darx.NoMoreReplicantsException
 
toString() - Method in exception darx.UnknownReplicantException
 
type - Variable in class darx.ReplicationStrategy
The strategy type, that is whether it is active or passive.

U

UnknownReplicantException - Exception in darx
This exception is thrown when no replicant of a given task can be found at a specified location.
UnknownReplicantException(ReplicantInfo) - Constructor for exception darx.UnknownReplicantException
Constructs a new instance of the class.
unregister(String, String, int) - Method in interface darx.NameServer
Removes the info concerning a replicant for a given task.
unregister(String, String, int) - Method in class darx.NameServerImpl
Removes the info concerning a replicant for a given task.
unregisterAgent(String) - Method in class darx.ObservationManager
Removes an agent from the list of those observed locally.
unregisterGroup(String) - Method in interface darx.NameServer
Removes the info concerning a whole replication group for a given task.
unregisterGroup(String) - Method in class darx.NameServerImpl
Removes the info concerning a whole replication group for a given task.
unregisterReplicant(ReplicantInfo) - Method in class darx.ReplicationStrategy
Removes a member from the replication group.
update() - Method in class darx.PassiveReplicationStrategy
Updates the replication group.
url - Variable in exception darx.DarxMalformedURLException
The faulty URL which caused this exception to be thrown.
URL - Static variable in class darx.NameServerImpl
The URL of the location of the centralized name server.

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