Index

A B C D E F G H I L M N O P Q R S T U V W Y 
All Classes and Interfaces|All Packages|Serialized Form

A

ABORT - Enum constant in enum class it.unitn.disi.ds1.qtop.Utils.Decision
The coordinator decided to abort the operation.
addCrashNode(int) - Method in class it.unitn.disi.ds1.qtop.Simulation
Add a crash to the network.

B

bestCandidateId() - Method in record class it.unitn.disi.ds1.qtop.Utils.Election
Returns the value of the bestCandidateId record component.
bestCandidateId() - Method in record class it.unitn.disi.ds1.qtop.Utils.Quadruplet
Returns the value of the bestCandidateId record component.

C

Client - Class in it.unitn.disi.ds1.qtop
The Client actor is responsible for sending requests to the Nodes in the network.
Client(int, List<ActorRef>, int) - Constructor for class it.unitn.disi.ds1.qtop.Client
Constructor for the Client actor.
CLIENT_REQUEST - Enum constant in enum class it.unitn.disi.ds1.qtop.Utils.TimeOutReason
Timeout to make a request via a Client.
clientHandleCountDown(Utils.TimeOutReason, int, Client) - Method in class it.unitn.disi.ds1.qtop.TimeOutManager
Client decrease the time left for a specific count-down.
clientMenu() - Method in class it.unitn.disi.ds1.qtop.Controller
Print the menu to tty.
clientMenu() - Method in interface it.unitn.disi.ds1.qtop.SimulationCallback
Display to the user the textual menu.
clientMenu() - Method in class it.unitn.disi.ds1.qtop.UserInterface
Display the client menu.
Controller - Class in it.unitn.disi.ds1.qtop
Controller for the simulation.
Controller(Simulation, UserInterface) - Constructor for class it.unitn.disi.ds1.qtop.Controller
Constructor for the Controller.
COORDINATOR_ON_DECISION_RESPONSE - Enum constant in enum class it.unitn.disi.ds1.qtop.Utils.CrashType
Probabilistic crash during a decision multicast.
COORDINATOR_ON_VOTE_REQUEST - Enum constant in enum class it.unitn.disi.ds1.qtop.Utils.CrashType
Probabilistic crash during a vote request multicast.
CountDown(Utils.TimeOutReason, Utils.EpochPair) - Constructor for record class it.unitn.disi.ds1.qtop.Utils.CountDown
Creates an instance of a CountDown record class.
CRASH_RESPONSE - Enum constant in enum class it.unitn.disi.ds1.qtop.Utils.TimeOutReason
Timeout for a CrashRequest message.
CrashACK() - Constructor for record class it.unitn.disi.ds1.qtop.Utils.CrashACK
Creates an instance of a CrashACK record class.
crashNode(int) - Method in class it.unitn.disi.ds1.qtop.Controller
Make crash a Node.
CrashRequest(Utils.CrashType) - Constructor for record class it.unitn.disi.ds1.qtop.Utils.CrashRequest
Creates an instance of a CrashRequest record class.
crashType() - Method in record class it.unitn.disi.ds1.qtop.Utils.CrashRequest
Returns the value of the crashType record component.
createReceive() - Method in class it.unitn.disi.ds1.qtop.Client
Mask for to the Client actor.
createReceive() - Method in class it.unitn.disi.ds1.qtop.Node
Mask for to the Receiver actor.

D

DEBUG - Enum constant in enum class it.unitn.disi.ds1.qtop.Utils.LogLevel
Log level for debug messages.
decision() - Method in record class it.unitn.disi.ds1.qtop.Utils.DecisionResponse
Returns the value of the decision record component.
DecisionResponse(Utils.Decision, Utils.EpochPair) - Constructor for record class it.unitn.disi.ds1.qtop.Utils.DecisionResponse
Creates an instance of a DecisionResponse record class.
destinationId() - Method in record class it.unitn.disi.ds1.qtop.Utils.Quadruplet
Returns the value of the destinationId record component.

E

