Skip navigation links
A B C D E F G H I L M N O P Q R S T U W 

A

abandoned_tests - Variable in class test.SeriesReport
Tests that were not run due to missing prerequisites.
absent_file - Variable in class conformance.storage.AccessTest
File that is not present on the storage server.
ACCESS_COUNT - Static variable in class conformance.naming.DeletionTest
Number of times to access the file for reading to ensure that it is replicated.
ACCESS_COUNT - Static variable in class conformance.naming.ReplicationTest
Number of shared access requests to make in order to cause the file to be replicated.
AccessTest - Class in conformance.storage
Tests storage server file access methods.
AccessTest() - Constructor for class conformance.storage.AccessTest
Creates the AccessTest object.
accessType(boolean) - Method in class conformance.naming.LockTest
Returns a string describing the type of access requested.
add - Static variable in class rmi.Stub
 
add(String[]) - Method in class test.TemporaryDirectory
Adds a file to the temporary directory.
add(String[], String) - Method in class test.TemporaryDirectory
Adds a file with the given contents to the temporary directory.
addDir(String, Command, Storage, Path) - Method in class naming.Branch
 
addDir(String, Path) - Method in class naming.Branch
 
addFile(String, Command, Storage, Path) - Method in class naming.Branch
 
addFile(String, Path) - Method in class naming.Branch
 
addPrivate(String[]) - Method in class test.TemporaryDirectory
Recursively adds a file to the temporary directory.
address - Variable in class conformance.rmi.ConnectionTest
Address at which the test skeleton will run.
address - Variable in class conformance.rmi.SkeletonTest
Socket address used for the creation of skeletons.
address - Variable in class conformance.rmi.StubTest
Socket address used for the creation of stubs.
address - Variable in class rmi.Skeleton
 
addToTree(Path, Command, Storage) - Method in class naming.NamingServer
 
all_threads_started - Variable in class conformance.naming.QueueTest
Indicates that all threads have been started and have most likely queued at the lock.
Application - Class in apps
Base class of filesystem applications.
Application() - Constructor for class apps.Application
 
ApplicationFailure - Exception in apps
Signifies an application failure, and that the application should exit with status EXIT_FAILURE (2).
ApplicationFailure(String) - Constructor for exception apps.ApplicationFailure
Creates an ApplicationFailure and sets the message string.
applications - Static variable in class apps.Launcher
Map from application names to application objects for individual applications.
apps - package apps
Filesystem applications.
available() - Method in class client.DFSInputStream
Returns the number of bytes remaining between the current stream offset and the end of file.

B

BadInterface - Interface in conformance.rmi
Non-remote interface that RMI constructors should reject.
BadInterfaceImplementation() - Constructor for class conformance.rmi.SkeletonTest.BadInterfaceImplementation
 
badServer - Variable in class conformance.naming.RegistrationTest
Storage server used for the null pointer and duplicate registration tests.
BadUsageException(String) - Constructor for exception apps.ServerApplication.BadUsageException
Creates a BadUsageException with the given usage string.
BLOCK_SIZE - Static variable in class apps.Get
The size of each request for data cannot exceed BLOCK_SIZE.
BLOCK_SIZE - Static variable in class apps.Put
At most BLOCK_SIZE bytes of data are sent in a single write request.
bound - Static variable in class test.TemporaryDirectory
Upper bound on temporary directory name suffixes.
Branch - Class in naming
represents a folder in the file tree
Branch(String, Command, Storage, Path) - Constructor for class naming.Branch
 
build - package build
Build tools.

C

c - Variable in class rmi.Skeleton
 
cause - Variable in class test.Series.TestState
If the thread was stopped by a failure, this is the cause.
ChangeDirectoryDummy - Class in apps
Stand-in application for the change directory command.
ChangeDirectoryDummy() - Constructor for class apps.ChangeDirectoryDummy
 
checkArguments() - Method in class conformance.naming.ListingTest
Checks that bad arguments are rejected, and checks that the root directory is identified as a directory.
checkArguments() - Method in class conformance.naming.StubRetrievalTest
Checks that the getStorage method rejects bad arguments.
checkDirectoryListing(Path, String[], boolean[]) - Method in class conformance.naming.ListingTest
Checks that directories are listed correctly, and checks that files and directories are distinguished correctly by isDirectory.
checkInterface(Class<T>) - Method in class rmi.Skeleton
This function checks whether the passed interface is adheres to the specification.
checkInterface(Class<?>) - Static method in class rmi.Stub
This function checks whether the passed interface is adheres to the specification.
checkStub(Path, Storage) - Method in class conformance.naming.StubRetrievalTest
Checks that the naming server returns the correct storage server stub for the given file.
children - Variable in class rmi.Skeleton.Listen
 
clean() - Method in class conformance.naming.CreationTest
Stops all servers used in the test and unblocks any waiting threads.
clean() - Method in class conformance.naming.DeletionTest
Stops the storage servers.
clean() - Method in class conformance.naming.ListingTest
Stops test servers upon completion of the test.
clean() - Method in class conformance.naming.LockTest
Stops all servers and wakes all threads.
clean() - Method in class conformance.naming.NamingTest
Stops the naming server when the test completes.
clean() - Method in class conformance.naming.QueueTest
Wakes all threads.
clean() - Method in class conformance.naming.RegistrationTest
Stops all servers started by the test.
clean() - Method in class conformance.naming.ReplicationTest
Stops the storage servers and wakes any waiting threads.
clean() - Method in class conformance.naming.StubRetrievalTest
Stops all servers used in the test.
clean() - Method in class conformance.rmi.ConnectionTest
Stops the skeleton server.
clean() - Method in class conformance.rmi.SkeletonTest
Stops the skeleton server, if it is running, and attempts to wake the test main thread.
clean() - Method in class conformance.rmi.StubTest
Stops the dummy skeleton and testing server.
clean() - Method in class conformance.rmi.ThreadTest
Stops the skeleton server.
clean() - Method in class conformance.storage.ReplicationTest
Stops all servers and removes all temporary directories.
clean() - Method in class conformance.storage.StorageTest
Stops the testing servers and removes the temporary directory.
clean() - Method in class test.InfiniteLoopTest
Terminates the infinite loop.
clean() - Method in class test.TemporaryDirectoryTest
Makes an effort to remove both temporary directories.
clean() - Method in class test.Test
Called to terminate test threads and release system resources.
cleanup_stop_cause - Variable in class test.Series.TestState
If cleanup failed, this is the cause.
cleanup_stop_cause - Variable in class test.TestReport
Reason for test cleanup failure, or null if the test was cleaned up successfully.
cleanup_stopped - Variable in class test.Series.TestState
Flag set when cleanup has stopped.
cleanupFailure(Throwable) - Method in class test.Test
Indicates that cleanup has failed.
CleanupShutdownHook(TemporaryDirectory) - Constructor for class test.TemporaryDirectory.CleanupShutdownHook
Creates and initializes the cleanup task.
cleanupSuccess() - Method in class test.Test
Indicates that cleanup has been successfully completed.
CleanupThread(Series.TestState) - Constructor for class test.Series.CleanupThread
Creates the test cleanup thread.
CleanupTimeoutTask(Series.TestState) - Constructor for class test.Series.CleanupTimeoutTask
Creates the timer task.
client - package client
Client library.
client_skeleton - Variable in class conformance.naming.TestStorageServer
Client interface skeleton.
client_stub - Variable in class conformance.naming.TestStorageServer
Client interface stub.
client_stub - Variable in class conformance.storage.StorageTest
Stub for the storage server client service.
client_stub - Variable in class conformance.storage.TestNamingServer
Last registered storage server client interface.
ClientApplication - Class in apps
Base class of client applications.
ClientApplication() - Constructor for class apps.ClientApplication
 
clientInterface() - Method in class conformance.storage.TestNamingServer
Returns the client interface for the last storage server to register.
close() - Method in class client.DFSInputStream
Closes the input stream.
close() - Method in class client.DFSOutputStream
Closes the output stream.
closed - Variable in class client.DFSInputStream
Indicates that the stream has been closed.
closed - Variable in class client.DFSOutputStream
Indicates that the stream has been closed.
Command - Interface in storage
Storage server command interface.
command_skeleton - Variable in class conformance.naming.TestStorageServer
Command interface skeleton.
command_stub - Variable in class conformance.naming.TestStorageServer
Command interface stub.
command_stub - Variable in class conformance.storage.StorageTest
Stub for the storage server command service.
command_stub - Variable in class conformance.storage.TestNamingServer
Last registered storage server command interface.
commandInterface() - Method in class conformance.storage.TestNamingServer
Returns the command interface for the last storage server to register.
CommandSkeleton() - Constructor for class conformance.naming.TestStorageServer.CommandSkeleton
Creates the command interface skeleton.
commandSkeleton - Variable in class storage.StorageServer
 
common - package common
Classes common between all filesystem components.
compareTo(Path) - Method in class common.Path
Compares this path to another.
conformance - package conformance
Public interface conformance tests.
conformance.common - package conformance.common
Conformance tests for the path library.
conformance.naming - package conformance.naming
Conformance tests for the naming server.
conformance.rmi - package conformance.rmi
Conformance tests for the RMI library.
conformance.storage - package conformance.storage
Conformane tests for the storage server.
ConformanceTests - Class in conformance
Runs all conformance tests on distributed filesystem components.
ConformanceTests() - Constructor for class conformance.ConformanceTests
 
ConnectionCheckThread() - Constructor for class conformance.rmi.StubTest.ConnectionCheckThread
 
ConnectionTest - Class in conformance.rmi
Tests complete connection between stub and skeleton.
ConnectionTest() - Constructor for class conformance.rmi.ConnectionTest
 
