Skip navigation links
A B C D E F G H I K M R S T V W 

A

addChunkServer(HostID) - Method in class goofs.ControllerCEntry
Add a new chunkserver that is now replicating this chunk.
asHex() - Method in class goofs.Hash
 

B

bigIntegerToHex(BigInteger) - Static method in class goofs.Hash
 

C

checkSize - Static variable in class goofs.Chunk
size of checksum slice
Chunk - Class in goofs
Chunk, or piece, of a file in goofs filesystem.
Chunk(File, int, byte[]) - Constructor for class goofs.Chunk
Create a chunk containing a piece of a file
Chunk(ChunkDescriptor, byte[]) - Constructor for class goofs.Chunk
 
Chunk(File, int, int, long, Hash[], byte[]) - Constructor for class goofs.Chunk
 
ChunkDescriptor - Class in goofs
 
ChunkDescriptor(File, int) - Constructor for class goofs.ChunkDescriptor
 
ChunkServer - Class in goofs
Storage node in a goofs filesystem.
ChunkServer(HostID, HostID) - Constructor for class goofs.ChunkServer
Create new goofs storage node.
Client - Class in goofs
Submits, retrieves and modifies files stored in a goofs filesystem.
Client(HostID) - Constructor for class goofs.Client
Create a new goofs client
compareTo(ControllerSEntry) - Method in class goofs.ControllerSEntry
Compare this entry to another by number of chunks stored.
Controller - Class in goofs
Controller for the goofs filesystem.
Controller(int) - Constructor for class goofs.Controller
Create a new goofs controller.
ControllerCEntry - Class in goofs
Entry in controller map describing the servers that replicate a given chunk.
ControllerCEntry(ChunkDescriptor, HostID) - Constructor for class goofs.ControllerCEntry
Create a new chunk entry for a given chunk descriptor.
ControllerSEntry - Class in goofs
 
ControllerSEntry(HostID, ChunkDescriptor[]) - Constructor for class goofs.ControllerSEntry
Create new entry for list of chunk servers.

D

delChunkServer(HostID) - Method in class goofs.ControllerCEntry
Remove a chunkserver from the list of chunkservers currently replicating this chunk.
delete(ChunkDescriptor) - Static method in class goofs.Chunk
 
dst - Variable in class goofs.Message
 

E

equals(ChunkDescriptor) - Method in class goofs.ChunkDescriptor
 
equals(ControllerSEntry) - Method in class goofs.ControllerSEntry
 
equals(HostID) - Method in class goofs.ControllerSEntry
 
equals(Hash) - Method in class goofs.Hash
 
equals(HostID) - Method in class goofs.HostID
Check for equality with another node identifier.
expectsReply() - Method in class goofs.FixCorruptionMessage
 
expectsReply() - Method in class goofs.GetFreeMessage
 
expectsReply() - Method in class goofs.GetHoldersMessage
 
expectsReply() - Method in class goofs.Message
Determine whether or not this message should attempt to get a reply.
expectsReply() - Method in class goofs.RetrieveDataMessage
 
expirationSecs - Static variable in class goofs.ControllerSEntry
 

F

FixCorruptionMessage - Class in goofs
 
FixCorruptionMessage(HostID, HostID[], ChunkDescriptor) - Constructor for class goofs.FixCorruptionMessage
 
FixReplicationMessage - Class in goofs
 
FixReplicationMessage(HostID, HostID, HostID, ChunkDescriptor) - Constructor for class goofs.FixReplicationMessage
 

G

getAllChunks() - Method in class goofs.MajorHeartbeatMessage
 
getChunk() - Method in class goofs.FixCorruptionMessage
 
getChunkDescriptor() - Method in class goofs.FixCorruptionMessage
 
getChunkDescriptor() - Method in class goofs.FixReplicationMessage
 
getChunkDescriptor() - Method in class goofs.GetHoldersMessage
Get the chunk descriptor sent in this message.
getChunkDescriptor() - Method in class goofs.RetrieveDataMessage
 
getChunkDescriptor() - Method in class goofs.SubmitDataMessage
 
getChunks() - Method in class goofs.ControllerSEntry
 
getChunkServers() - Method in class goofs.ControllerCEntry
Get chunkservers currently replicating this chunk.
getChunkServers() - Method in class goofs.GetFreeMessage
Get the chunkservers sent.
getChunkServers() - Method in class goofs.GetHoldersMessage
Get the chunk servers sent in this message.
getCorruptChunks() - Method in class goofs.MajorHeartbeatMessage
 