e() - Method in record class it.unitn.disi.ds1.qtop.Utils.EpochPair
Returns the value of the e record component.
Election(int, int, int) - Constructor for record class it.unitn.disi.ds1.qtop.Utils.Election
Creates an instance of a Election record class.
ELECTION - Enum constant in enum class it.unitn.disi.ds1.qtop.Utils.TimeOutReason
Timeout for an election message.
ELECTION_GLOBAL - Enum constant in enum class it.unitn.disi.ds1.qtop.Utils.TimeOutReason
Timeout to elect a leader.
ElectionACK() - Constructor for record class it.unitn.disi.ds1.qtop.Utils.ElectionACK
Creates an instance of a ElectionACK record class.
endElectionState() - Method in class it.unitn.disi.ds1.qtop.TimeOutManager
Reset the data structure to start a new post election phase.
epoch() - Method in record class it.unitn.disi.ds1.qtop.Utils.CountDown
Returns the value of the epoch record component.
epoch() - Method in record class it.unitn.disi.ds1.qtop.Utils.DecisionResponse
Returns the value of the epoch record component.
epoch() - Method in record class it.unitn.disi.ds1.qtop.Utils.TimeOut
Returns the value of the epoch record component.
epoch() - Method in record class it.unitn.disi.ds1.qtop.Utils.VoteRequest
Returns the value of the epoch record component.
epoch() - Method in record class it.unitn.disi.ds1.qtop.Utils.VoteResponse
Returns the value of the epoch record component.
EpochPair(int, int) - Constructor for record class it.unitn.disi.ds1.qtop.Utils.EpochPair
Creates an instance of a EpochPair record class.
EpochPair(Utils.EpochPair) - Constructor for record class it.unitn.disi.ds1.qtop.Utils.EpochPair
Copy constructor
equals(Object) - Method in record class it.unitn.disi.ds1.qtop.Utils.CountDown
Indicates whether some other object is "equal to" this one.
equals(Object) - Method in record class it.unitn.disi.ds1.qtop.Utils.CrashACK
Indicates whether some other object is "equal to" this one.
equals(Object) - Method in record class it.unitn.disi.ds1.qtop.Utils.CrashRequest
Indicates whether some other object is "equal to" this one.
equals(Object) - Method in record class it.unitn.disi.ds1.qtop.Utils.DecisionResponse
Indicates whether some other object is "equal to" this one.
equals(Object) - Method in record class it.unitn.disi.ds1.qtop.Utils.Election
Indicates whether some other object is "equal to" this one.
equals(Object) - Method in record class it.unitn.disi.ds1.qtop.Utils.ElectionACK
Indicates whether some other object is "equal to" this one.
equals(Object) - Method in record class it.unitn.disi.ds1.qtop.Utils.EpochPair
Indicates whether some other object is "equal to" this one.
equals(Object) - Method in record class it.unitn.disi.ds1.qtop.Utils.HeartBeat
Indicates whether some other object is "equal to" this one.
equals(Object) - Method in record class it.unitn.disi.ds1.qtop.Utils.MakeRequest
Indicates whether some other object is "equal to" this one.
equals(Object) - Method in record class it.unitn.disi.ds1.qtop.Utils.Quadruplet
Indicates whether some other object is "equal to" this one.
equals(Object) - Method in record class it.unitn.disi.ds1.qtop.Utils.ReadRequest
Indicates whether some other object is "equal to" this one.
equals(Object) - Method in record class it.unitn.disi.ds1.qtop.Utils.ReadValue
Indicates whether some other object is "equal to" this one.
equals(Object) - Method in record class it.unitn.disi.ds1.qtop.Utils.StartMessage
Indicates whether some other object is "equal to" this one.
equals(Object) - Method in record class it.unitn.disi.ds1.qtop.Utils.Synchronisation
Indicates whether some other object is "equal to" this one.
equals(Object) - Method in record class it.unitn.disi.ds1.qtop.Utils.TimeOut
Indicates whether some other object is "equal to" this one.
equals(Object) - Method in record class it.unitn.disi.ds1.qtop.Utils.VotePair
Indicates whether some other object is "equal to" this one.
equals(Object) - Method in record class it.unitn.disi.ds1.qtop.Utils.VoteRequest
Indicates whether some other object is "equal to" this one.
equals(Object) - Method in record class it.unitn.disi.ds1.qtop.Utils.VoteResponse
Indicates whether some other object is "equal to" this one.
equals(Object) - Method in record class it.unitn.disi.ds1.qtop.Utils.WriteRequest
Indicates whether some other object is "equal to" this one.
equals(Object) - Method in record class it.unitn.disi.ds1.qtop.Utils.WriteValue
Indicates whether some other object is "equal to" this one.
ERROR - Enum constant in enum class it.unitn.disi.ds1.qtop.Utils.LogLevel
Log level for error messages.
exit() - Method in class it.unitn.disi.ds1.qtop.Simulation
Shut down the network.
exitSimulation() - Method in class it.unitn.disi.ds1.qtop.Controller
Quit.