ConnectionTest.TestSkeleton - Class in conformance.rmi
Test skeleton class that fails the test when an exception is received in one of the skeleton's threads.
ContactTest - Class in conformance.naming
Tests that the naming server is listening on the correct ports.
ContactTest() - Constructor for class conformance.naming.ContactTest
 
contains(String) - Method in class naming.Branch
check if the file or folder represente by the name is available in the current folder
copy(Path, Storage) - Method in class conformance.naming.DeletionTest.DeletionStorageServer
Accepts replication requests and simulates their success.
copy(Path, Storage) - Method in class conformance.naming.ReplicationTest.MirrorStorageServer
Checks that a proper request to copy the file has been received.
copy(Path, Storage) - Method in class conformance.naming.TestStorageServer
Throws UnsupportedOperationException.
copy(Path, Storage) - Method in interface storage.Command
Copies a file from another storage server.
copy(Path, Storage) - Method in class storage.StorageServer
 
coreLogic(String[]) - Method in class apps.ChangeDirectoryDummy
Runs the application.
coreLogic(String[]) - Method in class apps.ClientApplication
Called to execute the main body of the application.
coreLogic(String[]) - Method in class apps.Get
Main method.
coreLogic(String[]) - Method in class apps.List
Application main method.
coreLogic(String[]) - Method in class apps.MakeDirectory
Application main method.
coreLogic(String[]) - Method in class apps.Parse
Runs the application.
coreLogic(String[]) - Method in class apps.PrintWorkingDirectory
Runs the application.
coreLogic(String[]) - Method in class apps.Put
Main method.
coreLogic(String[]) - Method in class apps.Remove
Application main method.
coreLogic(String[]) - Method in class apps.Touch
Application main method.
create(Path) - Method in class conformance.naming.CreationTest.CreationTestStorageServer
Checks that the naming server has commanded the correct file to be created, if such a command is expected.
create(Path) - Method in class conformance.naming.TestStorageServer
Throws UnsupportedOperationException.
create(Class<T>, Skeleton<T>) - Static method in class rmi.Stub
Creates a stub, given a skeleton with an assigned address.
create(Class<T>, Skeleton<T>, String) - Static method in class rmi.Stub
Creates a stub, given a skeleton with an assigned address and a hostname which overrides the skeleton's hostname.
create(Class<T>, InetSocketAddress) - Static method in class rmi.Stub
Creates a stub, given the address of a remote server.
create(Path) - Method in interface storage.Command
Creates a file on the storage server.
create(Path) - Method in class storage.StorageServer
 
create_path - Variable in class conformance.storage.DirectoryTest
File to be created in a new directory.
create_path - Variable in class conformance.storage.ReplicationTest
File to be copied.
createDirectory(Path) - Method in class naming.NamingServer
 
createDirectory(Path) - Method in interface naming.Service
Creates the given directory, if it does not exist.
createFile(Path) - Method in class naming.NamingServer
 
createFile(Path) - Method in interface naming.Service
Creates the given file, if it does not exist.
CreationTest - Class in conformance.naming
Tests file and directory creation.
CreationTest() - Constructor for class conformance.naming.CreationTest
Creates the CreationTest and sets the notice.
CreationTest.CreationTestStorageServer - Class in conformance.naming
Storage server for the creation test.
CreationTestStorageServer() - Constructor for class conformance.naming.CreationTest.CreationTestStorageServer
Creates the test storage server.
cStub - Variable in class naming.StubPair
 
current_directory - Static variable in class apps.RemotePath
Current directory name.

D

DELAY - Static variable in class conformance.naming.QueueTest
Delay between thread starts, in milliseconds.
delete(Path) - Method in class conformance.naming.DeletionTest.DeletionStorageServer
Accepts a delete request from the naming server.
delete(Path) - Method in class conformance.naming.ReplicationTest.InvalidationStorageServer
Checks that a delete request is received for the proper file.
delete(Path) - Method in class conformance.naming.TestStorageServer
Throws UnsupportedOperationException.
delete() - Method in class naming.Leaf
 
delete(Path) - Method in class naming.NamingServer
 
delete(Path) - Method in interface naming.Service
Deletes a file or directory.
delete(Path) - Method in interface storage.Command
Deletes a file or directory on the storage server.
delete(Path) - Method in class storage.StorageServer
 
delete_directory - Variable in class conformance.naming.DeletionTest
 
delete_file - Variable in class conformance.naming.DeletionTest
 
delete_files - Variable in class conformance.storage.StorageTest
Files that the naming server should command the storage server to delete after registration.
delete_files - Variable in class conformance.storage.TestNamingServer
List of paths to command the next storage server to register to delete.
deleteFiles(Path[]) - Method in class conformance.storage.TestNamingServer
Sets the files the next storage server to connect will be commanded to delete.
deleteHelper(File) - Method in class storage.StorageServer
 
deleteRecursive(File) - Method in class test.TemporaryDirectory
Recursively deletes a directory.
deletions - Variable in class conformance.naming.DeletionTest
Number of deletions that has occurred.
DeletionStorageServer() - Constructor for class conformance.naming.DeletionTest.DeletionStorageServer
Creates a DeletionStorageServer.
DeletionTest - Class in conformance.naming
Tests naming server delete method.
DeletionTest() - Constructor for class conformance.naming.DeletionTest
 
DeletionTest.DeletionStorageServer - Class in conformance.naming
Class of storage servers used in the test.
DFSInputStream - Class in client
Input stream backed by a file in the distributed filesystem.
DFSInputStream(Service, Path) - Constructor for class client.DFSInputStream
Creates a DFSInputStream for a file listed by the given naming server.
DFSInputStream(String, Path) - Constructor for class client.DFSInputStream
Creates a DFSInputStream for a file listed by the given naming server.
DFSInputStream(Service, String) - Constructor for class client.DFSInputStream
Creates a DFSInputStream for a file listed by the given naming server.
DFSInputStream(String, String) - Constructor for class client.DFSInputStream
Creates a DFSInputStream for a file listed by the given naming server.
DFSOutputStream - Class in client
Output stream directed to a file in the distributed filesystem.
DFSOutputStream(Service, Path) - Constructor for class client.DFSOutputStream
Creates a DFSOutputStream for a file listed by the given naming server.
DFSOutputStream(String, Path) - Constructor for class client.DFSOutputStream
Creates a DFSOutputStream for a file listed by the given naming server.
DFSOutputStream(Service, String) - Constructor for class client.DFSOutputStream
Creates a DFSOutputStream for a file listed by the given naming server.
DFSOutputStream(String, String) - Constructor for class client.DFSOutputStream
Creates a DFSOutputStream for a file listed by the given naming server.
directory - Variable in class conformance.naming.LockTest
 
directory - Variable in class conformance.storage.StorageTest
Temporary directory served by the storage server.
directory - Variable in class test.TemporaryDirectory.CleanupShutdownHook
A weak reference to the TemporaryDirectory object.
directory - Variable in class test.TemporaryDirectory
File object representing the directory.
directory - Variable in class test.TemporaryDirectoryTest
Temporary directory object.
directory_file - Variable in class conformance.storage.AccessTest
Path to a directory on the storage server.
directory_variable - Static variable in class apps.RemotePath
Name of the environment variable storing the current working directory.
directoryCleanup(File) - Method in class storage.StorageServer
 
DirectoryTest - Class in conformance.storage
Tests storage server directory manipulation methods.
DirectoryTest() - Constructor for class conformance.storage.DirectoryTest
Creates the DirectoryTest object.
dummy_file - Variable in class conformance.naming.DeletionTest
 
dummy_file2 - Variable in class conformance.naming.DeletionTest
 
dummy_server - Variable in class conformance.rmi.SkeletonTest
Dummy object used for testing calls to Skeleton constructors.

E

empty_file - Variable in class conformance.storage.AccessTest
An empty file on the storage server.
ensureClassRejected() - Method in class conformance.rmi.SkeletonTest
Ensures that a Skeleton cannot be constructed from a class rather than an interface.
ensureClassRejected() - Method in class conformance.rmi.StubTest
Ensures that a Stub cannot be created from a class rather than an interface.
ensureLocalMethods() - Method in class conformance.rmi.StubTest
Ensures that stubs for the same skeleton are equal and have the same hash code, and stubs have a string representation.
ensureNonRemoteInterfaceRejected() - Method in class conformance.rmi.SkeletonTest
Ensures that a Skeleton cannot be constructed from a non-remote interface.
ensureNonRemoteInterfaceRejected() - Method in class conformance.rmi.StubTest
Ensures that a Stub cannot be created from a non-remote interface.
ensureNullPointerExceptions() - Method in class conformance.rmi.SkeletonTest
Ensures that Skeleton constructors throw NullPointerException when given null for the class or server parameters.
ensureNullPointerExceptions() - Method in class conformance.rmi.StubTest
Ensures that both Stub.create methods throw NullPointerException when given null for any parameters.
ensureSkeletonRuns() - Method in class conformance.rmi.SkeletonTest
Performs tests with a running skeleton.
ensureStubConnects() - Method in class conformance.rmi.StubTest
Checks that a stub connects to the server for which it was created.
ensureUnknownHostRejected() - Method in class conformance.rmi.StubTest
Ensures that a stub cannot be created from a skeleton whose address has not been determined.
EOFThread() - Constructor for class apps.ServerApplication.EOFThread
 