getCorruptChunks() - Method in class goofs.MinorHeartbeatMessage
 
getData() - Method in class goofs.Chunk
Get data stored by this chunk
getData() - Method in class goofs.RetrieveDataMessage
 
getData() - Method in class goofs.SubmitDataMessage
 
getDescriptor() - Method in class goofs.ControllerCEntry
 
getDest() - Method in class goofs.Message
Get message destination id.
getFile() - Method in class goofs.Chunk
 
getFile() - Method in class goofs.ChunkDescriptor
 
GetFreeMessage - Class in goofs
Message requesting chunkservers that are eligible to store new chunks.
GetFreeMessage(HostID, HostID) - Constructor for class goofs.GetFreeMessage
Create new message requesting chunkservers that are eligible to store new chunks.
getHash() - Method in class goofs.Hash
 
GetHoldersMessage - Class in goofs
Message requesting chunkservers that are currently holding replicas associated with a given chunk descriptor.
GetHoldersMessage(HostID, HostID, ChunkDescriptor) - Constructor for class goofs.GetHoldersMessage
Send message requesting chunkservers holding a chunk associated with a given chunk descriptor.
getHost() - Method in class goofs.HostID
Get host name for this node identifier.
getID() - Method in class goofs.ControllerSEntry
Get the host id of the chunkserver described by this entry.
getNewChunks() - Method in class goofs.MinorHeartbeatMessage
 
getNewHolder() - Method in class goofs.FixReplicationMessage
 
getNumChunkServers() - Method in class goofs.ControllerCEntry
Get the number of chunkservers currently replicating this chunk.
getOffset() - Method in class goofs.ChunkDescriptor
 
getPort() - Method in class goofs.HostID
Get port number for this node identifier.
getSequence() - Method in class goofs.Chunk
 
getSource() - Method in class goofs.Message
Get message source id.
getTimeStamp() - Method in class goofs.Chunk
 
getVersion() - Method in class goofs.Chunk
 
goofs - package goofs
 

H

handle(Message) - Method in class goofs.MessageHandler
Handle incomming message and generate reply message.
hasExpired() - Method in class goofs.ControllerSEntry
 
Hash - Class in goofs
 
Hash(String) - Constructor for class goofs.Hash
 
Hash(BigInteger) - Constructor for class goofs.Hash
 
Hash(byte[]) - Constructor for class goofs.Hash
 
hexToBigInteger(String) - Static method in class goofs.Hash
 
holdsChunk(ChunkDescriptor) - Method in class goofs.ControllerSEntry
 
HostID - Class in goofs
Node identification.
HostID(String, int) - Constructor for class goofs.HostID
Create a new node identifier.
HostID(int) - Constructor for class goofs.HostID
Create a new node identifier.

I

incrementNumChunks() - Method in class goofs.ControllerSEntry
 

K

kind - Variable in class goofs.Message
This message's kind

M

main(String[]) - Static method in class goofs.ChunkServer
Start a new chunkserver
main(String[]) - Static method in class goofs.Client
Start a new client
main(String[]) - Static method in class goofs.Controller
Start a new controller
majorHeartbeatInterval - Static variable in class goofs.ChunkServer
 
MajorHeartbeatMessage - Class in goofs
Major heartbeat from chunkserver to controller.
MajorHeartbeatMessage(HostID, HostID, ChunkDescriptor[], ChunkDescriptor[]) - Constructor for class goofs.MajorHeartbeatMessage
Create new major heartbeat message
maxSize - Static variable in class goofs.Chunk
maximum bytes in a single chunk
Message - Class in goofs
Generic goofs message.
Message(HostID, HostID, Message.Kind) - Constructor for class goofs.Message
Create a new goofs message.
Message.Kind - Enum in goofs
Kinds of messages that can be sent in goofs.
MessageHandler - Class in goofs
Abstract message handler for messages in goofs filesystem.
MessageHandler(Socket) - Constructor for class goofs.MessageHandler
Create new message handler.
MinorHeartbeatMessage - Class in goofs
Minor heartbeat from chunkserver to controller.
MinorHeartbeatMessage(HostID, HostID, ChunkDescriptor[], ChunkDescriptor[]) - Constructor for class goofs.MinorHeartbeatMessage
Create new minor heartbeat message
minorHeartbeatSecs - Static variable in class goofs.ChunkServer
 