F

finalDecision() - Method in record class it.unitn.disi.ds1.qtop.Utils.VotePair
Returns the value of the finalDecision record component.

G

getInstance() - Static method in class it.unitn.disi.ds1.qtop.Logger
Singleton pattern to get the single instance of Logger.
getLatest() - Method in class it.unitn.disi.ds1.qtop.PairsHistory
Get the latest epoch and iteration.
getLatestCommitted() - Method in class it.unitn.disi.ds1.qtop.PairsHistory
Get the epoch and iteration of the last commited transaction, by commited transaction we consider a transaction that has non-pending state.
group() - Method in record class it.unitn.disi.ds1.qtop.Utils.StartMessage
Returns the value of the group record component.

H

handleCountDown(Utils.TimeOutReason, int, ActorRef) - Method in class it.unitn.disi.ds1.qtop.TimeOutManager
Decrease the time left for a specific count-down.
hashCode() - Method in record class it.unitn.disi.ds1.qtop.Utils.CountDown
Returns a hash code value for this object.
hashCode() - Method in record class it.unitn.disi.ds1.qtop.Utils.CrashACK
Returns a hash code value for this object.
hashCode() - Method in record class it.unitn.disi.ds1.qtop.Utils.CrashRequest
Returns a hash code value for this object.
hashCode() - Method in record class it.unitn.disi.ds1.qtop.Utils.DecisionResponse
Returns a hash code value for this object.
hashCode() - Method in record class it.unitn.disi.ds1.qtop.Utils.Election
Returns a hash code value for this object.
hashCode() - Method in record class it.unitn.disi.ds1.qtop.Utils.ElectionACK
Returns a hash code value for this object.
hashCode() - Method in record class it.unitn.disi.ds1.qtop.Utils.EpochPair
Returns a hash code value for this object.
hashCode() - Method in record class it.unitn.disi.ds1.qtop.Utils.HeartBeat
Returns a hash code value for this object.
hashCode() - Method in record class it.unitn.disi.ds1.qtop.Utils.MakeRequest
Returns a hash code value for this object.
hashCode() - Method in record class it.unitn.disi.ds1.qtop.Utils.Quadruplet
Returns a hash code value for this object.
hashCode() - Method in record class it.unitn.disi.ds1.qtop.Utils.ReadRequest
Returns a hash code value for this object.
hashCode() - Method in record class it.unitn.disi.ds1.qtop.Utils.ReadValue
Returns a hash code value for this object.
hashCode() - Method in record class it.unitn.disi.ds1.qtop.Utils.StartMessage
Returns a hash code value for this object.
hashCode() - Method in record class it.unitn.disi.ds1.qtop.Utils.Synchronisation
Returns a hash code value for this object.
hashCode() - Method in record class it.unitn.disi.ds1.qtop.Utils.TimeOut
Returns a hash code value for this object.
hashCode() - Method in record class it.unitn.disi.ds1.qtop.Utils.VotePair
Returns a hash code value for this object.
hashCode() - Method in record class it.unitn.disi.ds1.qtop.Utils.VoteRequest
Returns a hash code value for this object.
hashCode() - Method in record class it.unitn.disi.ds1.qtop.Utils.VoteResponse
Returns a hash code value for this object.
hashCode() - Method in record class it.unitn.disi.ds1.qtop.Utils.WriteRequest
Returns a hash code value for this object.
hashCode() - Method in record class it.unitn.disi.ds1.qtop.Utils.WriteValue
Returns a hash code value for this object.
HeartBeat() - Constructor for record class it.unitn.disi.ds1.qtop.Utils.HeartBeat
Creates an instance of a HeartBeat record class.
HEARTBEAT - Enum constant in enum class it.unitn.disi.ds1.qtop.Utils.TimeOutReason
Timeout for the heartbeat.
highestEpoch() - Method in record class it.unitn.disi.ds1.qtop.Utils.Election
Returns the value of the highestEpoch record component.
highestEpoch() - Method in record class it.unitn.disi.ds1.qtop.Utils.Quadruplet
Returns the value of the highestEpoch record component.
highestIteration() - Method in record class it.unitn.disi.ds1.qtop.Utils.Election
Returns the value of the highestIteration record component.
highestIteration() - Method in record class it.unitn.disi.ds1.qtop.Utils.Quadruplet
Returns the value of the highestIteration record component.
history() - Method in record class it.unitn.disi.ds1.qtop.Utils.Synchronisation
Returns the value of the history record component.