equals(Object) - Method in class common.Path
Compares two paths for equality.
equals(StubPair) - Method in class naming.StubPair
Checks if each stub is equal
exclusive - Variable in class conformance.naming.LockTest.LockUser
Indicates that the path is to be locked for exclusive access.
exclusive - Variable in class conformance.naming.QueueTest.QueuedLockUser
Whether the thread is to take the lock for exclusive or shared access.
exclusive_finished - Variable in class conformance.naming.LockTest
Indicates that the second thread has released the lock, and therefore the exclusive access test is finished.
exclusive_locked - Variable in class conformance.naming.LockTest
Indicates that the first thread in the exclusive access test has taken the lock, and therefore the second thread may go on with its attempt to take it as well.
exclusive_resume - Variable in class conformance.naming.LockTest
Indicates that the first thread in the exclusive access test has released the lock.
EXCLUSIVE_TEST_DELAY - Static variable in class conformance.naming.LockTest
Minimum amount of time, in milliseconds, that the first thread in the exclusive access test holds the lock before releasing it.
EXIT_FAILURE - Static variable in class apps.Application
Exit code returned to the system on failure.
EXIT_FAILURE - Static variable in class apps.Launcher
Exit status indicating failure.
EXIT_SUCCESS - Static variable in class apps.Application
Exit code returned to the system on success.
ExLock - Variable in class naming.Node
 
exLocked - Variable in class naming.Node
 
expect_file - Variable in class conformance.naming.CreationTest
File that the storage server is expecting to be commanded to create by the naming server.
expect_files - Variable in class conformance.storage.TestNamingServer
List of paths to expect from the next storage server to register.
expect_lock_count - Variable in class conformance.naming.QueueTest.QueuedLockUser
Minimum number of threads that must have taken the lock before this one.
expectFiles(Path[]) - Method in class conformance.storage.TestNamingServer
Sets the files the next storage server to connect is expected to register.

F

FailedDuringTask - Exception in test
Represents a test failure that occurred while the test was performing a particular task.
FailedDuringTask(String, Throwable) - Constructor for exception test.FailedDuringTask
Constructs a FailedDuringTask object with the given task message and underlying failure.
failure(Throwable) - Method in class test.Test
Terminates the test as a failure.
failure_reports - Variable in class test.SeriesReport
Reports from tests that failed.
failures - Variable in class apps.ClientApplication
Aggregated list of application error messages.
fatal(String) - Method in class apps.ClientApplication
Indicates that a fatal error has occurred.
fatal() - Method in class test.TestReport
Returns true if and only if the test stopped with a fatal error, or cleanup stopped with any error (all cleanup erros are fatal).
fatal_error_message - Variable in class apps.ClientApplication
Fatal error message, if a fatal error has occurred.
FatalError - Exception in test
Indicates that a serious testing library error has occurred, such as failure to construct a test object, or failure to clean up system resources.
FatalError(String) - Constructor for exception test.FatalError
Constructs a FatalError object from an error message.
FatalError(String, Throwable) - Constructor for exception test.FatalError
Constructs a FatalError object from an error message and a cause.
file1 - Variable in class conformance.naming.ListingTest
 
file1 - Variable in class conformance.naming.LockTest
 
file1 - Variable in class conformance.naming.StubRetrievalTest
 
file2 - Variable in class conformance.naming.ListingTest
 
file2 - Variable in class conformance.naming.LockTest
 
file2 - Variable in class conformance.naming.StubRetrievalTest
 
file3 - Variable in class conformance.naming.ListingTest
 
file3 - Variable in class conformance.naming.StubRetrievalTest
 
file4 - Variable in class conformance.naming.StubRetrievalTest
 
file_created - Variable in class conformance.naming.CreationTest
Indicates that the file expect_file has been created on the storage server by command from the naming server.
files - Variable in class naming.Branch
 
fileTree - Variable in class naming.NamingServer
 
finalize() - Method in class test.TemporaryDirectory
Attempts to ensure that the directory is deleted when the object is garbage-collected.
FirstExclusiveUser(Path, boolean) - Constructor for class conformance.naming.LockTest.FirstExclusiveUser
Creates the thread object.
forEachRemaining(Consumer<? super String>) - Method in class common.MyIterator
 

G

Get - Class in apps
Retrieves a file stored on the distributed filesystem.
Get() - Constructor for class apps.Get
 
getAddress() - Method in class rmi.ProxyHandler
 
getAddress() - Method in class rmi.Skeleton
 
getCommandStub() - Method in class naming.Leaf
 
getCommandStub() - Method in class naming.Node
 
getCommandStub() - Method in class naming.StubPair
 
getComponent(int) - Method in class common.Path
returns the ith component of the path returns null if index out of bounds
getDirectory(String) - Method in class naming.Branch
 
getFile(String) - Method in class naming.Branch
 
getMyClass() - Method in class rmi.ProxyHandler
 
getPath() - Method in class naming.Node
 
getPort() - Method in class rmi.Skeleton
 
getReplicas() - Method in class naming.Branch
 
getReplicas() - Method in class naming.Leaf
 
getStorage(Path) - Method in class naming.NamingServer
 
getStorage(Path) - Method in interface naming.Service
Returns a stub for the storage server hosting a file.
getStorageStub() - Method in class naming.Leaf
 
getStorageStub() - Method in class naming.Node
 
getStorageStub() - Method in class naming.StubPair
 
getTotalRequests() - Method in class naming.Leaf
 

H

hashCode() - Method in class common.Path
Returns the hash code of the path.
hasNext() - Method in class common.MyIterator
 
hosting_server - Variable in class conformance.naming.ReplicationTest
Storage server hosting the initial copy of the file.
hosting_stub - Variable in class conformance.naming.ReplicationTest
Stub for the storage server initially hosting the file.
hostname - Variable in class apps.RemotePath
Naming server hostname.
hostname_variable - Static variable in class apps.RemotePath
Name of the environment variable storing the current naming server.
hosts_directory - Variable in class conformance.naming.DeletionTest.DeletionStorageServer
Indicates that the storage server still hosts a copy of the directory.
hosts_file - Variable in class conformance.naming.DeletionTest.DeletionStorageServer
Indicates that the storage server still hosts a copy of the file.

I

i - Variable in class common.MyIterator
 
in(StubPair) - Method in class naming.Leaf
 
in - Variable in class rmi.Skeleton.Listen.Service
 
InfiniteLoopTest - Class in test
Starts an infinite loop and runs until timeout.
InfiniteLoopTest() - Constructor for class test.InfiniteLoopTest
 
initialize() - Method in class conformance.naming.CreationTest
Starts servers used in the test.
initialize() - Method in class conformance.naming.DeletionTest
Starts and registers the two storage servers.
initialize() - Method in class conformance.naming.ListingTest
Starts the test servers.
initialize() - Method in class conformance.naming.LockTest
Initializes the test.
initialize() - Method in class conformance.naming.NamingTest
Initializes the test.
initialize() - Method in class conformance.naming.ReplicationTest
Starts the two storage servers.
initialize() - Method in class conformance.naming.StubRetrievalTest
Starts servers used in the test.
initialize() - Method in class conformance.rmi.ConnectionTest
Initializes the test.
initialize() - Method in class conformance.rmi.StubTest
Initializes the test.
initialize() - Method in class conformance.rmi.ThreadTest
Initializes the test.
initialize() - Method in class conformance.storage.ReplicationTest
Initializes the test.
initialize() - Method in class conformance.storage.StorageTest
Initializes the temporary directory and servers to be used for the test.
initialize() - Method in class test.TemporaryDirectoryTest
Creates the two temporary directories.
initialize() - Method in class test.Test
Called to initialize the test object.
initialize_stopped - Variable in class test.Series.TestState
Flag set if the initialize method has completed.
invalidated - Variable in class conformance.naming.ReplicationTest
Indicates that the file has been invalidated.
InvalidationStorageServer() - Constructor for class conformance.naming.ReplicationTest.InvalidationStorageServer
Creates the InvalidationStorageServer.
invoke(Object, Method, Object[]) - Method in class rmi.ProxyHandler
 
isDirectory(Path) - Method in class naming.NamingServer
 
isDirectory(Path) - Method in interface naming.Service
Determines whether a path refers to a directory.
isRegistered(Path) - Method in class naming.NamingServer
 
isRoot() - Method in class common.Path
Determines whether the path represents the root directory.
isSubpath(Path) - Method in class common.Path
Determines if the given path is a subpath of this path.
iterator() - Method in class common.Path
Returns an iterator over the components of the path.

L

label - Variable in class naming.Node
 
last() - Method in class common.Path
Returns the last component in the path.
Launcher - Class in apps
Application launcher.
Launcher() - Constructor for class apps.Launcher
 
Leaf - Class in naming
 
Leaf(String, Storage, Command, Path) - Constructor for class naming.Leaf
 
length - Variable in class client.DFSInputStream
Total file length.
List - Class in apps
Lists files and directories.
List() - Constructor for class apps.List
 
list(String, boolean) - Method in class apps.List
Lists a remote path.
list(File) - Static method in class common.Path
Lists the paths of all files in a directory tree on the local filesystem.
list() - Method in class naming.Branch
returns the list of files and folders in this directory
list(Path) - Method in class naming.NamingServer
 
list(Path) - Method in interface naming.Service
Lists the contents of a directory.
Listen() - Constructor for class rmi.Skeleton.Listen
 