R

read(ChunkDescriptor) - Static method in class goofs.Chunk
Read chunk from disk.
replicationLevel - Static variable in class goofs.Controller
 
RequestMajorMessage - Class in goofs
Request that a major heartbeat be sent to controller.
RequestMajorMessage(HostID, HostID) - Constructor for class goofs.RequestMajorMessage
 
RequestMinorMessage - Class in goofs
Request that a minor heartbeat be sent to controller.
RequestMinorMessage(HostID, HostID) - Constructor for class goofs.RequestMinorMessage
 
RetrieveDataMessage - Class in goofs
 
RetrieveDataMessage(HostID, HostID[], ChunkDescriptor) - Constructor for class goofs.RetrieveDataMessage
Create a new message requesting data retrieval.
run() - Method in class goofs.ChunkServer
Run chunkserver.
run() - Method in class goofs.Controller
Run controller.
run() - Method in class goofs.MessageHandler
Start a new message handler thread.

S

send() - Method in class goofs.FixCorruptionMessage
 
send() - Method in class goofs.FixReplicationMessage
 
send() - Method in class goofs.GetFreeMessage
Send this message to its current destination.
send() - Method in class goofs.GetHoldersMessage
Send this message to its current destination.
send() - Method in class goofs.MajorHeartbeatMessage
 
send() - Method in class goofs.Message
Send this message to its destination and get reply.
send() - Method in class goofs.MinorHeartbeatMessage
 
send() - Method in class goofs.RequestMajorMessage
 
send() - Method in class goofs.RequestMinorMessage
 
send() - Method in class goofs.RetrieveDataMessage
 
send() - Method in class goofs.SubmitDataMessage
 
sendMajorHeartbeat() - Method in class goofs.ChunkServer
 
sendMinorHeartbeat() - Method in class goofs.ChunkServer
 
setChunk(Chunk) - Method in class goofs.FixCorruptionMessage
 
setChunkServers(HostID[]) - Method in class goofs.ControllerCEntry
Set the list of chunkservers currently replicating this chunk.
setChunkServers(HostID[]) - Method in class goofs.GetFreeMessage
Set the chunkservers to send.
setChunkServers(HostID[]) - Method in class goofs.GetHoldersMessage
Set the chunk servers sent in this message.
setData(byte[]) - Method in class goofs.Chunk
 
setData(byte[]) - Method in class goofs.RetrieveDataMessage
 
setDest(HostID) - Method in class goofs.Message
Set message destination id.
setNextDest() - Method in class goofs.FixCorruptionMessage
Set message to be sent to next chunkserver.
setNextDest() - Method in class goofs.RetrieveDataMessage
Set message to be sent to next chunkserver.
setNextDest() - Method in class goofs.SubmitDataMessage
Set message to be sent to next chunkserver.
setNumChunks(int) - Method in class goofs.ControllerSEntry
 
setSource(HostID) - Method in class goofs.Message
Set message source id.
src - Variable in class goofs.Message
 
SubmitDataMessage - Class in goofs
Message requesting that data be stored at given list of chunkservers and associated with a given chunk descriptor.
SubmitDataMessage(HostID, HostID[], ChunkDescriptor, byte[]) - Constructor for class goofs.SubmitDataMessage
Create a new message requesting data storage.
swapSrcDst() - Method in class goofs.Message
Swap message source and destination

T

toSeqString() - Method in class goofs.ChunkDescriptor
 
toString() - Method in class goofs.Chunk
 
toString() - Method in class goofs.ChunkDescriptor
 
toString() - Method in class goofs.ControllerCEntry
 
toString() - Method in class goofs.ControllerSEntry
Generate human readable string describing this chunkserver list entry.
toString() - Method in class goofs.Hash
 
toString() - Method in class goofs.HostID
Convert this node identifier to a human readable string.
toString() - Method in class goofs.Message
Convert message to a human readable string.
touch(HostID) - Method in class goofs.ControllerCEntry
 
touch(ChunkDescriptor[]) - Method in class goofs.ControllerSEntry
 

V

valueOf(String) - Static method in enum goofs.Message.Kind
Returns the enum constant of this type with the specified name.
values() - Static method in enum goofs.Message.Kind
Returns an array containing the constants of this enum type, in the order they are declared.

W

write() - Method in class goofs.Chunk
Write chunk to disk.
A B C D E F G H I K M R S T V W 
Skip navigation links