I

i() - Method in record class it.unitn.disi.ds1.qtop.Utils.EpochPair
Returns the value of the i record component.
INFO - Enum constant in enum class it.unitn.disi.ds1.qtop.Utils.LogLevel
Log level for info messages.
insert(int, int, int) - Method in class it.unitn.disi.ds1.qtop.PairsHistory
Insert a new element in the history.
insert(int, int, ActorRef, Utils.Vote) - Method in class it.unitn.disi.ds1.qtop.VotersMap
Insert a vote in the map.
isBetterThanLocalData(int, Utils.EpochPair) - Method in record class it.unitn.disi.ds1.qtop.Utils.Election
Check if the data received is better than the local data.
it.unitn.disi.ds1.qtop - package it.unitn.disi.ds1.qtop
 

L

log(Utils.LogLevel, String) - Method in class it.unitn.disi.ds1.qtop.Logger
Log the message at the specified log level.
Logger - Class in it.unitn.disi.ds1.qtop
Logger class to log messages to the console and to files.

M

main(String[]) - Static method in class it.unitn.disi.ds1.qtop.QTop
Main method to start the simulation.
MakeRequest() - Constructor for record class it.unitn.disi.ds1.qtop.Utils.MakeRequest
Creates an instance of a MakeRequest record class.
matchNodeID(ActorRef) - Static method in class it.unitn.disi.ds1.qtop.Utils
Method to match the ID of a node and build a fancy string out of it.

N

newValue() - Method in record class it.unitn.disi.ds1.qtop.Utils.VoteRequest
Returns the value of the newValue record component.
newValue() - Method in record class it.unitn.disi.ds1.qtop.Utils.WriteRequest
Returns the value of the newValue record component.
NO - Enum constant in enum class it.unitn.disi.ds1.qtop.Utils.Vote
A Node voted no for a write request.
NO_CRASH - Enum constant in enum class it.unitn.disi.ds1.qtop.Utils.CrashType
No crash.
Node - Class in it.unitn.disi.ds1.qtop
Node class, it represents a single node in the network.
Node(ActorRef, int, int, int, int, int) - Constructor for class it.unitn.disi.ds1.qtop.Node
Constructor for the Node class.
NODE_AFTER_ELECTION_MESSAGE - Enum constant in enum class it.unitn.disi.ds1.qtop.Utils.CrashType
Receiver crash after a node sends an Election message.
NODE_AFTER_VOTE_CAST - Enum constant in enum class it.unitn.disi.ds1.qtop.Utils.CrashType
Receiver crash after casting a vote.
NODE_AFTER_VOTE_REQUEST - Enum constant in enum class it.unitn.disi.ds1.qtop.Utils.CrashType
Receiver crash after receiving a vote request.
NODE_AFTER_WRITE_REQUEST - Enum constant in enum class it.unitn.disi.ds1.qtop.Utils.CrashType
Receiver crash after propagating a write request.
NODE_BEFORE_ELECTION_ACK - Enum constant in enum class it.unitn.disi.ds1.qtop.Utils.CrashType
Receiver crash when a node receives an election message.
NODE_BEFORE_WRITE_REQUEST - Enum constant in enum class it.unitn.disi.ds1.qtop.Utils.CrashType
Receiver crash before propagating a write request.
nRequest() - Method in record class it.unitn.disi.ds1.qtop.Utils.ReadRequest
Returns the value of the nRequest record component.
nRequest() - Method in record class it.unitn.disi.ds1.qtop.Utils.ReadValue
Returns the value of the nRequest record component.
nRequest() - Method in record class it.unitn.disi.ds1.qtop.Utils.WriteRequest
Returns the value of the nRequest record component.
nRequest() - Method in record class it.unitn.disi.ds1.qtop.Utils.WriteValue
Returns the value of the nRequest record component.