listen_error(Exception) - Method in class conformance.naming.TestStorageServer.CommandSkeleton
Fails the test when an exception occurs in the listening thread.
listen_error(Exception) - Method in class conformance.naming.TestStorageServer.StorageSkeleton
Fails the test when an exception occurs in the listening thread.
listen_error(Exception) - Method in class conformance.rmi.ConnectionTest.TestSkeleton
Fails the test upon an error in the listening thread.
listen_error(Exception) - Method in class conformance.rmi.SkeletonTest.TestSkeleton
Handles an error in the listening thread.
listen_error(Exception) - Method in class conformance.rmi.ThreadTest.TestSkeleton
Fails the test upon an error in the listening thread.
listen_error(Exception) - Method in class conformance.storage.TestNamingServer.TestSkeleton
Fails the test upon an exception in the listening thread.
listen_error(Exception) - Method in class rmi.Skeleton
Called when an exception occurs at the top level in the listening thread.
listening - Variable in class conformance.rmi.StubTest
When false, the connection check test is complete.
listenSocket - Variable in class rmi.Skeleton
 
listHelper(File, int) - Static method in class common.Path
does all the work of list recursively second argument is used to generate relative path
ListingTest - Class in conformance.naming
Tests the naming server list and isDirectory methods.
ListingTest() - Constructor for class conformance.naming.ListingTest
Creates the ListTest object and sets the notice.
lock(Path, boolean) - Method in class naming.NamingServer
 
lock(Path, boolean) - Method in interface naming.Service
Locks a file or directory for either shared or exclusive access.
lock_count - Variable in class conformance.naming.QueueTest
Number of threads that have succesfully locked the root directory.
locked() - Method in class conformance.naming.LockTest.FirstExclusiveUser
Notifies the second thread that it should try to take the lock, and then waits.
locked() - Method in class conformance.naming.LockTest.LockUser
Called immediately after the thread has taken the lock.
locked() - Method in class conformance.naming.LockTest.RendezvousUser
Causes the two threads to rendezvous.
locked() - Method in class conformance.naming.LockTest.SecondExclusiveUser
Fails the test if the second thread has taken the lock while the first thread is still waiting.
lockExclusive() - Method in class naming.Leaf
 
lockExclusive() - Method in class naming.Node
 
lockNonExclusive() - Method in class naming.Node
 
LockTest - Class in conformance.naming
Tests basic functioning of the naming server lock and unlock methods.
LockTest() - Constructor for class conformance.naming.LockTest
 
LockTest.FirstExclusiveUser - Class in conformance.naming
First thread in the exclusive access test.
LockTest.LockUser - Class in conformance.naming
Base class of threads used for both the rendezvous and the exclusive access tests.
LockTest.RendezvousUser - Class in conformance.naming
Rendezvous test thread.
LockTest.SecondExclusiveUser - Class in conformance.naming
Second thread in the exclusive access test.
LockTest.WakeTask - Class in conformance.naming
Wakes the first thread in the exclusive access test.
LockUser(Path, boolean) - Constructor for class conformance.naming.LockTest.LockUser
Initialies the fields of the LockUser object.

M

main(String[]) - Static method in class apps.ChangeDirectoryDummy
Application entry point.
main(String[]) - Static method in class apps.Get
Application entry point.
main(String[]) - Static method in class apps.Launcher
Main entry point.
main(String[]) - Static method in class apps.List
Application entry point.
main(String[]) - Static method in class apps.MakeDirectory
Application entry point.
main(String[]) - Static method in class apps.NamingServerApp
Naming server application entry point.
main(String[]) - Static method in class apps.Parse
Application entry point.
main(String[]) - Static method in class apps.PrintWorkingDirectory
Application entry point.
main(String[]) - Static method in class apps.Put
Application entry point.
main(String[]) - Static method in class apps.Remove
Application entry point.
main(String[]) - Static method in class apps.StorageServerApp
Storage server application entry point.
main(String[]) - Static method in class apps.Touch
Application entry point.
main(String[]) - Static method in class build.PathSeparator
Program entry point.
main(String[]) - Static method in class conformance.ConformanceTests
Runs the tests.
main(String[]) - Static method in class test.SelfTest
Runs the tests.
main(String[]) - Static method in class unit.UnitTests
Runs the tests.
make(String) - Method in class apps.MakeDirectory
Attempts to create the given remote directory.
MakeDirectory - Class in apps
Creates directories.
MakeDirectory() - Constructor for class apps.MakeDirectory
 
method(int) - Method in interface conformance.rmi.BadInterface
Causes the interface to be rejected for use in RMI.
method(int) - Method in class conformance.rmi.SkeletonTest.BadInterfaceImplementation
Returns its argument.
method(boolean) - Method in interface conformance.rmi.TestInterface
Tests transmission of arguments and returning of results.
method(boolean) - Method in class conformance.rmi.TestServer
 
mirror_server - Variable in class conformance.naming.ReplicationTest
Storage server receiving the replicated copy of the file.
MirrorStorageServer() - Constructor for class conformance.naming.ReplicationTest.MirrorStorageServer
 
MyIterator - Class in common
 
MyIterator(Iterator<String>) - Constructor for class common.MyIterator
 

N

name() - Method in class naming.Node
 
naming - package naming
Naming (metadata) server.
naming_server - Variable in class client.DFSInputStream
Naming server used to find the storage server hosting the file.
naming_server - Variable in class client.DFSOutputStream
Naming server used to find the storage server hosting the file.
naming_server - Variable in class conformance.storage.StorageTest
Testing naming server.
naming_stub - Variable in class conformance.storage.StorageTest
Naming server registration service.
NamingServer - Class in naming
Naming server.
NamingServer() - Constructor for class naming.NamingServer
Creates the naming server object.
NamingServerApp - Class in apps
Naming server application.
NamingServerApp() - Constructor for class apps.NamingServerApp
 
NamingServerApp.StoppingNamingServer - Class in apps
Application naming server.
NamingStubs - Class in naming
Default port numbers for the naming server and convenience methods for making naming server stubs.
NamingStubs() - Constructor for class naming.NamingStubs
 
NamingTest - Class in conformance.naming
Base class of naming server tests.
NamingTest() - Constructor for class conformance.naming.NamingTest
 
NamingTest.TestNamingServer - Class in conformance.naming
Naming server class, subclassed to notify the test when the naming server stops.
newRequest() - Method in class naming.Leaf
 
next() - Method in class common.MyIterator
 
Node - Class in naming
 
Node(String, Command, Storage, Path) - Constructor for class naming.Node
 
nonExLock - Variable in class naming.Node
 
notice - Static variable in class common.SampleUnitTest
Test notice.
notice - Static variable in class conformance.common.PathTest
Test notice.
notice - Static variable in class conformance.naming.ContactTest
Test notice.
notice - Static variable in class conformance.naming.CreationTest
Test notice.
notice - Static variable in class conformance.naming.DeletionTest
Test notice.
notice - Static variable in class conformance.naming.ListingTest
Test notice.
notice - Static variable in class conformance.naming.LockTest
Test notice.
notice - Static variable in class conformance.naming.QueueTest
Test notice.
notice - Static variable in class conformance.naming.RegistrationTest
Test notice.
notice - Static variable in class conformance.naming.ReplicationTest
Test notice.
notice - Static variable in class conformance.naming.StubRetrievalTest
Test notice.
notice - Static variable in class conformance.rmi.ConnectionTest
Test notice.
notice - Static variable in class conformance.rmi.SkeletonTest
Test notice.
notice - Static variable in class conformance.rmi.StubTest
Test notice.
notice - Static variable in class conformance.rmi.ThreadTest
Test notice.
notice - Static variable in class conformance.storage.AccessTest
Test notice.
notice - Static variable in class conformance.storage.DirectoryTest
Test notice.
notice - Static variable in class conformance.storage.RegistrationTest
Test notice.
notice - Static variable in class conformance.storage.ReplicationTest
Test notice.
notice - Static variable in class test.InfiniteLoopTest
Test notice.
notice(Class<? extends Test>) - Static method in class test.Series
Retrieves the test notice string, if there is one, or returns a default notice otherwise.
notice - Static variable in class test.TemporaryDirectoryTest
Test notice.

O

offset - Variable in class client.DFSInputStream
Current read offset in the file.
offset - Variable in class client.DFSOutputStream
Current write offset in the file.
out - Variable in class rmi.Skeleton.Listen.Service
 

P

pAdd - Variable in class rmi.ProxyHandler
 
parent() - Method in class apps.RemotePath
Returns a RemotePath representing the parent directory of the given RemotePath.
parent() - Method in class common.Path
Returns the path to the parent of this path.
parent_directory - Static variable in class apps.RemotePath
Parent directory name.
Parse - Class in apps
Extracts the hostname or path portion of a remote path, and prints the result on standard output.
Parse() - Constructor for class apps.Parse
 
parseHostname(String) - Method in class apps.RemotePath
Parses the hostname portion of a remote path.
parseRemotePath(String) - Method in class apps.RemotePath
Parses the path portion of a remote path.
path - Variable in class apps.RemotePath
Path portion of the remote path.
path - Variable in class client.DFSInputStream
Path to the file.
path - Variable in class client.DFSOutputStream
Path to the file.
Path - Class in common
Distributed filesystem paths.
Path() - Constructor for class common.Path
Creates a new path which represents the root directory.
Path(Path, String) - Constructor for class common.Path
Creates a new path by appending the given component to an existing path.
Path(String) - Constructor for class common.Path
Creates a new path from a path string.
path - Variable in class conformance.naming.LockTest.LockUser
Path to be locked by this thread.
path - Variable in class naming.Node
 
PathSeparator - Class in build
Prints the classpath separator to standard output.
PathSeparator() - Constructor for class build.PathSeparator
 
PathTest - Class in conformance.common
Tests the path library.
PathTest() - Constructor for class conformance.common.PathTest
 
pathVector - Variable in class common.Path
 
pClass - Variable in class rmi.ProxyHandler
 