O

onStartMessage(Utils.StartMessage) - Method in class it.unitn.disi.ds1.qtop.Client
Initial set up for the Client.

P

PairsHistory - Class in it.unitn.disi.ds1.qtop
PairsHistory class to store the history of the pairs and the final decision associated to it
PairsHistory() - Constructor for class it.unitn.disi.ds1.qtop.PairsHistory
Default constructor.
PairsHistory(PairsHistory) - Constructor for class it.unitn.disi.ds1.qtop.PairsHistory
Copy constructor.
PENDING - Enum constant in enum class it.unitn.disi.ds1.qtop.Utils.Decision
The coordinator is still waiting for the votes.
props(int, List<ActorRef>, int) - Static method in class it.unitn.disi.ds1.qtop.Client
Wrapper for the Client actor.
props(ActorRef, int, int, int, int, int) - Static method in class it.unitn.disi.ds1.qtop.Node
Create the Props for the Node class.

Q

QTop - Class in it.unitn.disi.ds1.qtop
Main class to start the simulation.
QTop() - Constructor for class it.unitn.disi.ds1.qtop.QTop
 
Quadruplet(int, int, int, int) - Constructor for record class it.unitn.disi.ds1.qtop.Utils.Quadruplet
Creates an instance of a Quadruplet record class.

R

ReadRequest(int) - Constructor for record class it.unitn.disi.ds1.qtop.Utils.ReadRequest
Creates an instance of a ReadRequest record class.
readValidVariable() - Method in class it.unitn.disi.ds1.qtop.PairsHistory
Read the last valid, i.e., committed, variable.
ReadValue(int, int) - Constructor for record class it.unitn.disi.ds1.qtop.Utils.ReadValue
Creates an instance of a ReadValue record class.
reason() - Method in record class it.unitn.disi.ds1.qtop.Utils.CountDown
Returns the value of the reason record component.
reason() - Method in record class it.unitn.disi.ds1.qtop.Utils.TimeOut
Returns the value of the reason record component.
resetCountDown(Utils.TimeOutReason, int) - Method in class it.unitn.disi.ds1.qtop.TimeOutManager
Reset a specific count down.

S

setController(Controller) - Method in class it.unitn.disi.ds1.qtop.UserInterface
Set the Controller.
setDecision(Utils.Decision, int, int) - Method in class it.unitn.disi.ds1.qtop.VotersMap
Set the decision for a specific epoch and index.
setLogLevel(Utils.LogLevel) - Method in class it.unitn.disi.ds1.qtop.Logger
Set the log level.
setState(int, int, Utils.Decision) - Method in class it.unitn.disi.ds1.qtop.PairsHistory
Get the state of the given epoch and iteration.
Simulation - Class in it.unitn.disi.ds1.qtop
Simulation class layer between the UserInterface and the network.
Simulation() - Constructor for class it.unitn.disi.ds1.qtop.Simulation
Create a new simulation.
SimulationCallback - Interface in it.unitn.disi.ds1.qtop
SimulationCallback interface to handle the simulation callbacks
start() - Method in interface it.unitn.disi.ds1.qtop.SimulationCallback
Start the simulation.
start() - Method in class it.unitn.disi.ds1.qtop.UserInterface
Start the user interface.
start(int, int, int, int) - Method in class it.unitn.disi.ds1.qtop.Simulation
Start the network with the given parameters.
startCountDown(Utils.TimeOutReason, Cancellable, int) - Method in class it.unitn.disi.ds1.qtop.TimeOutManager
Start a count-down for a specific reason.
startElectionState() - Method in class it.unitn.disi.ds1.qtop.TimeOutManager
Reset all the count-downs to enter the election state.
StartMessage(List<ActorRef>) - Constructor for record class it.unitn.disi.ds1.qtop.Utils.StartMessage
Copy constructor
startSimulation(int, int, int, int) - Method in class it.unitn.disi.ds1.qtop.Controller
Start the simulation (network), with the given parameters.
Synchronisation(PairsHistory) - Constructor for record class it.unitn.disi.ds1.qtop.Utils.Synchronisation
Creates an instance of a Synchronisation record class.

T

tell(ActorRef, Object, ActorRef) - Method in class it.unitn.disi.ds1.qtop.Client
Send a message to a destination actor with a random delay, within 0 and 29 milliseconds.
tell(ActorRef, Object, ActorRef) - Method in class it.unitn.disi.ds1.qtop.Node
Send a message to a destination actor with a random delay, within 0 and 29 milliseconds.
TimeOut(Utils.TimeOutReason, Utils.EpochPair) - Constructor for record class it.unitn.disi.ds1.qtop.Utils.TimeOut
Creates an instance of a TimeOut record class.
TimeOutManager - Class in it.unitn.disi.ds1.qtop
TimeOutManager class to manage the timeouts of a Node
TimeOutManager(int, int, int, int, int, int, int) - Constructor for class it.unitn.disi.ds1.qtop.TimeOutManager
TimeOutManager constructor.
toString() - Method in class it.unitn.disi.ds1.qtop.PairsHistory
 
toString() - Method in class it.unitn.disi.ds1.qtop.TimeOutManager
 
toString() - Method in record class it.unitn.disi.ds1.qtop.Utils.CountDown
Returns a string representation of this record class.
toString() - Method in record class it.unitn.disi.ds1.qtop.Utils.CrashACK
Returns a string representation of this record class.
toString() - Method in record class it.unitn.disi.ds1.qtop.Utils.CrashRequest
Returns a string representation of this record class.
toString() - Method in record class it.unitn.disi.ds1.qtop.Utils.DecisionResponse
Returns a string representation of this record class.
toString() - Method in record class it.unitn.disi.ds1.qtop.Utils.Election
Returns a string representation of this record class.
toString() - Method in record class it.unitn.disi.ds1.qtop.Utils.ElectionACK
Returns a string representation of this record class.
toString() - Method in record class it.unitn.disi.ds1.qtop.Utils.EpochPair
Returns a string representation of this record class.
toString() - Method in record class it.unitn.disi.ds1.qtop.Utils.HeartBeat
Returns a string representation of this record class.
toString() - Method in record class it.unitn.disi.ds1.qtop.Utils.MakeRequest
Returns a string representation of this record class.
toString() - Method in record class it.unitn.disi.ds1.qtop.Utils.Quadruplet
Returns a string representation of this record class.
toString() - Method in record class it.unitn.disi.ds1.qtop.Utils.ReadRequest
Returns a string representation of this record class.
toString() - Method in record class it.unitn.disi.ds1.qtop.Utils.ReadValue
Returns a string representation of this record class.
toString() - Method in record class it.unitn.disi.ds1.qtop.Utils.StartMessage
Returns a string representation of this record class.
toString() - Method in record class it.unitn.disi.ds1.qtop.Utils.Synchronisation
Returns a string representation of this record class.
toString() - Method in record class it.unitn.disi.ds1.qtop.Utils.TimeOut
Returns a string representation of this record class.
toString() - Method in record class it.unitn.disi.ds1.qtop.Utils.VotePair
Returns a string representation of this record class.
toString() - Method in record class it.unitn.disi.ds1.qtop.Utils.VoteRequest
Returns a string representation of this record class.
toString() - Method in record class it.unitn.disi.ds1.qtop.Utils.VoteResponse
Returns a string representation of this record class.
toString() - Method in record class it.unitn.disi.ds1.qtop.Utils.WriteRequest
Returns a string representation of this record class.
toString() - Method in record class it.unitn.disi.ds1.qtop.Utils.WriteValue
Returns a string representation of this record class.
TRACE - Enum constant in enum class it.unitn.disi.ds1.qtop.Utils.LogLevel
Log level for trace messages.