perform() - Method in class common.SampleUnitTest
Performs the sample test.
perform() - Method in class conformance.common.PathTest
Performs the tests.
perform() - Method in class conformance.naming.ContactTest
Performs the test.
perform() - Method in class conformance.naming.CreationTest
Runs all the tests.
perform() - Method in class conformance.naming.DeletionTest
Performs the test.
perform() - Method in class conformance.naming.ListingTest
Performs the tests.
perform() - Method in class conformance.naming.LockTest
Performs the test.
perform() - Method in class conformance.naming.QueueTest
Performs the test.
perform() - Method in class conformance.naming.RegistrationTest
Performs the tests.
perform() - Method in class conformance.naming.ReplicationTest
Performs the test.
perform() - Method in class conformance.naming.StubRetrievalTest
Performs the tests.
perform() - Method in class conformance.rmi.ConnectionTest
Performs the test.
perform() - Method in class conformance.rmi.SkeletonTest
Performs the test.
perform() - Method in class conformance.rmi.StubTest
Performs the test.
perform() - Method in class conformance.rmi.ThreadTest
Performs the test.
perform() - Method in class conformance.storage.AccessTest
Tests the server file access methods.
perform() - Method in class conformance.storage.DirectoryTest
Tests the server directory manipulation methods.
perform() - Method in class conformance.storage.RegistrationTest
Runs the core of the test.
perform() - Method in class conformance.storage.ReplicationTest
Tests the copy method.
perform() - Method in class test.InfiniteLoopTest
Performs the test.
perform() - Method in class test.TemporaryDirectoryTest
Performs the tests.
perform() - Method in class test.Test
Called to perform the test.
port - Variable in class rmi.Skeleton
 
prerequisites - Static variable in class conformance.naming.ContactTest
Prerequisites.
prerequisites - Static variable in class conformance.naming.CreationTest
Prerequisites.
prerequisites - Static variable in class conformance.naming.DeletionTest
Prerequisites.
prerequisites - Static variable in class conformance.naming.ListingTest
Prerequisites.
prerequisites - Static variable in class conformance.naming.LockTest
Prerequisites.
prerequisites - Static variable in class conformance.naming.QueueTest
Prerequisites.
prerequisites - Static variable in class conformance.naming.RegistrationTest
Prerequisites.
prerequisites - Static variable in class conformance.naming.ReplicationTest
Prerequisites.
prerequisites - Static variable in class conformance.naming.StubRetrievalTest
Prerequisites.
prerequisites - Static variable in class conformance.rmi.ConnectionTest
Prerequisites.
prerequisites - Static variable in class conformance.rmi.StubTest
Prerequisites.
prerequisites - Static variable in class conformance.rmi.ThreadTest
Prerequisites.
prerequisites - Static variable in class conformance.storage.AccessTest
Prerequisites.
prerequisites - Static variable in class conformance.storage.DirectoryTest
Prerequisites.
prerequisites - Static variable in class conformance.storage.RegistrationTest
Prerequisites.
prerequisites - Static variable in class conformance.storage.ReplicationTest
Prerequisites.
print(PrintStream) - Method in class test.SeriesReport
Prints the test series report.
print(PrintStream) - Method in class test.TestReport
Prints a report for a failed test.
printErrorsAndExit() - Method in class apps.ClientApplication
Prints all errors and terminates the process.
printSummary(PrintStream) - Method in class test.SeriesReport
Prints a summary that includes the number of tests passed, failed, and not run.
PrintWorkingDirectory - Class in apps
Prints the current working directory.
PrintWorkingDirectory() - Constructor for class apps.PrintWorkingDirectory
 
probe(int, String) - Method in class conformance.naming.ContactTest
Attempts to connect to a listening socket at the given port.
probe() - Method in class conformance.rmi.SkeletonTest
Checks that it is possible to connect to the server.
ProxyHandler - Class in rmi
 
ProxyHandler(InetSocketAddress, Class<?>) - Constructor for class rmi.ProxyHandler
 
Put - Class in apps
Uploads a file to the distributed filesystem.
Put() - Constructor for class apps.Put
 

Q

q - Variable in class naming.Node
 
QueuedLockUser(boolean, int) - Constructor for class conformance.naming.QueueTest.QueuedLockUser
Creates the QueuedLockUser and sets its fields.
QueueTest - Class in conformance.naming
Tests lock queueing.
QueueTest() - Constructor for class conformance.naming.QueueTest
 
QueueTest.QueuedLockUser - Class in conformance.naming
Queueing thread.

R

rand - Variable in class naming.Leaf
 
read(byte[], int, int) - Method in class client.DFSInputStream
Reads bytes from the input stream into a byte buffer.
read() - Method in class client.DFSInputStream
Reads a single byte from the input stream.
read(Path, long, int) - Method in class conformance.naming.TestStorageServer
Throws UnsupportedOperationException.
read(Path, long, int) - Method in interface storage.Storage
Reads a sequence of bytes from a file.
read(Path, long, int) - Method in class storage.StorageServer
 
read_write_file - Variable in class conformance.storage.AccessTest
File on the storage server to be used for reading and writing tests.
ready(Class<? extends Test>, List<Class<? extends Test>>) - Static method in class test.Series
Checks that all of a test's prerequisites have been satisfied.
register(Storage, Command, Path[]) - Method in class conformance.storage.TestNamingServer
 
register(Storage, Command, Path[]) - Method in class naming.NamingServer
 
register(Storage, Command, Path[]) - Method in interface naming.Registration
Registers a storage server with the naming server.
registeredServers - Variable in class naming.NamingServer
 
registration(String, int) - Static method in class naming.NamingStubs
Returns a stub for a naming server registration interface.
registration(String) - Static method in class naming.NamingStubs
Returns a stub for a naming server registration interface.
Registration - Interface in naming
Naming server registration interface.
REGISTRATION_PORT - Static variable in class naming.NamingStubs
Default naming server registration port.
registration_stub - Variable in class conformance.naming.NamingTest
Stub for naming server registration interface.
registrationSkeleton - Variable in class naming.NamingServer
 
RegistrationTest - Class in conformance.naming
Tests the naming server register method.
RegistrationTest() - Constructor for class conformance.naming.RegistrationTest
Creates the RegistrationTest object.
RegistrationTest - Class in conformance.storage
Tests the storage server registration process.
RegistrationTest() - Constructor for class conformance.storage.RegistrationTest
Creates a RegistrationTest object.
RegistrationTest.UnsuccessfulStorageServer - Class in conformance.naming
Storage server used for the null pointer and duplicate registration tests.
released() - Method in class conformance.naming.LockTest.LockUser
Called after the thread has released the lock.
released() - Method in class conformance.naming.LockTest.RendezvousUser
Increments the number of threads that have exited.
released() - Method in class conformance.naming.LockTest.SecondExclusiveUser
Indicates that the test is complete.
RemotePath - Class in apps
Remote path parser.
RemotePath(String) - Constructor for class apps.RemotePath
Parses a remote path string and creates a RemotePath object.
RemotePath(RemotePath, Path) - Constructor for class apps.RemotePath
Creates a remote path object from the hostname of an existing object, and a replacement filesystem path.
Remove - Class in apps
Removes files and directories in the distributed filesystem.
Remove() - Constructor for class apps.Remove
 
remove(String) - Method in class apps.Remove
Deletes a single file or directory.
remove(String) - Method in class naming.Branch
 
remove() - Method in class test.TemporaryDirectory
Removes a temporary directory.
removed - Variable in class test.TemporaryDirectory
Flag used to indicate that the directory has already been removed.
rendezvous() - Method in interface conformance.rmi.TestInterface
Permits two threads to rendzevous with control inside the server.
rendezvous() - Method in class conformance.rmi.TestServer
 
rendezvous_exits - Variable in class conformance.naming.LockTest
Number of threads that have completed the rendezvous test.
rendezvous_first - Variable in class conformance.naming.QueueTest
Used to determine whether the current shared access user is the first at the rendezvous, and therefore should wait, or is the second, and therefore should wake the other thread.
rendezvous_wait - Variable in class conformance.naming.LockTest
For a rendezvous test, indicates that the next thread to take the lock is the first thread and should wait for the second.
rendezvous_wake - Variable in class conformance.naming.LockTest
Indicates that the second thread successfully took the lock in the rendzevous test.
RendezvousUser(Path, boolean) - Constructor for class conformance.naming.LockTest.RendezvousUser
Creates a rendezvous thread.
replace_path - Variable in class conformance.storage.ReplicationTest
File to be copied.
replicas - Variable in class naming.Leaf
 
replicate(Path, StubPair) - Method in class naming.Leaf
 
replicate_file - Variable in class conformance.naming.ReplicationTest
File to be replicated.
replicated - Variable in class conformance.naming.ReplicationTest
Indicates that the file has been replicated.
ReplicationTest - Class in conformance.naming
Tests naming server replication policy.
ReplicationTest() - Constructor for class conformance.naming.ReplicationTest
 
ReplicationTest - Class in conformance.storage
Tests storage server copy method.
ReplicationTest() - Constructor for class conformance.storage.ReplicationTest
Creates the ReplicationTest object.
ReplicationTest.InvalidationStorageServer - Class in conformance.naming
Storage server expecting to be (potentially) notified that the file may be deleted.
ReplicationTest.MirrorStorageServer - Class in conformance.naming
Storage server expecting a request to copy the file.
report() - Method in class apps.ClientApplication
Reports that an argument has been processed successfully, for an application that processes multiple arguments.
report(ApplicationFailure) - Method in class apps.ClientApplication
Reports that an argument has been processed, but the processing has caused a failure.
rmi - package rmi
Remote method invocation (RMI) library.
RMIException - Exception in rmi
RMI exceptions.
RMIException(String) - Constructor for exception rmi.RMIException
Creates an RMIException with the given message string.
RMIException(String, Throwable) - Constructor for exception rmi.RMIException
Creates an RMIException with a message string and the given cause.
RMIException(Throwable) - Constructor for exception rmi.RMIException
Creates an RMIException from the given cause.
root - Variable in class conformance.naming.LockTest
 
root - Variable in class conformance.naming.QueueTest
Path to the root directory.
root - Variable in class storage.StorageServer
 
root() - Method in class test.TemporaryDirectory
Retrieves the File object representing the temporary directory.
root_create_path - Variable in class conformance.storage.DirectoryTest
File to be created in the root directory.
run(String[]) - Method in class apps.Application
Runs the application.
run(String[]) - Method in class apps.ClientApplication
Wraps coreLogic in an exception handler.
run() - Method in class apps.ServerApplication.EOFThread
Monitors standard input for end-of-file.
run(String[]) - Method in class apps.ServerApplication
Runs the application.
run() - Method in class apps.ServerApplication.TerminationTimeoutTask
Terminates the virtual machine if the server has not yet stopped.
run() - Method in class conformance.naming.LockTest.LockUser
Runs the thread.
run() - Method in class conformance.naming.LockTest.WakeTask
Wakes the thread!!!
run() - Method in class conformance.naming.QueueTest.QueuedLockUser
Runs the thread.
run() - Method in class conformance.rmi.StubTest.ConnectionCheckThread
Accepts one connection at the server socket, then closes the connected socket.
run() - Method in class conformance.rmi.ThreadTest.SecondThread
Calls the wake method on the remote server.
run() - Method in class rmi.Skeleton.Listen
 
run() - Method in class rmi.Skeleton.Listen.Service
 
run() - Method in class test.Series.CleanupThread
Runs the cleanup thread.
run() - Method in class test.Series.CleanupTimeoutTask
Calls stopCleanup indicating timeout.
run(int, PrintStream) - Method in class test.Series
Runs the test series.
run(Class<? extends Test>, Timer, int) - Method in class test.Series
Runs a single test.
run() - Method in class test.Series.TestThread
Runs the test thread.
run() - Method in class test.Series.TestTimeoutTask
Calls stop indicating timeout.
run() - Method in class test.TemporaryDirectory.CleanupShutdownHook
Attempts to ensure that the directory is deleted when the virtual machine exits.
running - Variable in class test.InfiniteLoopTest
Flag used to force the main (looping) thread to terminate.

S

sameElements(T[], T[]) - Static method in class test.TestUtil
Checks if two arrays contain the same elements.
SampleClassUnderTest - Class in common
Sample class demonstrating unit tests, together with SampleUnitTest.
SampleClassUnderTest() - Constructor for class common.SampleClassUnderTest
 
SampleUnitTest - Class in common
Sample unit test for the class SampleClassUnderTest.
SampleUnitTest() - Constructor for class common.SampleUnitTest
 
second_directory - Variable in class conformance.storage.ReplicationTest
Second temporary directory for the second (source) storage server.
second_directory - Variable in class test.TemporaryDirectoryTest
Second temporary directory object.
second_server - Variable in class conformance.storage.ReplicationTest
Second (source) storage server.
second_stub - Variable in class conformance.storage.ReplicationTest
Client service interface for the second storage server.
SecondExclusiveUser(Path, boolean) - Constructor for class conformance.naming.LockTest.SecondExclusiveUser
Creates the thread object.
SecondThread() - Constructor for class conformance.rmi.ThreadTest.SecondThread
 
SelfTest - Class in test
Tests the testing library itself.
SelfTest() - Constructor for class test.SelfTest
 
separator - Static variable in class apps.RemotePath
Remote path separator.
serialVersionUID - Static variable in class common.Path
 
serialVersionUID - Static variable in class rmi.ProxyHandler
 
serialVersionUID - Static variable in exception rmi.RMIException
 
Series - Class in test
Test series.
Series(Class<? extends Test>[]) - Constructor for class test.Series
Creates a test series, given a list of test classes.
Series.CleanupThread - Class in test
Cleanup thread.
Series.CleanupTimeoutTask - Class in test
Timer task to time out the cleanup thread.
Series.TestState - Class in test
Individual test state.
Series.TestThread - Class in test
Test main thread.
Series.TestTimeoutTask - Class in test
Timer task to time out the test main thread.
SeriesReport - Class in test
Test series report.
SeriesReport(List<Class<? extends Test>>, List<Class<? extends Test>>, List<TestReport>) - Constructor for class test.SeriesReport
Creates a SeriesReport.
server - Static variable in class apps.NamingServerApp
The naming server.
server - Static variable in class apps.StorageServerApp
The storage server itself.
server - Variable in class conformance.naming.NamingTest
Naming server under test.
server - Variable in class conformance.rmi.SkeletonTest
Regular server object.
server - Variable in class conformance.rmi.ThreadTest
Server object used in the test.
server - Variable in class conformance.storage.StorageTest
Storage server being tested.
server - Variable in class rmi.Skeleton
 
server1 - Variable in class conformance.naming.DeletionTest
Storage server.
server1 - Variable in class conformance.naming.RegistrationTest
First storage server to register.
server1 - Variable in class conformance.naming.StubRetrievalTest
First registering storage server.
server1_stub - Variable in class conformance.naming.StubRetrievalTest
First storage server stub.
server2 - Variable in class conformance.naming.DeletionTest
Storage server.
server2 - Variable in class conformance.naming.RegistrationTest
Storage server registering duplicate files.
server2 - Variable in class conformance.naming.StubRetrievalTest
Second registering storage server.
server2_stub - Variable in class conformance.naming.StubRetrievalTest
Second storage server stub.
server3 - Variable in class conformance.naming.RegistrationTest
Storage server registering files that shadow a directory.
server4 - Variable in class conformance.naming.RegistrationTest
Storage server attempting to register the root directory.
ServerApplication - Class in apps
Base class of server applications.
ServerApplication() - Constructor for class apps.ServerApplication
 
ServerApplication.BadUsageException - Exception in apps
Indicates that the command line arguments supplied to the application are malformed.
ServerApplication.EOFThread - Class in apps
Thread that monitors standard input for end-of-file.
ServerApplication.TerminationTimeoutTask - Class in apps
Timer task to terminate the virtual machine if the server does not terminate gracefully.
serverStopped(Throwable) - Method in class apps.ServerApplication
Indicates that the server has stopped and wakes the waiting main thread.
serverType() - Method in class apps.NamingServerApp
Returns "naming".
serverType() - Method in class apps.ServerApplication
Returns a string indicating the kind of server being run in the application - either "naming" or "storage".
serverType() - Method in class apps.StorageServerApp
Returns "storage".
service(String, int) - Static method in class naming.NamingStubs
Returns a stub for a naming server client service interface.
service(String) - Static method in class naming.NamingStubs
Returns a stub for a naming server client service interface.
Service - Interface in naming
Naming server client service interface.
Service(Socket) - Constructor for class rmi.Skeleton.Listen.Service
 
service_error(RMIException) - Method in class conformance.naming.TestStorageServer.CommandSkeleton
Fails the test when an exception occurs in a service thread.
service_error(RMIException) - Method in class conformance.naming.TestStorageServer.StorageSkeleton
Fails the test when an exception occurs in a service thread.
service_error(RMIException) - Method in class conformance.rmi.ConnectionTest.TestSkeleton
Fails the test upon an error in a service thread.
service_error(RMIException) - Method in class conformance.rmi.ThreadTest.TestSkeleton
Fails the test upon an error in a service thread.
service_error(RMIException) - Method in class conformance.storage.TestNamingServer.TestSkeleton
Fails the test upon an exception in the service thread.
service_error(RMIException) - Method in class rmi.Skeleton
Called when an exception occurs at the top level in a service thread.
SERVICE_PORT - Static variable in class naming.NamingStubs
Default naming server client service port.
service_stub - Variable in class conformance.naming.NamingTest
Stub for naming server client service interface.
serviceSkeleton - Variable in class naming.NamingServer
 
serviceSocket - Variable in class rmi.Skeleton.Listen.Service
 
size(Path) - Method in class conformance.naming.TestStorageServer
Throws UnsupportedOperationException.
size() - Method in class naming.Branch
returns the number of files and folders
size() - Method in class naming.Leaf
 
size(Path) - Method in interface storage.Storage
Returns the length of a file, in bytes.
size(Path) - Method in class storage.StorageServer
 
skeleton - Variable in class conformance.rmi.ConnectionTest
Skeleton object used in the test.
skeleton - Variable in class conformance.rmi.SkeletonTest
The main skeleton used for testing.
skeleton - Variable in class conformance.rmi.StubTest
Dummy skeleton used during the construction of stubs.
skeleton - Variable in class conformance.rmi.ThreadTest
Skeleton object used in the test.
skeleton - Variable in class conformance.storage.TestNamingServer
Skeleton front for this server.
Skeleton<T> - Class in rmi
RMI skeleton
Skeleton(Class<T>, T) - Constructor for class rmi.Skeleton
Creates a Skeleton with no initial server address.
Skeleton(Class<T>, T, InetSocketAddress) - Constructor for class rmi.Skeleton
Creates a Skeleton with the given initial server address.
Skeleton.Listen - Class in rmi
 
Skeleton.Listen.Service - Class in rmi
 