U

UserInterface - Class in it.unitn.disi.ds1.qtop
UserInterface class to manage/generate the user interface.
UserInterface(Controller) - Constructor for class it.unitn.disi.ds1.qtop.UserInterface
UserInterface constructor.
Utils - Class in it.unitn.disi.ds1.qtop
Class that contains all the utility classes and messages used by the actors.
Utils() - Constructor for class it.unitn.disi.ds1.qtop.Utils
 
Utils.CountDown - Record Class in it.unitn.disi.ds1.qtop
Message self-lopped by a node to trigger a timeout.
Utils.CrashACK - Record Class in it.unitn.disi.ds1.qtop
Message to acknowledge a CrashRequest.
Utils.CrashRequest - Record Class in it.unitn.disi.ds1.qtop
Message to ask for a crash.
Utils.CrashType - Enum Class in it.unitn.disi.ds1.qtop
Enum to represent all the possible crashes that can be triggered.
Utils.Decision - Enum Class in it.unitn.disi.ds1.qtop
Enum to represent all the possible decisions that can be taken by the coordinator.
Utils.DecisionResponse - Record Class in it.unitn.disi.ds1.qtop
Message to propagate the coordinator final decision regarding a certain epoch.
Utils.Election - Record Class in it.unitn.disi.ds1.qtop
Message to send election data
Utils.ElectionACK - Record Class in it.unitn.disi.ds1.qtop
Message to acknowledge an Election
Utils.EpochPair - Record Class in it.unitn.disi.ds1.qtop
Struct to represent and send an epoch and an iteration.
Utils.HeartBeat - Record Class in it.unitn.disi.ds1.qtop
Special message to multicast a heartbeat from a coordinator to all the nodes.
Utils.LogLevel - Enum Class in it.unitn.disi.ds1.qtop
Enum to represent all the log levels, selected a level all the highest levels would be printed.
Utils.MakeRequest - Record Class in it.unitn.disi.ds1.qtop
Message used by a Client to generate a random request to a random Node.
Utils.Quadruplet - Record Class in it.unitn.disi.ds1.qtop
Struct cache the best candidate data during the election.
Utils.ReadRequest - Record Class in it.unitn.disi.ds1.qtop
Message used by a Client to ask for a read operation.
Utils.ReadValue - Record Class in it.unitn.disi.ds1.qtop
Message used by a Node to notify the Client that it received the ReadRequest, and reply to it.
Utils.StartMessage - Record Class in it.unitn.disi.ds1.qtop
Start message that sends the list of participants to everyone.
Utils.Synchronisation - Record Class in it.unitn.disi.ds1.qtop
Message to synchronise all the node after an election.
Utils.TimeOut - Record Class in it.unitn.disi.ds1.qtop
Message to notify a timeout.
Utils.TimeOutReason - Enum Class in it.unitn.disi.ds1.qtop
Enum to represent all the possible reasons for a timeout.
Utils.Vote - Enum Class in it.unitn.disi.ds1.qtop
Enum to represent all the possible votes that can be taken by a Node.
Utils.VotePair - Record Class in it.unitn.disi.ds1.qtop
Struct to represent the map of voters for every write, and the final decision taken for that write.
Utils.VoteRequest - Record Class in it.unitn.disi.ds1.qtop
Message that asks for a vote.
Utils.VoteResponse - Record Class in it.unitn.disi.ds1.qtop
Message to send the vote of a node to the coordinator.
Utils.WriteRequest - Record Class in it.unitn.disi.ds1.qtop
Message used by a Client to ask for a read operation.
Utils.WriteValue - Record Class in it.unitn.disi.ds1.qtop
Message used by a Node to notify the Client that it received the WriteRequest, and reply to it.