skeletons_started - Variable in class conformance.naming.TestStorageServer
Indicates that the skeletons have been started.
SkeletonTest - Class in conformance.rmi
Performs basic tests on the public interface of Skeleton.
SkeletonTest() - Constructor for class conformance.rmi.SkeletonTest
Creates a SkeletonTest object.
SkeletonTest.BadInterfaceImplementation - Class in conformance.rmi
Dummy implementation of BadInterface.
SkeletonTest.TestSkeleton - Class in conformance.rmi
Derivative of Skeleton which notifies the test when it stops.
skip(long) - Method in class client.DFSInputStream
Advances the stream offset.
skip(long) - Method in class client.DFSOutputStream
Advances the stream offset.
sleeping - Variable in class conformance.rmi.TestServer
The sleeping thread does not return until this becomes false.
socket - Variable in class conformance.rmi.StubTest
Server socket used by the listening thread for the connection check.
sStub - Variable in class naming.StubPair
 
start(Registration, Path[], Path[]) - Method in class conformance.naming.TestStorageServer
Starts the test storage server.
start() - Method in class conformance.storage.TestNamingServer
Starts the test naming server.
start() - Method in class naming.NamingServer
Starts the naming server.
start() - Method in class rmi.Skeleton
Starts the skeleton server.
start(String, Registration) - Method in class storage.StorageServer
Starts the storage server and registers it with the given naming server.
started() - Method in class conformance.naming.LockTest.LockUser
Called before the thread attempts to take the lock.
started() - Method in class conformance.naming.LockTest.SecondExclusiveUser
Ensures that the second thread does not try to take the lock before the first thread has done successfully.
started - Variable in class rmi.Skeleton
 
startServer(String[]) - Method in class apps.NamingServerApp
Starts the naming server.
startServer(String[]) - Method in class apps.ServerApplication
Starts the server.
startServer(String[]) - Method in class apps.StorageServerApp
Starts the storage server.
startSkeletons() - Method in class conformance.naming.TestStorageServer
Starts skeletons for the client and command interfaces.
startTerminationTimer() - Method in class apps.ServerApplication
Schedules a task that will hard-terminate the JVM if the server fails to stop gracefully.
startThread(boolean, int) - Method in class conformance.naming.QueueTest
Starts a thread and gives it time to enter the root directory lock's queue.
state - Variable in class test.Series.CleanupThread
Test state.
state - Variable in class test.Series.CleanupTimeoutTask
Test state.
state - Variable in class test.Series.TestThread
Test state object.
state - Variable in class test.Series.TestTimeoutTask
Test state.
state - Variable in class test.Test
Test state reference.
staticField(Class<?>, Class<T>, String, T) - Static method in class test.Series
Retrieves the value of a static field in a class.
stop() - Method in class apps.NamingServerApp.StoppingNamingServer
Schedules a timeout before attempting to stop the server gracefully.
stop() - Method in class apps.StorageServerApp.StoppingStorageServer
Schedules a timeout before attempting to stop the server gracefully.
stop() - Method in class conformance.naming.TestStorageServer
Stops the storage server.
stop() - Method in class conformance.storage.TestNamingServer
Stops the test naming server.
stop() - Method in class naming.NamingServer
Stops the naming server.
stop() - Method in class rmi.Skeleton
Stops the skeleton server, if it is already running.
stop() - Method in class storage.StorageServer
Stops the storage server.
stop(Throwable) - Method in class test.Series.TestState
Stops the test.
stop_cause - Variable in class apps.ServerApplication
If the server stopped due to an exception, gives the exception.
stop_cause - Variable in class test.TestReport
Reason for test failure, or null if the test was successful.
stopCleanup(FatalError) - Method in class test.Series.TestState
Stops test cleanup.
stopped(Throwable) - Method in class apps.NamingServerApp.StoppingNamingServer
Calls serverStopped.
stopped - Variable in class apps.ServerApplication
Indicates that the server has stopped.
stopped(Throwable) - Method in class apps.StorageServerApp.StoppingStorageServer
Calls serverStopped.
stopped - Variable in class conformance.naming.NamingTest
Indicates that the naming server has stopped.
stopped(Throwable) - Method in class conformance.naming.NamingTest.TestNamingServer
Wakes any thread waiting in clean.
stopped - Variable in class conformance.rmi.SkeletonTest
Indicates whether the skeleton has stopped.
stopped(Throwable) - Method in class conformance.rmi.SkeletonTest.TestSkeleton
Wakes the testing main thread.
stopped(Throwable) - Method in class conformance.rmi.ThreadTest.TestSkeleton
Wakes any threads blocked in the server.
stopped - Variable in class conformance.storage.TestNamingServer
Indicates that the skeleton has stopped.
stopped(Throwable) - Method in class conformance.storage.TestNamingServer.TestSkeleton
Sets the stopped flag and wakes any thread waiting in the server's stop method.
stopped(Throwable) - Method in class naming.NamingServer
Indicates that the server has completely shut down.
stopped(Throwable) - Method in class rmi.Skeleton
Called when the listening thread exits.
stopped(Throwable) - Method in class storage.StorageServer
Called when the storage server has shut down.
stopped - Variable in class test.Series.TestState
Flag set if the test has stopped.
StoppingNamingServer() - Constructor for class apps.NamingServerApp.StoppingNamingServer
 
StoppingStorageServer(File) - Constructor for class apps.StorageServerApp.StoppingStorageServer
Creates the storage server.
stopServer() - Method in class apps.NamingServerApp
Stops the naming server.
stopServer() - Method in class apps.ServerApplication
Stops the server.
stopServer() - Method in class apps.StorageServerApp
Stops the storage server.
storage - package storage
Storage server.
Storage - Interface in storage
Storage server client interface.
storage_server - Variable in class client.DFSInputStream
Storage server hosting the file.
storage_server - Variable in class client.DFSOutputStream
Storage server hosting the file.
storage_server - Variable in class conformance.naming.CreationTest
Storage server used in the test.
storage_server - Variable in class conformance.naming.ListingTest
Storage server providing the files used in the test.
storage_server - Variable in class conformance.naming.LockTest
Storage server used in the test.
storage_servers - Variable in class conformance.storage.TestNamingServer
Number of storage servers registered with the naming server.
StorageServer - Class in storage
Storage server.
StorageServer(File) - Constructor for class storage.StorageServer
Creates a storage server, given a directory on the local filesystem.
StorageServerApp - Class in apps
Storage server application.
StorageServerApp() - Constructor for class apps.StorageServerApp
 
StorageServerApp.StoppingStorageServer - Class in apps
Application storage server.
StorageSkeleton() - Constructor for class conformance.naming.TestStorageServer.StorageSkeleton
Creates the client interface skeleton.
storageSkeleton - Variable in class storage.StorageServer
 
StorageTest - Class in conformance.storage
Base class for storage server tests.
StorageTest(String[][], Path[]) - Constructor for class conformance.storage.StorageTest
Creates a StorageTest object.
stub - Variable in class conformance.rmi.ThreadTest
Stub through which communication with the server occurs.
stub() - Method in class conformance.storage.TestNamingServer
Retrieves a registration stub for the test server.
Stub - Class in rmi
RMI stub factory.
Stub() - Constructor for class rmi.Stub
 
StubPair - Class in naming
This is a class that encapsulates the command stub and the storage stub into one entity.
StubPair(Storage, Command) - Constructor for class naming.StubPair
 
StubRetrievalTest - Class in conformance.naming
Tests that the naming server getStorage method returns the correct storage server stubs.
StubRetrievalTest() - Constructor for class conformance.naming.StubRetrievalTest
Creates the StubRetrievalTest and sets the notice.
stubs - Variable in class naming.Node
 
StubTest - Class in conformance.rmi
Performs basic tests on the public interface of Stub.
StubTest() - Constructor for class conformance.rmi.StubTest
 
StubTest.ConnectionCheckThread - Class in conformance.rmi
Thread listening for a connection.
subDirectories - Variable in class naming.Branch
 
success() - Method in class test.Test
Terminates the test as successful.
successful() - Method in class test.SeriesReport
Returns true if and only if the test series completed successfully.
successful() - Method in class test.TestReport
Returns true if and only if the test was successful: if both the test stop cause and the cleanup stop cause are null.
successful_tests - Variable in class test.SeriesReport
Successful tests.

T

task - Variable in class test.Series.TestState
Current task message.
task(String) - Method in class test.Series.TestState
Sets the current task message.
task(String) - Method in class test.Test
Sets the test task message.
task() - Method in class test.Test
Clears the task message.
task - Variable in class test.TestReport
Task message when the test failed, or null if there was no task message, or the test was successful.
TemporaryDirectory - Class in test
Temporary directories for testing.
TemporaryDirectory() - Constructor for class test.TemporaryDirectory
Creates a temporary directory.
TemporaryDirectory.CleanupShutdownHook - Class in test
Cleanup task.
TemporaryDirectoryTest - Class in test
Checks TemporaryDirectory.
TemporaryDirectoryTest() - Constructor for class test.TemporaryDirectoryTest
 
TERMINATION_TIMEOUT - Static variable in class apps.ServerApplication
Time the server is allotted to stop gracefully, in milliseconds.
termination_timeout_timer - Variable in class apps.ServerApplication
Timer used to terminate the JVM forcefully if the server refuses to exit gracefully when commanded.
TerminationTimeoutTask() - Constructor for class apps.ServerApplication.TerminationTimeoutTask
 
test - package test
Testing library.
test - Variable in class conformance.naming.TestStorageServer
Test which is using this storage server.
test - Variable in class conformance.storage.TestNamingServer
Test object that is running this server.
test - Variable in class test.Series.TestState
Test object, if it has been created.
Test - Class in test
Base class of tests.
Test() - Constructor for class test.Test
 