V

value() - Method in record class it.unitn.disi.ds1.qtop.Utils.ReadValue
Returns the value of the value record component.
value() - Method in record class it.unitn.disi.ds1.qtop.Utils.WriteValue
Returns the value of the value record component.
valueOf(String) - Static method in enum class it.unitn.disi.ds1.qtop.Utils.CrashType
Returns the enum constant of this class with the specified name.
valueOf(String) - Static method in enum class it.unitn.disi.ds1.qtop.Utils.Decision
Returns the enum constant of this class with the specified name.
valueOf(String) - Static method in enum class it.unitn.disi.ds1.qtop.Utils.LogLevel
Returns the enum constant of this class with the specified name.
valueOf(String) - Static method in enum class it.unitn.disi.ds1.qtop.Utils.TimeOutReason
Returns the enum constant of this class with the specified name.
valueOf(String) - Static method in enum class it.unitn.disi.ds1.qtop.Utils.Vote
Returns the enum constant of this class with the specified name.
values() - Static method in enum class it.unitn.disi.ds1.qtop.Utils.CrashType
Returns an array containing the constants of this enum class, in the order they are declared.
values() - Static method in enum class it.unitn.disi.ds1.qtop.Utils.Decision
Returns an array containing the constants of this enum class, in the order they are declared.
values() - Static method in enum class it.unitn.disi.ds1.qtop.Utils.LogLevel
Returns an array containing the constants of this enum class, in the order they are declared.
values() - Static method in enum class it.unitn.disi.ds1.qtop.Utils.TimeOutReason
Returns an array containing the constants of this enum class, in the order they are declared.
values() - Static method in enum class it.unitn.disi.ds1.qtop.Utils.Vote
Returns an array containing the constants of this enum class, in the order they are declared.
vote() - Method in record class it.unitn.disi.ds1.qtop.Utils.VoteResponse
Returns the value of the vote record component.
VOTE - Enum constant in enum class it.unitn.disi.ds1.qtop.Utils.TimeOutReason
Timeout for a vote request.
VotePair(HashMap<ActorRef, Utils.Vote>, Utils.Decision) - Constructor for record class it.unitn.disi.ds1.qtop.Utils.VotePair
Creates an instance of a VotePair record class.
VoteRequest(int, Utils.EpochPair) - Constructor for record class it.unitn.disi.ds1.qtop.Utils.VoteRequest
Creates an instance of a VoteRequest record class.
VoteResponse(Utils.Vote, Utils.EpochPair) - Constructor for record class it.unitn.disi.ds1.qtop.Utils.VoteResponse
Creates an instance of a VoteResponse record class.
VotersMap - Class in it.unitn.disi.ds1.qtop
Class that represents/handle the voters map.
VotersMap() - Constructor for class it.unitn.disi.ds1.qtop.VotersMap
VotersMap constructor.
votes() - Method in record class it.unitn.disi.ds1.qtop.Utils.VotePair
Returns the value of the votes record component.

W

WARN - Enum constant in enum class it.unitn.disi.ds1.qtop.Utils.LogLevel
Log level for warning messages.
WRITE - Enum constant in enum class it.unitn.disi.ds1.qtop.Utils.TimeOutReason
Timeout for a write request.
WRITEOK - Enum constant in enum class it.unitn.disi.ds1.qtop.Utils.Decision
The coordinator decided to execute the operation.
WriteRequest(int, int) - Constructor for record class it.unitn.disi.ds1.qtop.Utils.WriteRequest
Creates an instance of a WriteRequest record class.
WriteValue(int, int) - Constructor for record class it.unitn.disi.ds1.qtop.Utils.WriteValue
Creates an instance of a WriteValue record class.

Y

YES - Enum constant in enum class it.unitn.disi.ds1.qtop.Utils.Vote
A Node voted yes for a write request.
A B C D E F G H I L M N O P Q R S T U V W Y 
All Classes and Interfaces|All Packages|Serialized Form