test_class - Variable in class test.Series.TestThread
Test class.
test_class - Variable in class test.TestReport
Test class.
test_files - Variable in class conformance.storage.StorageTest
Files to be created in the storage server temporary directory.
testAppend() - Method in class conformance.storage.AccessTest
Tests write random access capability.
testBadArguments() - Method in class conformance.naming.DeletionTest
Checks that the delete method cannot be called with bad arguments.
testBadPaths() - Method in class conformance.naming.LockTest
Checks that the lock and unlock methods reject bad arguments.
testBadValues() - Method in class conformance.storage.ReplicationTest
Tests that the copy method rejects bad arguments such as null.
testConstructors() - Method in class conformance.common.PathTest
Tests Path constructors and the toString and equals methods.
testCreate() - Method in class conformance.storage.DirectoryTest
Tests the create method
testCreateDirectoryArguments() - Method in class conformance.naming.CreationTest
Checks that the createDirectory method rejects invalid arguments.
testCreateFileArguments() - Method in class conformance.naming.CreationTest
Checks that the createFile method rejects invalid arguments.
testCreation() - Method in class conformance.storage.ReplicationTest
Checks that the copy method correctly creates new files.
testDelete() - Method in class conformance.storage.DirectoryTest
Tests the delete method.
testDeletion(Path, int) - Method in class conformance.naming.DeletionTest
Commands the naming server to delete the given object, and then checks that the number of delete requests received by storage servers is equal to the number expected.
testDirectoryCreation(Path) - Method in class conformance.naming.CreationTest
Tests that valid requests to create a directory cause a directory to be created on the naming server.
testDuplicateRegistration() - Method in class conformance.naming.RegistrationTest.UnsuccessfulStorageServer
Tests that the naming server rejects repeat registrations of the same storage server.
testExclusion(Path, boolean, Path, boolean) - Method in class conformance.naming.LockTest
Checks that two threads are not able to simultaneously lock the two given objects for the requested kinds of access.
TestFailed - Exception in test
Indicates that a test has failed.
TestFailed() - Constructor for exception test.TestFailed
Constructs a TestFailed object.
TestFailed(String) - Constructor for exception test.TestFailed
Constructs a TestFailed object from a message string.
TestFailed(String, Throwable) - Constructor for exception test.TestFailed
Constructs a TestFailed object from a message string and an underlying cause.
testFileCreation(Path) - Method in class conformance.naming.CreationTest
Tests that valid requests to create a file cause a file to be created on the naming server and on the storage server.
TestInterface - Interface in conformance.rmi
Simple interface for an RMI server.
testIterator() - Method in class conformance.common.PathTest
Tests the operation of the path iterator.
testListing() - Method in class conformance.common.PathTest
Tests the list method.
testMerging() - Method in class conformance.naming.RegistrationTest
Performs several registrations that should succeed, and checks that the files chosen by the naming server for deletion are correct.
TestNamingServer() - Constructor for class conformance.naming.NamingTest.TestNamingServer
 
TestNamingServer - Class in conformance.storage
Test naming server.
TestNamingServer(Test) - Constructor for class conformance.storage.TestNamingServer
Creates the test naming server.
TestNamingServer.TestSkeleton - Class in conformance.storage
Skeleton front for the test naming server.
testNullPointers() - Method in class conformance.naming.RegistrationTest.UnsuccessfulStorageServer
Tests that the naming server register method rejects null arguments.
testReadBasic() - Method in class conformance.storage.AccessTest
Tests the read method with bad arguments.
testReadWrite() - Method in class conformance.storage.AccessTest
Tests the write method with valid arguments.
testReadWriteBounds() - Method in class conformance.storage.AccessTest
Tests read and write with arguments that are out of file bounds.
testReplacement() - Method in class conformance.storage.ReplicationTest
Checks that the copy method correctly replaces existing files.
TestReport - Class in test
Individual test report.
TestReport(Class<? extends Test>, Throwable, FatalError) - Constructor for class test.TestReport
Creates a TestReport object.
tests - Variable in class test.Series
List of tests making up this test series.
TestServer - Class in conformance.rmi
Simple implementation of TestInterface.
TestServer() - Constructor for class conformance.rmi.TestServer
 
testSharing(Path, boolean, Path, boolean) - Method in class conformance.naming.LockTest
Checks that two threads are able to lock the two given paths simultaneously for the requested kind of access.
testSize() - Method in class conformance.storage.AccessTest
Tests the size method with bad arguments.
TestSkeleton() - Constructor for class conformance.rmi.ConnectionTest.TestSkeleton
Creates a TestSkeleton at the appropriate address, with a new server object.
TestSkeleton() - Constructor for class conformance.rmi.SkeletonTest.TestSkeleton
Creates a TestSkeleton
TestSkeleton() - Constructor for class conformance.rmi.ThreadTest.TestSkeleton
Creates a TestSkeleton with a new server object.
TestSkeleton() - Constructor for class conformance.storage.TestNamingServer.TestSkeleton
Creates the skeleton.
testSplitting() - Method in class conformance.common.PathTest
Tests consistency among the isRoot, parent, and last methods.
TestState() - Constructor for class test.Series.TestState
 
TestStorageServer - Class in conformance.naming
Base class of storage servers used to test the naming server.
TestStorageServer(Test) - Constructor for class conformance.naming.TestStorageServer
Creates the test storage server.
TestStorageServer.CommandSkeleton - Class in conformance.naming
Command interface skeleton.
TestStorageServer.StorageSkeleton - Class in conformance.naming
Client interface skeleton.
testStub(TestInterface) - Method in class conformance.rmi.ConnectionTest
Runs tests with a given stub.
testSubpaths() - Method in class conformance.common.PathTest
Tests the isSubpath method.
TestThread(Class<? extends Test>, Series.TestState) - Constructor for class test.Series.TestThread
Constructs a test thread.
TestTimeoutTask(Series.TestState) - Constructor for class test.Series.TestTimeoutTask
Creates the timeout task.
TestUtil - Class in test
Common helper methods for testing.
TestUtil() - Constructor for class test.TestUtil
 
testWriteBasic() - Method in class conformance.storage.AccessTest
Tests the write method with bad arguments.
thread_exits - Variable in class conformance.naming.QueueTest
Number of threads that have released the lock on the root directory.
ThreadTest - Class in conformance.rmi
Checks that the skeleton supports multiple simultaneous connections.
ThreadTest() - Constructor for class conformance.rmi.ThreadTest
 
ThreadTest.SecondThread - Class in conformance.rmi
Wakes the other thread, which is waiting for the reply from the server.
ThreadTest.TestSkeleton - Class in conformance.rmi
Test skeleton class that fails the test when an exception is received in one of the skeleton's threads.
Timeout - Exception in test
Indicates that a test has failed due to timeout.
Timeout() - Constructor for exception test.Timeout
Constructs a Timeout object.
toFile(File) - Method in class common.Path
Converts the path to File object.
toFolder(File) - Method in class common.Path
Converts the path to File object.
toString() - Method in class apps.RemotePath
Converts the path to a string for printing in error messages.
toString() - Method in class common.Path
Converts the path to a string.
total_requests - Variable in class naming.Leaf
 
Touch - Class in apps
Creates empty files.
Touch() - Constructor for class apps.Touch
 
touch(String) - Method in class apps.Touch
Attempts to create a remote file, if it does not exist.
traverse(Path) - Method in class naming.NamingServer
 
triple(int) - Method in class common.SampleClassUnderTest
Returns the triple of its argument.

U

unit - package unit
Unit tests.
UnitTests - Class in unit
Runs all unit tests on distributed filesystem components.
UnitTests() - Constructor for class unit.UnitTests
 
unlock(Path, boolean) - Method in class naming.NamingServer
 
unlock(Path, boolean) - Method in interface naming.Service
Unlocks a file or directory.
unlockExclusive() - Method in class naming.Node
 
unlockNonExclusive() - Method in class naming.Node
 
UnsuccessfulStorageServer() - Constructor for class conformance.naming.RegistrationTest.UnsuccessfulStorageServer
Create the storage server.
usage() - Static method in class apps.Launcher
Prints a help message and terminates the application.

W

wake() - Method in class conformance.rmi.SkeletonTest
Wakes ensureSkeletonRuns.
wake - Variable in class conformance.rmi.TestServer
If true, the next thread to call rendezvous should wake all sleeping threads.
wake() - Method in class conformance.rmi.TestServer
Wakes all sleeping receiving threads.
wake_all - Variable in class conformance.naming.CreationTest
Indicates that all wait loops should be terminated.
wake_all - Variable in class conformance.naming.LockTest
Indicates that the test has completed and all waits are cancelled.
wake_all - Variable in class conformance.naming.QueueTest
Indicates that the test is complete and any sleeping threads should be awakened.
wake_all - Variable in class conformance.naming.ReplicationTest
Indicates that all waiting threads should terminate.
WakeTask() - Constructor for class conformance.naming.LockTest.WakeTask
 
write(byte[], int, int) - Method in class client.DFSOutputStream
Writes bytes from a buffer to the output stream.
write(int) - Method in class client.DFSOutputStream
Writes a single byte to the output stream.
write(Path, long, byte[]) - Method in class conformance.naming.TestStorageServer
Throws UnsupportedOperationException.
write(Path, long, byte[]) - Method in interface storage.Storage
Writes bytes to a file.
write(Path, long, byte[]) - Method in class storage.StorageServer
 
write_data - Variable in class conformance.storage.AccessTest
Small buffer of data to be used in writing tests.
A B C D E F G H I L M N O P Q R S T U W 
Skip navigation links