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

A

AbstractHashSpan - Class in org.tranche.hash.span
A type of hash span where the universe of hashes is divided into large chunks.
AbstractHashSpan(int, int) - Constructor for class org.tranche.hash.span.AbstractHashSpan
 
AbstractHashSpan(HashSpan) - Constructor for class org.tranche.hash.span.AbstractHashSpan
 
AbstractHttpHandler - Class in org.tranche.httpd
Abstract class for handling HTTP requests.
AbstractHttpHandler() - Constructor for class org.tranche.httpd.AbstractHttpHandler
 
ABSTRACTION_DISCRETE_VALUE - Static variable in class org.tranche.hash.span.AbstractHashSpan
 
ABSTRACTION_FIRST - Static variable in class org.tranche.hash.span.AbstractHashSpan
 
ABSTRACTION_LAST - Static variable in class org.tranche.hash.span.AbstractHashSpan
 
action - Variable in class org.tranche.server.logs.LogEntryQueueItem
Log action
ACTION_ANY - Static variable in class org.tranche.logs.activity.Activity
We reserved the four high-order bits for action types so can expand (up to 128 values)
ACTION_DELETE - Static variable in class org.tranche.logs.activity.Activity
 
ACTION_FAILED - Static variable in class org.tranche.add.AddFileToolEvent
Code for a failure action.
ACTION_FAILED - Static variable in class org.tranche.get.GetFileToolEvent
Code for a failure action.
ACTION_FINISHED - Static variable in class org.tranche.add.AddFileToolEvent
Code for a finished action.
ACTION_FINISHED - Static variable in class org.tranche.get.GetFileToolEvent
Code for a finished action.
ACTION_REPLACE - Static variable in class org.tranche.logs.activity.Activity
 
ACTION_SET - Static variable in class org.tranche.logs.activity.Activity
 
ACTION_SKIPPED - Static variable in class org.tranche.get.GetFileToolEvent
Code for a skipping action.
ACTION_STARTED - Static variable in class org.tranche.add.AddFileToolEvent
Code for a started action.
ACTION_STARTED - Static variable in class org.tranche.get.GetFileToolEvent
Code for a started action.
ACTION_STARTING - Static variable in class org.tranche.add.AddFileToolEvent
Code for a starting action.
ACTION_STARTING - Static variable in class org.tranche.get.GetFileToolEvent
Code for a starting action.
ACTION_TRYING - Static variable in class org.tranche.add.AddFileToolEvent
Code for a trying action.
ACTION_TRYING - Static variable in class org.tranche.get.GetFileToolEvent
Code for a trying action.
ACTION_UPLOADED - Static variable in class org.tranche.add.AddFileToolEvent
Code for a uploaded action.
ActionByte - Class in org.tranche.server.logs
Class definine the components of an action byte.
ActionByte() - Constructor for class org.tranche.server.logs.ActionByte
 
Activity - Class in org.tranche.logs.activity
Entry in activity log, which is used to log all requests that impact data held by Tranche server.
Activity(byte, Signature, BigHash) - Constructor for class org.tranche.logs.activity.Activity
Used to create an Activity object that will be written to ActivityLog.
Activity(long, byte, Signature, BigHash) - Constructor for class org.tranche.logs.activity.Activity
Used to create an Activity object that was read from the ActivityLog.
Activity(InputStream) - Constructor for class org.tranche.logs.activity.Activity
 
Activity(byte[]) - Constructor for class org.tranche.logs.activity.Activity
 
ACTIVITY_BALANCING - Static variable in class org.tranche.flatfile.HashSpanFixingThread
Static references to the activities this thread will undertake
ACTIVITY_DELETING - Static variable in class org.tranche.flatfile.HashSpanFixingThread
Static references to the activities this thread will undertake
ACTIVITY_DOWNLOADING - Static variable in class org.tranche.flatfile.HashSpanFixingThread
Static references to the activities this thread will undertake
ACTIVITY_HEALING - Static variable in class org.tranche.flatfile.HashSpanFixingThread
Static references to the activities this thread will undertake
ACTIVITY_NOTHING - Static variable in class org.tranche.flatfile.HashSpanFixingThread
Static references to the activities this thread will undertake
ActivityArrayCallback - Class in org.tranche.remote
Represents an activity array server request.
ActivityArrayCallback(long, RemoteTrancheServer, String) - Constructor for class org.tranche.remote.ActivityArrayCallback
 
ActivityLog - Class in org.tranche.logs.activity
Activity log used to log all requests that impact data held by Tranche server.
ActivityLog() - Constructor for class org.tranche.logs.activity.ActivityLog
Instantiate an activity log used to log all requests that impact data held by Tranche server.
ActivityLog(File) - Constructor for class org.tranche.logs.activity.ActivityLog
Instantiate an activity log used to log all requests that impact data held by Tranche server.
ActivityLog(File, File, File) - Constructor for class org.tranche.logs.activity.ActivityLog
Instantiate an activity log used to log all requests that impact data held by Tranche server.
ActivityLogEntry - Class in org.tranche.logs.activity
Wrapper class for data that is held in the activity log file.
ActivityLogEntry(long, byte, int, BigHash) - Constructor for class org.tranche.logs.activity.ActivityLogEntry
 
ActivityLogEntry(InputStream) - Constructor for class org.tranche.logs.activity.ActivityLogEntry
 
ActivityLogEntry(byte[]) - Constructor for class org.tranche.logs.activity.ActivityLogEntry
 
add(DataBlockCacheEntry, boolean) - Method in class org.tranche.flatfile.DataBlockCache
Add a DataBlockCacheEntry to the cache.
add(DataDirectoryConfiguration) - Method in class org.tranche.flatfile.DataBlockUtil
Add a DataDirectoryConfiguration object to the DataBlockUtil so that its directory can be used by the server.
add(DataDirectoryConfiguration, String) - Method in class org.tranche.flatfile.DataBlockUtil
Add a DataDirectoryConfiguration object to the DataBlockUtil so that its directory can be used by the server.
add(BigHash) - Method in class org.tranche.hash.BigHash
 
add(BigHash) - Method in class org.tranche.hash.DiskBackedBigHashList
Append hash to list.
add(BigHash) - Method in class org.tranche.hash.DiskBackedBigHashSet
 
add(Socket) - Method in class org.tranche.httpd.Queue
The proper way of adding sockets to the queue.
add(ProjectFilePart) - Method in class org.tranche.project.DiskBackedProjectFilePartSet
Adds a project file part set to the list of project file part sets.
add(LogEntry) - Method in class org.tranche.server.logs.LogEntries
Add a log entry for tracking.
AddAdministratorItem - Class in org.tranche.clc
Class inherited from the Tranche Server CLC Item for adding an administrator item.
AddAdministratorItem(TrancheServer, TrancheServerCommandLineClient) - Constructor for class org.tranche.clc.AddAdministratorItem
Add a new administrator to the server's configuration.
addAll(Collection<HashSpan>) - Method in class org.tranche.hash.span.HashSpanCollection
Adds all the hash spans in the given collection to this collection.
addAll(Collection<? extends ProjectFilePart>) - Method in class org.tranche.project.DiskBackedProjectFilePartSet
Throws RuntimeException
addAnnotation(String, String) - Method in class org.tranche.meta.MetaData
 
addAttribute(String, String) - Method in class org.tranche.clc.TrancheServerCommandLineClientItem
Add attribute and description to CLC.
addAttribute(String, String, boolean) - Method in class org.tranche.clc.TrancheServerCommandLineClientItem
Add attribute, description, and marking whether it is a required attribute for the CLC.
addBannedServerHost(String) - Static method in class org.tranche.network.NetworkUtil
 
addBytes(BigHash, boolean, byte[]) - Method in class org.tranche.flatfile.DataBlock
Add a chunk to this DataBlock.
addBytes(BigHash, boolean, byte[], int) - Method in class org.tranche.flatfile.DataBlock
Add a chunk to this DataBlock.
addChunkToRetrieve(BigHash, boolean) - Method in class org.tranche.flatfile.ReplaceCorruptedDataBlockThread
Add a chunk that should be repaired from a corrupted data block.
addConfirmationEmail(String) - Method in class org.tranche.add.AddFileTool
Adds
addConfirmationEmails(Collection<String>) - Method in class org.tranche.add.AddFileTool
 
addCoreServerRowRange(StatusTableRowRange) - Method in class org.tranche.network.ServerStatusTablePerspective
Add range for non-core servers.
addData(BigHash, byte[]) - Method in class org.tranche.flatfile.DataBlockUtil
Synchronized access to setting data chunk bytes.
addDataDirectory(DataDirectoryConfiguration) - Method in class org.tranche.configuration.Configuration
Adds the given data directory to the set of data directories on this server.
addDataSet(BigHash) - Method in class org.tranche.project.ArbitraryProjectBuildingTool
Add an entire data.
addExternalServerURLsToUse(Collection<String>) - Method in class org.tranche.get.GetFileTool
Adds a collection of server urls from external networks to be used during download.
addExternalServerURLToUse(String) - Method in class org.tranche.get.GetFileTool
Adds the url of a server from an external network to be used during download.
addFailureException(PropagationExceptionWrapper) - Method in class org.tranche.add.AddFileToolReport
 
addFailureException(PropagationExceptionWrapper) - Method in class org.tranche.get.GetFileToolReport
 
addFailureExceptions(Collection<PropagationExceptionWrapper>) - Method in class org.tranche.add.AddFileToolReport
 
addFailureExceptions(Collection<PropagationExceptionWrapper>) - Method in class org.tranche.get.GetFileToolReport
 
addFileFromProject(BigHash, ProjectFilePart) - Method in class org.tranche.project.ArbitraryProjectBuildingTool
Add a file that should be added to the project.
addFileFromProject(BigHash, BigHash) - Method in class org.tranche.project.ArbitraryProjectBuildingTool
Adds a file chunkHash to the project chunkHash.
AddFileTool - Class in org.tranche.add
A helper utility that adds single files or directories (a.k.a.
AddFileTool() - Constructor for class org.tranche.add.AddFileTool
 
AddFileToolAdapter - Class in org.tranche.add
 
AddFileToolAdapter() - Constructor for class org.tranche.add.AddFileToolAdapter
 
addFileToolAutoRecoverFromOOM - Static variable in class org.tranche.util.TestUtil
Flag to simulate how a tool might recover from an OutOfMemoryError.
AddFileToolEvent - Class in org.tranche.add
 
AddFileToolEvent(short, int, File, String, BigHash, BigHash, String) - Constructor for class org.tranche.add.AddFileToolEvent
 
AddFileToolListener - Interface in org.tranche.add
 
AddFileToolPerformanceLog - Class in org.tranche.add
Used to help troubleshoot performance issues for client.
AddFileToolPerformanceLog() - Constructor for class org.tranche.add.AddFileToolPerformanceLog
 
AddFileToolReport - Class in org.tranche.add
 
AddFileToolReport(long, String, String, boolean, boolean, BigHash) - Constructor for class org.tranche.add.AddFileToolReport
 
AddFileToolReport(InputStream) - Constructor for class org.tranche.add.AddFileToolReport
 
AddFileToolReportListener - Class in org.tranche.add
 
AddFileToolReportListener(AddFileToolReport) - Constructor for class org.tranche.add.AddFileToolReportListener
 
addFileToolSimulateOOM - Static variable in class org.tranche.util.TestUtil
Flag to simulate an OutOfMemoryError.
AddFileToolUtil - Class in org.tranche.add
Utility that contains methods for the AddFileTool.
addHashSpan(HashSpan) - Method in class org.tranche.configuration.Configuration
Adds the given hash span to this server.
addIndividualFile(BigHash) - Method in class org.tranche.project.ArbitraryProjectBuildingTool
Add a file that should be added to the project.
addItem(TrancheServerCommandLineClientItem) - Method in class org.tranche.clc.TrancheServerCommandLineClient
Adds a new command line command to this client.
addKnownProject(BigHash) - Method in class org.tranche.flatfile.FlatFileTrancheServer
 
addListener(AddFileToolListener) - Method in class org.tranche.add.AddFileTool
Adds a listener.
addListener(FlatFileTrancheServerListener) - Method in class org.tranche.flatfile.FlatFileTrancheServer
Add a FlatFileTrancheServerListener.
addListener(GetFileToolListener) - Method in class org.tranche.get.GetFileTool
Adds a listener.
addListener(ConnectionListener) - Static method in class org.tranche.network.ConnectionUtil
Adds a connection listener.
addListener(StatusTableListener) - Method in class org.tranche.network.StatusTable
Adds the given listener to the list of listeners.
addListener(RemoteTrancheServerListener) - Method in class org.tranche.remote.RemoteTrancheServer
Adds the given server listener from the list of server listeners.
addListener(RoutingTrancheServerListener) - Method in class org.tranche.routing.RoutingTrancheServer
 
addListener(TestUtilListener) - Static method in class org.tranche.util.TestUtil
Add TestUtilListener to TestUtil.
addLog(DataBlockUtilLog) - Method in class org.tranche.flatfile.logs.DataBlockUtilLogger
Add a log that conforms to DataBlockUtilLog interface.
addMetaData(BigHash, byte[]) - Method in class org.tranche.flatfile.DataBlockUtil
Synchronized access to setting meta data chunk bytes.
addMetaData(BigHash, byte[], FlatFileTrancheServer, User) - Static method in class org.tranche.server.ServerStartupThread
 
addMetaDataAnnotation(MetaDataAnnotation) - Method in class org.tranche.add.AddFileTool
Adds the given meta data annotation to the meta data annotations.
addNonCoreServerRowRange(StatusTableRowRange) - Method in class org.tranche.network.ServerStatusTablePerspective
Add range for non-core servers.
addOutput(PrintStream) - Method in class org.tranche.project.BackupProjectTool
Add a PrintStream to collection; output statements will be printed to all PrintStream instances.
addPart(BigHash) - Method in class org.tranche.meta.MetaData
Adds the given hash to the list of part hashes for the final encoding of the currently selected uploader.
addPart(ProjectFilePart) - Method in class org.tranche.project.ProjectFile
Adds a project file part to this project.
addProjectReplicationToolListener(ProjectReplicationToolListener) - Method in class org.tranche.project.ProjectReplicationTool
Add a listener to the tool.
addRemoteCallbackPurgeListener(RemoteCallbackPurgeListener) - Static method in class org.tranche.remote.RemoteCallbackRegistry
Add a purge listener.
addServer(String) - Method in class org.tranche.hash.span.HashSpanCalculator
Add a server to consider in the final calculation.
addServerConfig(ServerConfiguration) - Method in class org.tranche.configuration.Configuration
Adds the given server configuration to the list of server configurations on this server.
addServerHostToUse(String) - Method in class org.tranche.flatfile.HashSpanFixingThread
Add a server to use.
addServerListener(RemoteTrancheServerListener) - Static method in class org.tranche.servers.ServerUtil
Adds a server listener to listen to all server communication.
addServerListener(String, RemoteTrancheServerListener) - Static method in class org.tranche.servers.ServerUtil
Adds a servers listener to listen only to the Tranche server with the given host name.
addServers(List<String>) - Method in class org.tranche.hash.span.HashSpanCalculator
Add a list of servers to consider in the final calculation.
addServersToUse(Collection<String>) - Method in class org.tranche.add.AddFileTool
Adds a collection of server host names to be used during upload.
addServersToUse(Collection<String>) - Method in class org.tranche.get.GetFileTool
Adds a collection of server host names to be used during download.
addServerToHostTestMap(String, String) - Static method in class org.tranche.util.TestUtil
Add a map entry for a single server.
addServerToUse(String) - Method in class org.tranche.add.AddFileTool
Adds the host name of a server to be used during upload.
addServerToUse(String) - Method in class org.tranche.get.GetFileTool
Adds the host name of a server to be used during download.
addServerToUse(String) - Method in class org.tranche.project.ArbitraryProjectBuildingTool
Add a server to use.
addStickyProject(BigHash) - Method in class org.tranche.configuration.Configuration
Make the project with the given hash as a sticky to this server.
addStickyServer(String) - Method in class org.tranche.add.AddFileTool
Adds the host name of a server to which data should be stuck.
addStickyServer(String) - Method in class org.tranche.meta.MetaData
 
addStickyServers(Collection<String>) - Method in class org.tranche.add.AddFileTool
Adds a collection of server host names to which data should be stuck.
addTargetHashSpan(HashSpan) - Method in class org.tranche.configuration.Configuration
Adds the given target hash span to this server.
addTotalBytes(long) - Method in class org.tranche.timeestimator.TimeEstimator
 
addTotalFiles(long) - Method in class org.tranche.timeestimator.TimeEstimator
 
addUploader(Signature, ArrayList<FileEncoding>, Map<String, String>, ArrayList<MetaDataAnnotation>) - Method in class org.tranche.meta.MetaData
In the given properties, the PROP_TIMESTAMP_UPLOADED value is overwritten by the given uploadTimestamp, and the PROP_PATH_IN_DATA_SET value is overwritten by the given fullPathInDataSet.
addUser(User) - Method in class org.tranche.configuration.Configuration
Adds the given user to the server.
adjustConnection(String, int, boolean) - Static method in class org.tranche.network.ConnectionUtil
Updates the connection to use the given set of connection parameters.
adjustConnections() - Static method in class org.tranche.network.ConnectionUtil
Establishes the connections for the client and the server to work with.
adjustStatusTableRowRanges() - Static method in class org.tranche.network.ServerStatusUpdateProcess
Updates the status table row ranges based on the status of the network.
adjustUsedSpace(long) - Method in class org.tranche.flatfile.DataDirectoryConfiguration
Adjust disk space used both actual bytes and estimated real disk space based on the filesystem's minimum block size.
AES - Static variable in class org.tranche.FileEncoding
Representing a chunk's state after AES encryption applied.
AESEncodingStream - Class in org.tranche.streams
Encrypted file output stream.
AESEncodingStream(String, OutputStream) - Constructor for class org.tranche.streams.AESEncodingStream
 
AESEncodingStream(String, byte[], int, OutputStream) - Constructor for class org.tranche.streams.AESEncodingStream
 
affectedConnectivity(String) - Method in class org.tranche.network.StatusTableEvent
affectedHashSpans(String) - Method in class org.tranche.network.StatusTableEvent
AFT_LOG - Static variable in class org.tranche.logs.SimpleLog
Identifier for add file tool log.
ALL_PRIVILEGES - Static variable in class org.tranche.users.User
Flag to allow user to do everything, like an admin.
AmbiguousFileSelectionException - Exception in org.tranche.meta
 
AmbiguousFileSelectionException(Collection<Integer>) - Constructor for exception org.tranche.meta.AmbiguousFileSelectionException
 
ANY - Static variable in class org.tranche.logs.activity.Activity
Mask for all activities, regardless of chunk type (data, meta, etc?) and action.
appendRecord(Map<String, String>) - Method in class org.tranche.tasks.CSVFile
Appends a record to CSVFile representation.
ArbitraryProjectBuildingTool - Class in org.tranche.project
Create an arbitrary project from existing files on the network.
ArbitraryProjectBuildingTool(X509Certificate, PrivateKey, String) - Constructor for class org.tranche.project.ArbitraryProjectBuildingTool
Instantiate.
areEqual(Collection<HashSpan>, Collection<HashSpan>) - Static method in class org.tranche.hash.span.HashSpanCollection
Determines the given collections of hash spans are equivalent.
areEqual(Collection<StatusTableRow>, Collection<StatusTableRow>) - Static method in class org.tranche.network.StatusTableRow
Returns whether the two collections of rows are equivalent.
assertBytesDifferent(byte[], byte[]) - Static method in class org.tranche.util.AssertionUtil
Assert that two byte arrays are of same size and have same contents.
assertBytesSame(byte[], byte[]) - Static method in class org.tranche.util.AssertionUtil
Assert that two byte arrays are of same size and have same contents.
assertDirectoriesEquivalent(File, File) - Static method in class org.tranche.util.TestUtil
 
assertFilesAreEqual(File, File) - Static method in class org.tranche.util.TestUtil
 
assertFilesAreEquivalent(File, File) - Static method in class org.tranche.util.TestUtil
 
AssertionFailedException - Exception in org.tranche.exceptions
Used when a programming assertion fails, meaning code is in an inconsistent state.
AssertionFailedException(String) - Constructor for exception org.tranche.exceptions.AssertionFailedException
 
AssertionUtil - Class in org.tranche.util
Utility methods for common assertions.
AssertionUtil() - Constructor for class org.tranche.util.AssertionUtil
 
assertNoDuplicateObjects(Object[]) - Static method in class org.tranche.util.AssertionUtil
Looks for any duplicates and throws an exception if found.
assertNoNullValues(Object) - Static method in class org.tranche.util.AssertionUtil
Throws exception if any null values found.
assertNoNullValues(Object[]) - Static method in class org.tranche.util.AssertionUtil
Throws exception if any null values found.
assertNoNullValues(byte[]) - Static method in class org.tranche.util.AssertionUtil
 
assertNoNullValues(byte[][]) - Static method in class org.tranche.util.AssertionUtil
 
assertNoNullValues(Object[][]) - Static method in class org.tranche.util.AssertionUtil
Throws exception if any null values found.
assertSame(File, File) - Static method in class org.tranche.util.AssertionUtil
Assert that two files or directories are the same, which means:
attachSubmittable(Submittable) - Method in class org.tranche.server.logs.LogSubmitter
Attach a submittable (i.e., another log) to the submitter.
AUTO_BAN - Static variable in class org.tranche.servers.ServerEvent
Code for a computer banning type.
AUTO_UNBAN - Static variable in class org.tranche.servers.ServerEvent
Code for a computer unbanning type.
AutoUploadingBinaryLog - Class in org.tranche.server.logs
Uploads logs files to server in binary format.

B

BACKUP_SUFFIX - Static variable in class org.tranche.logs.activity.ActivityLog
 
BackupProjectTool - Class in org.tranche.project
A tool for saving a project from the Tranche network to a disk drive.
BackupProjectTool(String, BigInteger, File) - Constructor for class org.tranche.project.BackupProjectTool
 
BackupProjectTool(String, BigInteger, File, String) - Constructor for class org.tranche.project.BackupProjectTool
 
BAD_NONCE - Static variable in class org.tranche.TrancheServer
 
BAD_SIG - Static variable in class org.tranche.TrancheServer
 
balanceDataDirectoryConfigurations() - Method in class org.tranche.flatfile.DataBlockUtil
Balances data directory configuration usage.
Base16 - Class in org.tranche.hash
 
Base16() - Constructor for class org.tranche.hash.Base16
 
Base64 - Class in org.tranche.hash
Encodes and decodes to and from Base64 notation.
Base64.InputStream - Class in org.tranche.hash
A Base64.InputStream will read data from another java.io.InputStream, given in the constructor, and encode/decode to/from Base64 notation on the fly.
Base64.InputStream(InputStream) - Constructor for class org.tranche.hash.Base64.InputStream
Constructs a Base64.InputStream in DECODE mode.
Base64.InputStream(InputStream, int) - Constructor for class org.tranche.hash.Base64.InputStream
Constructs a Base64.InputStream in either ENCODE or DECODE mode.
Base64.OutputStream - Class in org.tranche.hash
A Base64.OutputStream will write data to another java.io.OutputStream, given in the constructor, and encode/decode to/from Base64 notation on the fly.
Base64.OutputStream(OutputStream) - Constructor for class org.tranche.hash.Base64.OutputStream
Constructs a Base64.OutputStream in ENCODE mode.
Base64.OutputStream(OutputStream, int) - Constructor for class org.tranche.hash.Base64.OutputStream
Constructs a Base64.OutputStream in either ENCODE or DECODE mode.
Base64Util - Class in org.tranche.hash
A helper class for working with Base64 encoded text.
Base64Util() - Constructor for class org.tranche.hash.Base64Util
 
BATCH_GET_LIMIT - Static variable in class org.tranche.remote.RemoteTrancheServer
Limit for batch-get requests.
BATCH_HAS_LIMIT - Static variable in class org.tranche.remote.RemoteTrancheServer
Absolute limit for all batch sizes.
BATCH_NONCE_LIMIT - Static variable in class org.tranche.remote.RemoteTrancheServer
Limit for batch-nonce requests.
BATCH_SET_LIMIT - Static variable in class org.tranche.remote.RemoteTrancheServer
Limit for batch-set requests.
BigHash - Class in org.tranche.hash
A utility class for making and representing all of the hash information required for files on Tranche.
BigHash(byte[]) - Constructor for class org.tranche.hash.BigHash
Construct a BigHash object from an array of bytes.
BigHash(byte[], int) - Constructor for class org.tranche.hash.BigHash
Construct a BigHash object from an array of bytes using a length that starts from the begnning of the array.
BigHash(byte[], byte[]) - Constructor for class org.tranche.hash.BigHash
Construct a BigHash object from an array of bytes and padding.
BigHash(byte[], int, byte[]) - Constructor for class org.tranche.hash.BigHash
Construct a BigHash object from an array of bytes using a length and and additional padding.
BigHash(File) - Constructor for class org.tranche.hash.BigHash
Construct a BigHash object from a file.
BigHash(File, byte[]) - Constructor for class org.tranche.hash.BigHash
Construct a BigHash object from a file with some additional padding.
BigHash(InputStream, long) - Constructor for class org.tranche.hash.BigHash
Construct a BigHash object from a stream of a specified length.
BigHash(InputStream, long, byte[]) - Constructor for class org.tranche.hash.BigHash
Construct a BigHash object from a stream of specified length with some additional padding.
BigHashMaker - Class in org.tranche.hash
Class that actually creates the BigHash used for identifying files/projects.
BigHashMaker() - Constructor for class org.tranche.hash.BigHashMaker
 
BooleanArrayCallback - Class in org.tranche.remote
Represents a batch boolean server request.
BooleanArrayCallback(long, RemoteTrancheServer, String) - Constructor for class org.tranche.remote.BooleanArrayCallback
 
BooleanCallback - Class in org.tranche.remote
Represents a boolean server request.
BooleanCallback(long, RemoteTrancheServer, String) - Constructor for class org.tranche.remote.BooleanCallback
 
BreakApartUserZipFile - Class in org.tranche.scripts
Takes a User Zip File (*.zip.encrypted) and the password for that file and creates a X509Certificate file (*.public.certificate) and a PrivateKey file (*.private.key) in the same directory.
BreakApartUserZipFile() - Constructor for class org.tranche.scripts.BreakApartUserZipFile
 
BUFFER_IN_MEMORY - Static variable in class org.tranche.hash.DiskBackedBigHashSet
 
bufferData(InputStream) - Static method in class org.tranche.remote.RemoteUtil
Helper method to read data
BUILD_NUMBER - Static variable in class org.tranche.configuration.ConfigKeys
The version of code the server is running.
buildLicenseFile(File, License, List<String>, Map<String, String>) - Static method in class org.tranche.license.LicenseUtil
Build a license file based on the parameters.
buildLicenseMultiLicenseExplanationFile(File, Map<String, BigHash>) - Static method in class org.tranche.license.LicenseUtil
 
BYTE_FALSE - Static variable in class org.tranche.remote.RemoteUtil
 
BYTE_FALSE - Static variable in class org.tranche.util.IOUtil
 
BYTE_TRUE - Static variable in class org.tranche.remote.RemoteUtil
 
BYTE_TRUE - Static variable in class org.tranche.util.IOUtil
 
bytes - Variable in class org.tranche.remote.OutGoingBytes
The bytes to send.
bytesCompleted - Variable in class org.tranche.timeestimator.TimeEstimator
Represents the work done.
bzip2Compress(File) - Static method in class org.tranche.util.CompressionUtil
bzip2 compresses the input zipFile and returns a reference to the compressed zipFile.
bzip2Decompress(File) - Static method in class org.tranche.util.CompressionUtil
Decompresses the input zipFile assuming that it is bzip2 compressed.

C

CACHE_ENTRY_SIZE - Static variable in class org.tranche.flatfile.DataBlockCache
The number of entries to keep in memory for data or meta data chunks.
calculateFullHashSpan(Collection<StatusTableRow>) - Static method in class org.tranche.network.StatusTableRow
Given a collection of StatusTableRows, randomizes the rows and returns the first found full hash span.
calculateFullHashSpan(Collection<StatusTableRow>, Collection<StatusTableRow>) - Static method in class org.tranche.network.StatusTableRow
Given two collections of StatusTableRows, randomizes the rows and returns the first found full hash span with read and write priveleges and core servers containing as many of the seedRows as possible.
calculateSize() - Method in class org.tranche.project.ProjectFile
 
calculateSpans() - Method in class org.tranche.hash.span.HashSpanCalculator
Calculate the hash spans based on the servers added.
callback(byte[]) - Method in class org.tranche.remote.ActivityArrayCallback
Sets the response from the server.
callback(byte[]) - Method in class org.tranche.remote.BooleanArrayCallback
Sets the response from the server.
callback(byte[]) - Method in class org.tranche.remote.BooleanCallback
Sets the response from the server.
callback(byte[]) - Method in class org.tranche.remote.CheckForErrorCallback
Sets the response from the server.
callback(byte[]) - Method in class org.tranche.remote.GetBytesCallback
Sets the response from the server.
callback(byte[]) - Method in class org.tranche.remote.GetHashesCallback
Sets the response from the server.
callback(byte[]) - Method in class org.tranche.remote.IntegerCallback
Sets the response from the server.
callback(byte[]) - Method in class org.tranche.remote.RemoteCallback
Method to be implemented.
callback(byte[]) - Method in class org.tranche.remote.StatusTableCallback
 
CALLBACK - Static variable in class org.tranche.servers.ServerEvent
Code for a callback type.
CAN_DELETE_DATA - Static variable in class org.tranche.users.User
Flag for whether the User can delete data.
CAN_DELETE_META_DATA - Static variable in class org.tranche.users.User
Flag for whether the User can delete meta data.
CAN_GET_CONFIGURATION - Static variable in class org.tranche.users.User
Flag for whether the User can get configuration.
CAN_READ - Static variable in class org.tranche.configuration.ServerModeFlag
Flag: server data can be read by clients, but cannot write data to server.
CAN_READ_BIT - Static variable in class org.tranche.network.StatusTableRow
The location of the "Can Read" bit in the set of flags.
CAN_READ_WRITE - Static variable in class org.tranche.configuration.ServerModeFlag
Flag: clients can write and read data to and from server.
CAN_SET_CONFIGURATION - Static variable in class org.tranche.users.User
Flag for whether the User can set configuration.
CAN_SET_DATA - Static variable in class org.tranche.users.User
Flag for whether the User can set data.
CAN_SET_META_DATA - Static variable in class org.tranche.users.User
Flag for whether the User can set meta data.
CAN_WRITE - Static variable in class org.tranche.configuration.ServerModeFlag
Flag: clients can write data to server, but cannot read it.
CAN_WRITE_BIT - Static variable in class org.tranche.network.StatusTableRow
The location of the "Can Write" bit in the set of flags.
canDeleteData() - Method in class org.tranche.users.User
The permission flag for whether this user can delete data.
canDeleteMetaData() - Method in class org.tranche.users.User
The permission flag for whether this user can delete meta data.
canGetConfiguration() - Method in class org.tranche.users.User
The permission flag for whether this user can get configuration.
canRead() - Method in class org.tranche.configuration.Configuration
Returns whether server mode flags are set to allow clients to read server's data.
canRead(byte) - Static method in class org.tranche.configuration.ServerModeFlag
Based on flag byte, can client read data from server?
canRead() - Method in class org.tranche.flatfile.FlatFileTrancheServer
Returns whether server mode flag is set to allow clients to read server's data.
canSetConfiguration() - Method in class org.tranche.users.User
The permission flag for whether this user can set configuration.
canSetData() - Method in class org.tranche.users.User
The permission flag for whether this user can set data.
canSetMetaData() - Method in class org.tranche.users.User
The permission flag for whether this user can set meta data.
canStoreData(long) - Method in class org.tranche.flatfile.DataDirectoryConfiguration
Returns true if there is enough space to store file.
CantHandleVersionException - Exception in org.tranche.exceptions
This exception represents that a newer version of data is being read by code that was created to only use older versions.
CantHandleVersionException(String) - Constructor for exception org.tranche.exceptions.CantHandleVersionException
 
CantVerifySignatureException - Exception in org.tranche.exceptions
Special IOException that represents an invalid signature.
CantVerifySignatureException(String) - Constructor for exception org.tranche.exceptions.CantVerifySignatureException
 
canWrite() - Method in class org.tranche.configuration.Configuration
Returns whether server mode flags are set to allow clients to write data to server.
canWrite(byte) - Static method in class org.tranche.configuration.ServerModeFlag
Based on flag byte, can client write data to server?
canWrite() - Method in class org.tranche.flatfile.FlatFileTrancheServer
Returns whether server mode flag is set to allow clients to write data to server.
CATEGORY_BANNED_SERVERS - Static variable in class org.tranche.ConfigureTranche
The banned servers category.
CATEGORY_CERTIFICATES - Static variable in class org.tranche.ConfigureTranche
The certificates category.
CATEGORY_CORE_SERVERS - Static variable in class org.tranche.ConfigureTranche
The core servers category.
CATEGORY_GENERAL - Static variable in class org.tranche.ConfigureTranche
The general category.
CATEGORY_LOGGING - Static variable in class org.tranche.ConfigureTranche
The logging category.
CATEGORY_NETWORK_TIME_SERVERS - Static variable in class org.tranche.ConfigureTranche
The network time servers category.
CATEGORY_SERVER - Static variable in class org.tranche.ConfigureTranche
The server category.
CC0 - Static variable in class org.tranche.license.License
STATIC GLOBAL VARIABLES
certificateNamesMatch(String, String) - Static method in class org.tranche.security.SecurityUtil
A utility method to check whether two certificate names match.
changedTestingManualNetworkStatusTable() - Method in interface org.tranche.util.TestUtilListener
Fired when a change was made to TestUtil.setTestingManualNetworkStatusTable.
checkClientTrusted(X509Certificate[], String) - Method in class org.tranche.security.EasyX509TrustManager
 
checkForError() - Method in class org.tranche.remote.CheckForErrorCallback
Returns the server response.
CheckForErrorCallback - Class in org.tranche.remote
Represents an error report request.
CheckForErrorCallback(long, RemoteTrancheServer, String) - Constructor for class org.tranche.remote.CheckForErrorCallback
 
checkOK(InputStream) - Static method in class org.tranche.remote.RemoteUtil
Helper method that will throw an IOException if the input stream does not start with an Token.OK_STRING line.
checkOK(String, InputStream) - Static method in class org.tranche.remote.RemoteUtil
Helper method that will throw an IOException if the line is not an Token.OK_STRING
checkServerForChunksToAdd(long, long, String, FlatFileTrancheServer) - Static method in class org.tranche.server.ServerStartupThread
Update a local server (FlatFileTrancheServer) by checking specific server at a specific url is there any new chunks to consider between two timestamps.
checkServerForChunksToDelete(long, long, String, FlatFileTrancheServer) - Static method in class org.tranche.server.ServerStartupThread
Update a local server (FlatFileTrancheServer) by checking specific server at a specific url is there any deletes to consider between two timestamps.
checkServerForMetaDataToReplace(long, long, String, FlatFileTrancheServer) - Static method in class org.tranche.server.ServerStartupThread
 
checkServerForMetaDataToReplace(long, long, String, FlatFileTrancheServer, int[]) - Static method in class org.tranche.server.ServerStartupThread
 
checkServerTrusted(X509Certificate[], String) - Method in class org.tranche.security.EasyX509TrustManager
 
CHUNK_ANY - Static variable in class org.tranche.logs.activity.Activity
We reserved the four low-order bits for chunk types so can expand (up to 128 values)
CHUNK_DATA - Static variable in class org.tranche.logs.activity.Activity
 
CHUNK_META_DATA - Static variable in class org.tranche.logs.activity.Activity
 
ChunkAlreadyExistsSecurityException - Exception in org.tranche.exceptions
Exception thrown only if trying to set a chunk that already exists and do not have sufficient privileges to delete.
ChunkAlreadyExistsSecurityException() - Constructor for exception org.tranche.exceptions.ChunkAlreadyExistsSecurityException
Exception thrown only if trying to set a chunk that already exists and do not have sufficient privileges to delete.
ChunkDoesNotBelongException - Exception in org.tranche.exceptions
If a chunk does not belong to Tranche server (data or routing server if none of data servers match), this is thrown.
ChunkDoesNotBelongException() - Constructor for exception org.tranche.exceptions.ChunkDoesNotBelongException
If a chunk does not belong to Tranche server (data or routing server if none of data servers match), this is thrown.
ChunkDoesNotMatchHashException - Exception in org.tranche.exceptions
 
ChunkDoesNotMatchHashException(BigHash, BigHash) - Constructor for exception org.tranche.exceptions.ChunkDoesNotMatchHashException
Create exception based on the expected hash and the found (calculated) hash.
ChunkDoesNotMatchHashException(String) - Constructor for exception org.tranche.exceptions.ChunkDoesNotMatchHashException
Only use this constructor when re-creating a deserialized exception (i.e., creating exception from message sent from server to client).
ChunkDoesNotMatchHashException() - Constructor for exception org.tranche.exceptions.ChunkDoesNotMatchHashException
 
chunkHash - Variable in class org.tranche.flatfile.DataBlockCacheEntry
The hash representing the data chunk.
cleanUpBase64(String) - Static method in class org.tranche.hash.Base64Util
Removes non-Base64 characters from an arbitrary string, including whitespace.
clear() - Method in class org.tranche.flatfile.DataBlockCache
Clear out the cache resources.
clear() - Method in class org.tranche.hash.DiskBackedBigHashSet
Clears out all the hashes.
clear() - Method in class org.tranche.network.StatusTable
Removes all the rows from the table.
clear() - Method in class org.tranche.project.DiskBackedProjectFilePartSet
Resets the object.
clear() - Method in class org.tranche.server.logs.LogEntries
Clear the entire list of log entries being tracked.
clear() - Static method in class org.tranche.util.PreferencesUtil
 
clear() - Static method in class org.tranche.util.TempFileUtil
 
clearAnnotations() - Method in class org.tranche.meta.MetaData
 
clearDataDirectories() - Method in class org.tranche.configuration.Configuration
Removes all the data directories from this server.
clearExceptions() - Method in class org.tranche.network.Connection
 
clearExceptionsHost(String) - Static method in class org.tranche.network.ConnectionUtil
 
clearFFTSForURL() - Static method in class org.tranche.util.TestUtil
Map of URL (e.g., tranche://127.0.0.1:1501) to associated FlatFileTrancheServer instance from a running TestNetwork.
clearHashSpans() - Method in class org.tranche.configuration.Configuration
Removes all hash spans from this server.
clearKnownProjects() - Method in class org.tranche.flatfile.FlatFileTrancheServer
 
clearListeners() - Method in class org.tranche.flatfile.FlatFileTrancheServer
Clear all FlatFileTrancheServerListener objects.
clearListeners() - Method in class org.tranche.remote.RemoteTrancheServer
Removes all server listeners.
clearListeners() - Method in class org.tranche.routing.RoutingTrancheServer
 
clearListeners() - Static method in class org.tranche.util.TestUtil
Clear all TestUtilListener objects.
clearLocalServer() - Static method in class org.tranche.network.NetworkUtil
Called by the Server upon shutdown.
clearLogs() - Method in class org.tranche.flatfile.logs.DataBlockUtilLogger
Clear all logs from the logger.
clearMetaDataAnnotations() - Method in class org.tranche.add.AddFileTool
Clears the meta data annotations.
clearPassphrase() - Method in class org.tranche.add.AddFileTool
Unsets the passphrase -- the upload will not be encrypted.
clearPassphrase() - Method in class org.tranche.get.GetFileTool
Unsets the decryption passphrase.
clearProjectReplicationToolListeners() - Method in class org.tranche.project.ProjectReplicationTool
Clear out listeners used by the tool.
clearPublicPassphrase() - Method in class org.tranche.meta.MetaData
Clears the published passphrase.
clearRegEx() - Method in class org.tranche.get.GetFileTool
Unsets the regular expression.
clearRemoteCallbackPurgeListeners() - Static method in class org.tranche.remote.RemoteCallbackRegistry
Remove all purge listeners.
clearServerConfigs() - Method in class org.tranche.configuration.Configuration
Clears the server configurations from this server.
clearServerHostsToUse() - Method in class org.tranche.flatfile.HashSpanFixingThread
Clear out all servers added to use.
clearServerListeners(String) - Static method in class org.tranche.servers.ServerUtil
Removes all Tranche server listeners from the Tranche server with the given URL.
clearServerToHostTestMap() - Static method in class org.tranche.util.TestUtil
Clears the collection.
clearStickyProjects() - Method in class org.tranche.configuration.Configuration
Remove all sticky projects from this server.
clearTargetHashSpans() - Method in class org.tranche.configuration.Configuration
Removes all hash spans from this server.
clearUsers() - Method in class org.tranche.configuration.Configuration
Clears the users from this server.
ClientStatusUpdateProcess - Class in org.tranche.network
The network status update process used when there is no local server.
ClientStatusUpdateProcess() - Constructor for class org.tranche.network.ClientStatusUpdateProcess
Default constructor
clone() - Method in class org.tranche.configuration.Configuration
Create a deep copy of the configuration so in-memory copies aren't shared.
clone() - Method in class org.tranche.flatfile.DataDirectoryConfiguration
 
clone() - Method in class org.tranche.flatfile.ServerConfiguration
Clone this object.
clone() - Method in class org.tranche.hash.BigHash
 
clone() - Method in class org.tranche.hash.span.HashSpan
Return a cloned copy of this HashSpan object.
clone() - Method in class org.tranche.hash.span.HashSpanCollection
Creates a clone of this hash span collection.
clone() - Method in class org.tranche.meta.MetaData
 
clone() - Method in class org.tranche.network.StatusTable
Creates a duplicate table.
clone() - Method in class org.tranche.network.StatusTableRow
Creates a duplication of this row.
clone() - Method in class org.tranche.tasks.CSVFile
Returns a clone (deep copy).
close() - Method in class org.tranche.flatfile.DataBlockUtil
Close off any resources.
close() - Method in class org.tranche.flatfile.FlatFileTrancheServer
Close off resources associated with this server.
close() - Method in class org.tranche.flatfile.HashSpanFixingThread
Close the thread down.
close() - Method in class org.tranche.flatfile.HashSpanFixingThreadPolicyDecider
 
close() - Method in interface org.tranche.flatfile.logs.DataBlockUtilLog
Close off resources associated with this log.
close() - Method in class org.tranche.flatfile.logs.DataBlockUtilLogger
Close off resources associated with this log.
close() - Method in class org.tranche.flatfile.logs.DiskBackedTransactionLog
Close off resources associated with this log.
close() - Method in class org.tranche.flatfile.logs.InMemoryAggregateLog
Close off resources associated with this log.
close() - Method in class org.tranche.flatfile.TargetHashSpanThread
 
close() - Method in class org.tranche.hash.Base64.OutputStream
Flushes and closes (I think, in the superclass) the stream.
close() - Method in class org.tranche.hash.DiskBackedBigHashList
 
close() - Method in class org.tranche.hash.DiskBackedBigHashSet
Close off resources.
close() - Method in class org.tranche.logs.activity.ActivityLog
Close down the activity log.
close() - Method in class org.tranche.project.ProjectFile
Closes off any resources that might be used.
CLOSE - Static variable in class org.tranche.remote.OutGoingBytes
 
close() - Method in class org.tranche.remote.RemoteTrancheServer
Tears down the TCP connection to the remote server and releases the associated resources.
CLOSE - Static variable in class org.tranche.remote.Token
The bytes form of CLOSE_STRING
close() - Method in class org.tranche.routing.RoutingTrancheServer
Closes the server and shuts down any associated resources.
close() - Method in class org.tranche.server.logs.AutoUploadingBinaryLog
Close binary log.
close() - Method in class org.tranche.server.logs.LogReader
Close file that the log reader has opened.
close() - Method in class org.tranche.server.logs.LogSubmitter
Releases resources used by logger and log.
close() - Method in class org.tranche.server.logs.LogWriter
Closes the logging stream
close() - Method in interface org.tranche.server.logs.Submittable
Close file.
close() - Method in class org.tranche.streams.AESEncodingStream
Close the output stream.
close() - Method in class org.tranche.streams.DeleteFileOnExitFileInputStream
Closes the parent FileOutputStream then deletes the file that was read from.
close() - Method in class org.tranche.streams.GZIPEncodingStream
Flush and close the output stream.
close() - Method in class org.tranche.streams.WrappedOutputStream
Closes the wrapped OutputStream.
close() - Method in class org.tranche.TrancheServer
Closes the server and shuts down any associated resources.
CLOSE_STRING - Static variable in class org.tranche.remote.Token
The token for telling a server to close the connection
CommandLineAddFileToolListener - Class in org.tranche.add
A helper class that implements AddFileTool listening methods and produces data suitable for dispaly on the command prompt.
CommandLineAddFileToolListener(AddFileTool, PrintStream) - Constructor for class org.tranche.add.CommandLineAddFileToolListener
 
CommandLineGetFileToolListener - Class in org.tranche.get
 
CommandLineGetFileToolListener(GetFileTool, PrintStream) - Constructor for class org.tranche.get.CommandLineGetFileToolListener
 
CommandLineProjectReplicationToolListener - Class in org.tranche.project
Command-line listener for the file replication tool.
CommandLineProjectReplicationToolListener() - Constructor for class org.tranche.project.CommandLineProjectReplicationToolListener
 
CommandLineServerListener - Class in org.tranche.servers
Prints out all server communication to a given PrintStream.
CommandLineServerListener(PrintStream) - Constructor for class org.tranche.servers.CommandLineServerListener
 
commandName - Variable in class org.tranche.server.ServerItem
The name of the command.
compareTo(Object) - Method in class org.tranche.clc.TrancheServerCommandLineClientItem
Compare to TrancheServerCommandLineItems for equality.
compareTo(Object) - Method in class org.tranche.flatfile.DataBlock
Compare underlying files for DataBlock instances.
compareTo(Object) - Method in class org.tranche.flatfile.DataDirectoryConfiguration
 
compareTo(Object) - Method in class org.tranche.flatfile.ServerConfiguration
 
compareTo(BigHash) - Method in class org.tranche.hash.BigHash
Similar to standard compareTo() methods, this compares to determine the equality of two BigHash objects.
compareTo(HashSpan) - Method in class org.tranche.hash.span.HashSpan
Compare the equality (first hash) of another HashSpan.
compareTo(Activity) - Method in class org.tranche.logs.activity.Activity
 
compareTo(Object) - Method in class org.tranche.project.ProjectFilePart
Compares the relative names of this to the given project file part.
compareTo(Object) - Method in class org.tranche.users.User
Compare the certificates between User objects.
CompressionUtil - Class in org.tranche.util
Helper methods for using various compression encodings.
CompressionUtil() - Constructor for class org.tranche.util.CompressionUtil
 
ConfigKeys - Class in org.tranche.configuration
A library of attribute key names to use in the server's configuration.
ConfigKeys() - Constructor for class org.tranche.configuration.ConfigKeys
 
Configuration - Class in org.tranche.configuration
Configuration for a server, kept in memory
Configuration() - Constructor for class org.tranche.configuration.Configuration
 
ConfigurationItem - Class in org.tranche.clc
Method to encapsulate the action of printing out information from a server's Configuration object.
ConfigurationItem(TrancheServer, TrancheServerCommandLineClient) - Constructor for class org.tranche.clc.ConfigurationItem
 
configurationSet(Configuration) - Method in interface org.tranche.flatfile.FlatFileTrancheServerListener
Fired when configuration is set.
ConfigurationUtil - Class in org.tranche.configuration
A utility class to read/write configuration files.
ConfigurationUtil() - Constructor for class org.tranche.configuration.ConfigurationUtil
 
ConfigureTranche - Class in org.tranche
This is here to load a Tranche network's configuration information, including servers and certificates.
ConfigureTranche() - Constructor for class org.tranche.ConfigureTranche
 
connect(StatusTableRow, boolean) - Static method in class org.tranche.network.ConnectionUtil
Forces a connection on the Tranche server represented by the given row.
connect(String, int, boolean, boolean) - Static method in class org.tranche.network.ConnectionUtil
 
CONNECT - Static variable in class org.tranche.servers.ServerEvent
Code for a connection type.
connectHost(String, boolean) - Static method in class org.tranche.network.ConnectionUtil
Forces a connection on the Tranche server with the given host name.
Connection - Class in org.tranche.network
Container for objects related to a Tranche server connection.
Connection(TrancheServer, boolean) - Constructor for class org.tranche.network.Connection
 
ConnectionAdapter - Class in org.tranche.network
Blank implementation of a listener for the connection modifications.
ConnectionAdapter() - Constructor for class org.tranche.network.ConnectionAdapter
 
ConnectionDiagnosticsLog - Class in org.tranche.logs
A log to help understand and diagnose connections to servers.
ConnectionDiagnosticsLog(String) - Constructor for class org.tranche.logs.ConnectionDiagnosticsLog
Create a new log.
connectionDropped(ConnectionEvent) - Method in class org.tranche.network.ConnectionAdapter
Event fired when a connection is unestablished.
connectionDropped(ConnectionEvent) - Method in interface org.tranche.network.ConnectionListener
Event fired when a connection is unestablished.
ConnectionEvent - Class in org.tranche.network
Wraps the information describing a connection modification.
ConnectionEvent(String, int, boolean) - Constructor for class org.tranche.network.ConnectionEvent
 
ConnectionEvent(String) - Constructor for class org.tranche.network.ConnectionEvent
 
ConnectionListener - Interface in org.tranche.network
Listener for the connections in the ConnectionUtil.
connectionMade(ConnectionEvent) - Method in class org.tranche.network.ConnectionAdapter
Event fired when a connection is established.
connectionMade(ConnectionEvent) - Method in interface org.tranche.network.ConnectionListener
Event fired when a connection is established.
ConnectionsKeepAliveThread - Class in org.tranche.network
 
ConnectionsKeepAliveThread() - Constructor for class org.tranche.network.ConnectionsKeepAliveThread
 
ConnectionUtil - Class in org.tranche.network
Manages the Tranche server connections for the local JVM.
ConnectionUtilStatusTableListener - Class in org.tranche.network
Listens for changes in status table on behalf of the ConnectionUtil.
ConnectionUtilStatusTableListener() - Constructor for class org.tranche.network.ConnectionUtilStatusTableListener
 
connectURL(String, boolean) - Static method in class org.tranche.network.ConnectionUtil
Forces a connection on the Tranche server represented by the given URL.
contains(byte[]) - Method in class org.tranche.flatfile.NonceMap
Check to see whether the nonce bytes are valid.
contains(BigHash) - Method in class org.tranche.hash.DiskBackedBigHashList
Returns true if this contains a given Hash
contains(BigHash) - Method in class org.tranche.hash.DiskBackedBigHashSet
 
contains(BigHash) - Method in class org.tranche.hash.span.HashSpan
Returns true if has is between the first and last hashes in hash span range.
contains(long, byte, BigHash) - Method in class org.tranche.logs.activity.ActivityLog
Performs search to find whether contains an entry representing parameters.
contains(BigHash) - Static method in class org.tranche.meta.MetaDataCache
 
contains(String) - Method in class org.tranche.network.StatusTable
Returns whether a row with the given host name is contained within the table.
contains(Object) - Method in class org.tranche.project.DiskBackedProjectFilePartSet
Throws RuntimeException
contains(BigHash) - Static method in class org.tranche.project.ProjectFileCache
 
containsAll(Collection<?>) - Method in class org.tranche.project.DiskBackedProjectFilePartSet
Throws RuntimeException
containsUploader(String, Long, String) - Method in class org.tranche.meta.MetaData
 
CONTENT_LENGTH - Static variable in class org.tranche.httpd.HttpConstant
 
CONTENT_TYPE - Static variable in class org.tranche.httpd.HttpConstant
 
CONTENT_TYPE_JNLP - Static variable in class org.tranche.httpd.HttpConstant
 
CONTENT_TYPE_TEXT_HTML - Static variable in class org.tranche.httpd.HttpConstant
 
ContextualTimeEstimator - Class in org.tranche.timeestimator
Estimated remaining time depends on performance in last n seconds.
ContextualTimeEstimator() - Constructor for class org.tranche.timeestimator.ContextualTimeEstimator
 
ContextualTimeEstimator(long, long, long, long) - Constructor for class org.tranche.timeestimator.ContextualTimeEstimator
 
convertBytesToLong(byte[]) - Static method in class org.tranche.server.logs.LogUtil
Convert bytes to longs and return long representation.
convertLongToBytes(long) - Static method in class org.tranche.server.logs.LogUtil
Convert long to bytes and return the byte array representation.
copyFile(File, File) - Static method in class org.tranche.util.IOUtil
Copies any file in a memory-safe manner.
coreServers - Variable in class org.tranche.network.ServerStatusTablePerspective
The status table row ranges for core servers.
CorruptDataException - Exception in org.tranche.exceptions
This exception represents corrupted data.
CorruptDataException(String) - Constructor for exception org.tranche.exceptions.CorruptDataException
 
CORRUPTED_DB_ALLOWED_TO_FIX - Static variable in class org.tranche.configuration.ConfigKeys
Whether the hash span fixing thread should fix corrupt data blocks.
CORRUPTED_DB_COUNT - Static variable in class org.tranche.configuration.ConfigKeys
Number of corrupted data blocks.
CORRUPTED_DB_DOWNLOADED_CHUNK_COUNT - Static variable in class org.tranche.configuration.ConfigKeys
Number of downloaded chunks as a result of corrupt data blocks.
CORRUPTED_DB_IN_BODY_COUNT - Static variable in class org.tranche.configuration.ConfigKeys
Number of discovered corrupt data block bodies.
CORRUPTED_DB_IN_HEADER_COUNT - Static variable in class org.tranche.configuration.ConfigKeys
Number of discovered corrupt data block headers.
CORRUPTED_DB_LOST_CHUNK_COUNT - Static variable in class org.tranche.configuration.ConfigKeys
Number of lost data chunks as a result of corrupt data blocks.
CORRUPTED_DB_SALVAGED_CHUNK_COUNT - Static variable in class org.tranche.configuration.ConfigKeys
Number of fixed chunks as a result of corrupt data blocks.
CouldNotFindMetaDataException - Exception in org.tranche.exceptions
 
CouldNotFindMetaDataException(BigHash) - Constructor for exception org.tranche.exceptions.CouldNotFindMetaDataException
 
countOutstandingRequests() - Method in class org.tranche.remote.RemoteTrancheServer
 
create(BigHash, DataBlock, int, int) - Static method in class org.tranche.flatfile.DataBlockCacheEntry
Create an entry for the cache.
create(String, Collection<String>) - Static method in class org.tranche.network.MultiServerRequestStrategy
Say a client has a request for many servers.
create() - Static method in class org.tranche.streams.StringPrintStream
Creates a enw StringPrintStream object.
createCertificate(String, PublicKey, PrivateKey) - Static method in class org.tranche.security.SecurityUtil
Helper method that uses the bouncycastle.org's X509 certificate generator to make a certificate for the given public/private key pair.
createCertificateMD5(X509Certificate) - Static method in class org.tranche.server.logs.LogUtil
Generate a MD5 certificate.
createEchoPage(PrintStream, HashMap<String, String>, String, String, String) - Static method in class org.tranche.httpd.Html
Helper method for creating an HTML formatted page whose content is the content of the browser request.
createFromBytes(byte[]) - Static method in class org.tranche.hash.BigHash
Create a BigHash object from a set of bytes.
createFromBytes(byte[], int) - Static method in class org.tranche.hash.BigHash
Create a BigHash object from a set of bytes with a given offset where to begin calculation of the hash.
createFromBytes(byte[]) - Static method in class org.tranche.meta.MetaData
 
createFromBytes(byte[]) - Static method in class org.tranche.server.logs.LogEntry
Create a log entry.
createFromBytes(byte[]) - Static method in class org.tranche.server.PropagationReturnWrapper
 
createFromFile(File) - Static method in class org.tranche.project.ProjectFile
 
createFromString(String) - Static method in class org.tranche.FileEncoding
Create a FileEncoding object from a string.
createFromString(String) - Static method in class org.tranche.meta.MetaDataAnnotation
Create from a string.
createHashFromString(String) - Static method in class org.tranche.hash.BigHash
Create the hash from either a Base16 or Base64 encoded string.
createPvFormat(HttpConstant, HttpConstant) - Static method in class org.tranche.httpd.Formatter
Overloaded helper method for creating a HTTP proper response for a param value pair.
createPvFormat(HttpConstant, int) - Static method in class org.tranche.httpd.Formatter
Overloaded helper method for creating a HTTP proper response for a param value pair.
createSocket(String, int, InetAddress, int) - Method in class org.tranche.security.EasySSLProtocolSocketFactory
 
createSocket(String, int, InetAddress, int, HttpConnectionParams) - Method in class org.tranche.security.EasySSLProtocolSocketFactory
Attempts to get a new socket connection to the given host within the given time limit.
createSocket(String, int) - Method in class org.tranche.security.EasySSLProtocolSocketFactory
 
createSocket(Socket, String, int, boolean) - Method in class org.tranche.security.EasySSLProtocolSocketFactory
 
createStatusLine(HttpConstant, String) - Static method in class org.tranche.httpd.Formatter
Helper method for creating a properly formatted status line for the response.
createTempFileWithName(String) - Static method in class org.tranche.util.TempFileUtil
Attempts to create a temporary file with a specific name.
createTemporaryDirectory() - Static method in class org.tranche.util.TempFileUtil
Create a temporary directory.
createTemporaryDirectory(String) - Static method in class org.tranche.util.TempFileUtil
Create a temporary directory with a particular name.
createTemporaryFile() - Static method in class org.tranche.util.TempFileUtil
Create a temporary file.
createTemporaryFile(String) - Static method in class org.tranche.util.TempFileUtil
Create a temporary file with an arbitrary file extension.
createTemporaryFile(BigHash) - Static method in class org.tranche.util.TempFileUtil
A helper function to make files.
createURL(String, int, boolean) - Static method in class org.tranche.util.IOUtil
Builds a URL from parameters.
createURL(TrancheServer) - Static method in class org.tranche.util.IOUtil
Create a Tranche url from any TrancheServer.
createXORChecksum(byte[]) - Static method in class org.tranche.server.logs.LogUtil
Create a single-byte XOR checksum for data.
CSVFile - Class in org.tranche.tasks
Abstracts a comma-separated value file.
CSVFile(File, List<String>, List<Map<String, String>>) - Constructor for class org.tranche.tasks.CSVFile
 
CSVReader - Class in org.tranche.tasks
Used to read in a CSV file.
CSVReader(File) - Constructor for class org.tranche.tasks.CSVReader
 
CSVWriter - Class in org.tranche.tasks
Creates a CSV file from a CSVFile representation.
CSVWriter(CSVFile) - Constructor for class org.tranche.tasks.CSVWriter
 
CURRENTLY_CONNECTED_USERS - Static variable in class org.tranche.configuration.ConfigKeys
currentTime - Variable in class org.tranche.timeestimator.TimeEstimator
The current time for the estimator.

D

DATA - Static variable in class org.tranche.remote.Token
The bytes form of DATA_STRING
DATA_STORE_BIT - Static variable in class org.tranche.network.StatusTableRow
The location of the "Data Store" bit in the set of flags.
DATA_STRING - Static variable in class org.tranche.remote.Token
The token for sending data
DataBlock - Class in org.tranche.flatfile
Represents a block of data.
DataBlock(String, DataDirectoryConfiguration, DataBlockUtil) - Constructor for class org.tranche.flatfile.DataBlock
 
dataBlock - Variable in class org.tranche.flatfile.DataBlockCacheEntry
Which DataBlock contains the chunk.
DATABLOCK_FAIL_MERGED - Static variable in class org.tranche.configuration.ConfigKeys
Total number of failures while merging data blocks.
DATABLOCK_KNOWN_DATA - Static variable in class org.tranche.configuration.ConfigKeys
Number of data chunks on the server.
DATABLOCK_KNOWN_META - Static variable in class org.tranche.configuration.ConfigKeys
Number of meta data chunks on the server.
DATABLOCK_KNOWN_PROJECTS - Static variable in class org.tranche.configuration.ConfigKeys
Number of project meta data on the server.
DATABLOCK_LOG_DATA_CHUNK_DELETIONS - Static variable in class org.tranche.configuration.ConfigKeys
Whether or not should record data chunk deletions.
DATABLOCK_LOG_META_DATA_CHUNK_DELETIONS - Static variable in class org.tranche.configuration.ConfigKeys
Whether or not should record meta data chunk deletions.
DATABLOCK_MERGE_QUEUE_SIZE - Static variable in class org.tranche.configuration.ConfigKeys
How many data blocks are waiting to merge?
DATABLOCK_SUCCESS_MERGED - Static variable in class org.tranche.configuration.ConfigKeys
Total number of successfully merged data blocks.
DATABLOCK_TOTAL_MERGED - Static variable in class org.tranche.configuration.ConfigKeys
Total number of merged data blocks.
DataBlockCache - Class in org.tranche.flatfile
Used to cache the location of a chunk.
DataBlockCache() - Constructor for class org.tranche.flatfile.DataBlockCache
 
DataBlockCacheEntry - Class in org.tranche.flatfile
An individual entry in the DataBlockUtil cache, which can be turned on and off.
DataBlockToMerge - Class in org.tranche.flatfile
Used to queue a DataBlock that must be cleaned up or split because too many entries.
DataBlockToMerge(File, DataDirectoryConfiguration) - Constructor for class org.tranche.flatfile.DataBlockToMerge
 
DataBlockUtil - Class in org.tranche.flatfile
Stores config information in memory, and holds lists of available hashes and resources on disk.
DataBlockUtil() - Constructor for class org.tranche.flatfile.DataBlockUtil
 
DataBlockUtil(FlatFileTrancheServer) - Constructor for class org.tranche.flatfile.DataBlockUtil
 
DataBlockUtilLog - Interface in org.tranche.flatfile.logs
An interface for any log object used by the DataBlockUtil.
DataBlockUtilLogger - Class in org.tranche.flatfile.logs
Add logs to logger, which is invoked.
dataChunkAdded(BigHash) - Method in interface org.tranche.flatfile.FlatFileTrancheServerListener
Fired when data chunk is added.
dataChunkDeleted(BigHash) - Method in interface org.tranche.flatfile.FlatFileTrancheServerListener
Fired when data chunk is deleted.
dataCopied - Variable in class org.tranche.flatfile.HashSpanFixingThread
One of many status variables for the FlatFileTrancheServer to use to report progress of this thread.
dataDeleted - Variable in class org.tranche.flatfile.HashSpanFixingThread
Get the total number of data chunks deleted.
DataDirectoryConfiguration - Class in org.tranche.flatfile
A simple cap on the directories to use and the amount of data to put in them.
DataDirectoryConfiguration(String, long) - Constructor for class org.tranche.flatfile.DataDirectoryConfiguration
 
dataHashes - Variable in class org.tranche.flatfile.DataBlockUtil
The disk-backed list of data chunk hashes.
dataLocalChunkThrewException - Variable in class org.tranche.flatfile.HashSpanFixingThread
One of many status variables for the FlatFileTrancheServer to use to report progress of this thread.
dataNotRepaired - Variable in class org.tranche.flatfile.HashSpanFixingThread
One of many status variables for the FlatFileTrancheServer to use to report progress of this thread.
dataRepaired - Variable in class org.tranche.flatfile.HashSpanFixingThread
One of many status variables for the FlatFileTrancheServer to use to report progress of this thread.
dataServersAdded(String[]) - Method in interface org.tranche.routing.RoutingTrancheServerListener
Fired when a RoutingTrancheServer instance adds one or more data server.
dataServersRemoved(String[]) - Method in interface org.tranche.routing.RoutingTrancheServerListener
Fired when a RoutingTrancheServer instance removes one or more data server.
dataSkipped - Variable in class org.tranche.flatfile.HashSpanFixingThread
One of many status variables for the FlatFileTrancheServer to use to report progress of this thread.
dataSocket - Variable in class org.tranche.remote.RemoteTrancheServer
 
decode(String) - Static method in class org.tranche.hash.Base16
Decode a string into its Base16 byte representation equivalent.
DECODE - Static variable in class org.tranche.hash.Base64
Specify decoding.
decode(byte[], int, int) - Static method in class org.tranche.hash.Base64
Very low-level access to decoding ASCII characters in the form of a byte array.
decode(String) - Static method in class org.tranche.hash.Base64
Decodes data from Base64 notation, automatically detecting gzip-compressed data and decompressing it.
decodeCharacter(char) - Static method in class org.tranche.hash.Base16
Decode a single ASCII character encoded in Base16 to its byte represenation.
decodeFromFile(String) - Static method in class org.tranche.hash.Base64
Convenience method for reading a base64-encoded file and decoding it.
decodeToFile(String, String) - Static method in class org.tranche.hash.Base64
Convenience method for decoding data to a file.
decodeToObject(String) - Static method in class org.tranche.hash.Base64
Attempts to decode Base64 data and deserialize a Java Object within.
decryptDiskBacked(String, File) - Static method in class org.tranche.security.SecurityUtil
Decrypt an AES-encrypted file using a specified passphrase.
decryptDiskBacked(String, File, BigHash) - Static method in class org.tranche.security.SecurityUtil
Decrypt an AES-encrypted file using a specified passphrase.
decryptInMemory(String, byte[]) - Static method in class org.tranche.security.SecurityUtil
In-memory version of decryption function.
decryptInMemory(String, byte[], BigHash) - Static method in class org.tranche.security.SecurityUtil
In-memory version of decryption function.
DEFAULT_AFFECTS_CONNECTIVITY - Static variable in class org.tranche.network.StatusTableEvent
The default value for whether this event affects the connectivity of the server.
DEFAULT_AFFECTS_HASH_SPANS - Static variable in class org.tranche.network.StatusTableEvent
 
DEFAULT_BATCH - Static variable in class org.tranche.get.GetFileTool
 
DEFAULT_BATCH_SIZE_FOR_BLOCKS_TO_BALANCE - Static variable in class org.tranche.flatfile.HashSpanFixingThread
The number of DataBlocks to balance between DataDirectoryConfiguration objects before going on to next task.
DEFAULT_BATCH_SIZE_FOR_CHUNKS_TO_DELETE - Static variable in class org.tranche.flatfile.HashSpanFixingThread
The number of chunks to check whether can be deleted, and to delete if can, before going on to next task.
DEFAULT_BATCH_SIZE_FOR_CHUNKS_TO_DOWNLOAD - Static variable in class org.tranche.flatfile.HashSpanFixingThread
The number of chunks to download before going on to next task.
DEFAULT_BATCH_SIZE_FOR_CHUNKS_TO_HEAL - Static variable in class org.tranche.flatfile.HashSpanFixingThread
The number of chunks to check to see whether needs replaced, and to replace if need be, before going on to next task.
DEFAULT_CHECK_EXISTING_CHUNKS - Static variable in class org.tranche.add.AddFileTool
 
DEFAULT_COMPRESS - Static variable in class org.tranche.add.AddFileTool
 
DEFAULT_CONFIG_FILE_LOCATION - Static variable in class org.tranche.ConfigureTranche
 
DEFAULT_CONTINUE_ON_FAILURE - Static variable in class org.tranche.get.GetFileTool
 
DEFAULT_DATA_ONLY - Static variable in class org.tranche.add.AddFileTool
 
DEFAULT_DATA_QUEUE_SIZE - Static variable in class org.tranche.add.AddFileTool
 
DEFAULT_DATA_QUEUE_SIZE - Static variable in class org.tranche.get.GetFileTool
 
DEFAULT_EMAIL_ON_FAILURE - Static variable in class org.tranche.add.AddFileTool
 
DEFAULT_EXPLODE_BEFORE_UPLOAD - Static variable in class org.tranche.add.AddFileTool
 
DEFAULT_FILE_NAME_ACTIVITIES - Static variable in class org.tranche.logs.activity.ActivityLog
 
DEFAULT_FILE_NAME_SIGNATURES_ENTRIES - Static variable in class org.tranche.logs.activity.ActivityLog
 
DEFAULT_FILE_NAME_SIGNATURES_INDEX - Static variable in class org.tranche.logs.activity.ActivityLog
 
DEFAULT_FLAGS - Static variable in class org.tranche.network.StatusTableRow
The default value for the flags.
DEFAULT_GET_CONFIGURATION_CACHE_TIME - Static variable in class org.tranche.flatfile.FlatFileTrancheServer
Servers will re-use cached configuration when getConfiguration called.
DEFAULT_GROUP - Static variable in class org.tranche.configuration.Configuration
 
DEFAULT_HASH_SPANS - Static variable in class org.tranche.network.StatusTableRow
The default set of hash spans.
DEFAULT_HOME_PAGE - Static variable in class org.tranche.httpd.HttpConstant
 
DEFAULT_KEEP_LAST_MODIFIED - Static variable in class org.tranche.get.GetFileTool
 
DEFAULT_LOG_DATA_CHUNK_DELETIONS - Static variable in class org.tranche.configuration.ConfigKeys
Whether or not should record data chunk deletions by default.
DEFAULT_LOG_META_DATA_CHUNK_DELETIONS - Static variable in class org.tranche.configuration.ConfigKeys
Whether or not should record meta data chunk deletions by default.
DEFAULT_MAX_NONCES - Static variable in class org.tranche.flatfile.NonceMap
Default maximum number of nonces to store in memory.
DEFAULT_MAX_REQUEST_SIZE - Static variable in class org.tranche.server.Server
The maximum amount of incoming data allowed buffered in memory.
DEFAULT_MAX_TRIES - Static variable in class org.tranche.remote.RemoteTrancheServer
 
DEFAULT_META_DATA_QUEUE_SIZE - Static variable in class org.tranche.add.AddFileTool
 
DEFAULT_MILLIS_PAUSE_BETWEEN_OPERATIONS - Static variable in class org.tranche.flatfile.HashSpanFixingThread
Default value for number of milliseconds to pause between operations in healing thread.
DEFAULT_MIN_SIZE_AVAILABLE_IN_TARGET_DATABLOCK_BEFORE_BALANCE - Static variable in class org.tranche.configuration.ConfigKeys
Default for for variable: When moving, data block must have this much free space before a move is considered.
DEFAULT_MINIMUM_THREADS - Static variable in class org.tranche.add.AddFileTool
 
DEFAULT_NUMBER_TOTAL_REPS_IN_HASH_SPAN_REQUIRED_DELETE - Static variable in class org.tranche.configuration.ConfigKeys
The default value for config option that specifies the number of replications that are in the correct hash span (i.e., how many other servers have this chunk right now that have the chunk's hash in their hash span).
DEFAULT_NUMBER_TOTAL_REPS_REQUIRED_DELETE - Static variable in class org.tranche.configuration.ConfigKeys
The default value for config option that specified the number of replications required for a chunk to be deleted.
DEFAULT_NUMERIC_VALUE - Static variable in class org.tranche.project.ProjectSummary
Need a consistent format so can easily test whether data was found.
DEFAULT_PROJECT_FILE_NAME - Static variable in class org.tranche.project.ProjectFile
The default project file name
DEFAULT_REG_EX - Static variable in class org.tranche.get.GetFileTool
 
DEFAULT_REQUIRED_PERCENTAGE_DIFFERENCE_TO_BALANCE_DATA_DIRECTORIES - Static variable in class org.tranche.configuration.ConfigKeys
The required difference in percentage between the data directories with least and most available space before transfering.
DEFAULT_REQUIRED_PERCENTAGE_FOR_MOST_USED_DATA_DIRECTORY_BEFORE_BALANCE - Static variable in class org.tranche.configuration.ConfigKeys
The minimum percentage of its available space used by a data directory before it will be a candidate for balancing.
DEFAULT_RESPONSE_TIMEOUT - Static variable in class org.tranche.remote.RemoteTrancheServer
 
DEFAULT_SHOULD_HEALING_THREAD_BALANCE_DATA_BLOCKS - Static variable in class org.tranche.configuration.ConfigKeys
Should the healing thread bother balancing the data blocks? This is the default value.
DEFAULT_SHOULD_HEALING_THREAD_DELETE - Static variable in class org.tranche.configuration.ConfigKeys
The default value for config option to allow healing thread to delete chunks with sufficient total replications and sufficient replications in appropriate hash spans.
DEFAULT_SHOULD_HEALING_THREAD_RUN - Static variable in class org.tranche.configuration.ConfigKeys
The default value for config option to allow healing thread to run.
DEFAULT_SHOULD_REPAIR_CORRUPTED_DATA_BLOCKS - Static variable in class org.tranche.configuration.ConfigKeys
Whether the hash span fixing thread should repair corrupted data blocks.
DEFAULT_SHOW_META_DATA_IF_ENCRYPTED - Static variable in class org.tranche.add.AddFileTool
 
DEFAULT_SHOW_SUMMARY - Static variable in class org.tranche.add.AddFileTool
 
DEFAULT_SHOW_SUMMARY - Static variable in class org.tranche.get.GetFileTool
 
DEFAULT_SIZE_FILE_ENCODING_BUFFER - Static variable in class org.tranche.add.AddFileTool
 
DEFAULT_SIZE_LIMIT - Static variable in class org.tranche.meta.MetaDataCache
 
DEFAULT_SIZE_LIMIT - Static variable in class org.tranche.project.ProjectFileCache
 
DEFAULT_STRING_VALUE - Static variable in class org.tranche.project.ProjectSummary
Need a consistent format so can easily test whether data was found.
DEFAULT_TARGET_HASH_SPANS - Static variable in class org.tranche.network.StatusTableRow
The default set of target hash spans.
DEFAULT_THREADS - Static variable in class org.tranche.add.AddFileTool
Default parameters
DEFAULT_THREADS - Static variable in class org.tranche.delete.DeleteFileTool
Default parameters
DEFAULT_THREADS - Static variable in class org.tranche.get.GetFileTool
 
DEFAULT_THREADS - Static variable in class org.tranche.publish.PublishFileTool
Default parameters
DEFAULT_UPLOAD_RELATIVE_PATH - Static variable in class org.tranche.get.GetFileTool
 
DEFAULT_UPLOAD_TIMESTAMP - Static variable in class org.tranche.get.GetFileTool
 
DEFAULT_UPLOADER_NAME - Static variable in class org.tranche.get.GetFileTool
 
DEFAULT_USE_CACHE - Static variable in class org.tranche.flatfile.DataBlockUtil
The default value of whether the DataBlock's cache should be used.
DEFAULT_USE_PERFORMANCE_LOG - Static variable in class org.tranche.add.AddFileTool
 
DEFAULT_USE_PERFORMANCE_LOG - Static variable in class org.tranche.get.GetFileTool
 
DEFAULT_USE_UNSPECIFIED_SERVERS - Static variable in class org.tranche.add.AddFileTool
 
DEFAULT_USE_UNSPECIFIED_SERVERS - Static variable in class org.tranche.get.GetFileTool
 
DEFAULT_VALIDATE - Static variable in class org.tranche.get.GetFileTool
 
delete(BigHash) - Method in class org.tranche.hash.DiskBackedBigHashSet
 
DELETE_DATA - Static variable in class org.tranche.logs.activity.Activity
Action byte representing a data chunk being deleted.
DELETE_DATA - Static variable in class org.tranche.remote.OutGoingBytes
 
DELETE_DATA - Static variable in class org.tranche.remote.Token
The bytes form of DELETE_DATA_STRING
DELETE_DATA_STRING - Static variable in class org.tranche.remote.Token
The token for deleting data
DELETE_META - Static variable in class org.tranche.remote.OutGoingBytes
 
DELETE_META - Static variable in class org.tranche.remote.Token
The bytes form of DELETE_META_STRING
DELETE_META_DATA - Static variable in class org.tranche.logs.activity.Activity
Action byte representing a meta data chunk being deleted.
DELETE_META_STRING - Static variable in class org.tranche.remote.Token
The token for deleting data
deleteBytes(BigHash, boolean) - Method in class org.tranche.flatfile.DataBlock
Delete the bytes (chunk) from this DataBlock based on hash.
deleteData(BigHash, String) - Method in class org.tranche.flatfile.DataBlockUtil
Delete a data chunk based on hash.
deleteData(BigHash, Signature[], byte[][], String[]) - Method in class org.tranche.flatfile.FlatFileTrancheServer
Delete data chunk from selected servers.
deleteData(BigHash, Signature[], byte[][], String[]) - Method in class org.tranche.remote.RemoteTrancheServer
Delete data chunk from selected servers.
deleteData(BigHash, Signature[], byte[][], String[]) - Method in class org.tranche.routing.RoutingTrancheServer
Delete data chunk from selected servers.
deleteData(BigHash, Signature[], byte[][], String[]) - Method in class org.tranche.TrancheServer
Delete data chunk from selected servers.
deleteData(TrancheServer, X509Certificate, PrivateKey, BigHash) - Static method in class org.tranche.util.IOUtil
 
deleteData(TrancheServer, X509Certificate, PrivateKey, BigHash, String[]) - Static method in class org.tranche.util.IOUtil
Delete a particular chunk from a remote server.
DeleteDataItem - Class in org.tranche.server
 
DeleteDataItem(Server) - Constructor for class org.tranche.server.DeleteDataItem
 
DeleteFileOnExitFileInputStream - Class in org.tranche.streams
A helper class that extends FileOutputStream and automatically deletes the file that it is reading once the close() method is invoked.
DeleteFileOnExitFileInputStream(File) - Constructor for class org.tranche.streams.DeleteFileOnExitFileInputStream
Creates a new FileOutputStream that uses the File specified to read from.
DeleteFileTool - Class in org.tranche.delete
This tool is used to delete an upload from the repository.
DeleteFileTool() - Constructor for class org.tranche.delete.DeleteFileTool
 
DeleteFileToolListener - Class in org.tranche.delete
 
DeleteFileToolListener() - Constructor for class org.tranche.delete.DeleteFileToolListener
 
DeleteFileToolReport - Class in org.tranche.delete
 
DeleteFileToolReport() - Constructor for class org.tranche.delete.DeleteFileToolReport
 
deleteMetaData(BigHash, String) - Method in class org.tranche.flatfile.DataBlockUtil
Delete a meta data chunk based on hash.
deleteMetaData(BigHash, String, Long, String, Signature[], byte[][], String[]) - Method in class org.tranche.flatfile.FlatFileTrancheServer
 
deleteMetaData(BigHash, String, Long, String, Signature[], byte[][], String[]) - Method in class org.tranche.remote.RemoteTrancheServer
 
deleteMetaData(BigHash, String, Long, String, Signature[], byte[][], String[]) - Method in class org.tranche.routing.RoutingTrancheServer
p>Delete meta data chunk from selected servers.
deleteMetaData(BigHash, String, X509Certificate, PrivateKey, Long, String) - Static method in class org.tranche.tasks.TaskUtil
 
deleteMetaData(BigHash, String, X509Certificate, PrivateKey, Long, String, PrintStream) - Static method in class org.tranche.tasks.TaskUtil
 
deleteMetaData(BigHash, String, Long, String, Signature[], byte[][], String[]) - Method in class org.tranche.TrancheServer
 
deleteMetaData(TrancheServer, X509Certificate, PrivateKey, BigHash) - Static method in class org.tranche.util.IOUtil
Delete a particular meta data chunk from a remote server.
deleteMetaData(TrancheServer, X509Certificate, PrivateKey, BigHash, String[]) - Static method in class org.tranche.util.IOUtil
Delete a particular meta data chunk from selected servers through a remote server.
deleteMetaData(TrancheServer, X509Certificate, PrivateKey, String, Long, String, BigHash) - Static method in class org.tranche.util.IOUtil
 
deleteMetaData(TrancheServer, X509Certificate, PrivateKey, String, Long, String, BigHash, String[]) - Static method in class org.tranche.util.IOUtil
 
DeleteMetaDataItem - Class in org.tranche.server
 
DeleteMetaDataItem(Server) - Constructor for class org.tranche.server.DeleteMetaDataItem
 
DELIMITER - Static variable in class org.tranche.meta.MetaDataAnnotation
The delimiter between the name and value for the annotation.
description - Variable in class org.tranche.project.ProjectSummary
 
deserialize(InputStream) - Method in class org.tranche.add.AddFileToolReport
 
deserialize(InputStream) - Method in class org.tranche.get.GetFileToolReport
 
deserialize(InputStream) - Method in class org.tranche.license.License
 
deserialize(InputStream) - Method in class org.tranche.logs.activity.Activity
 
deserialize(InputStream) - Method in class org.tranche.logs.activity.ActivityLogEntry
 
deserialize(InputStream) - Method in class org.tranche.logs.activity.SignatureIndexEntry
 
deserialize(InputStream) - Method in class org.tranche.network.StatusTable
Sets the table based on the given serialized table.
deserialize(InputStream) - Method in class org.tranche.network.StatusTableRow
Sets the values of the row based on the given serialized row.
deserialize(InputStream) - Method in class org.tranche.security.Signature
 
deserialize(byte[]) - Static method in class org.tranche.server.PropagationExceptionWrapper
 
deserializeVersionOne(InputStream) - Method in class org.tranche.add.AddFileToolReport
 
deserializeVersionOne(InputStream) - Method in class org.tranche.get.GetFileToolReport
 
deserializeVersionOne(InputStream) - Method in class org.tranche.network.StatusTable
Sets the values of the row based the given version one serialized table.
deserializeVersionOne(InputStream) - Method in class org.tranche.network.StatusTableRow
Sets the values of the row based the given version one serialized row.
deserializeVersionTwo(InputStream) - Method in class org.tranche.network.StatusTableRow
 
destroy() - Method in class org.tranche.hash.DiskBackedBigHashList
Deprecated. Use close
destroy() - Method in class org.tranche.project.DiskBackedProjectFilePartSet
Explicity destroy the disk-backed collection.
DFS - Static variable in class org.tranche.flatfile.ServerConfiguration
Get the protocol: DFS
DFS_SSL - Static variable in class org.tranche.flatfile.ServerConfiguration
Get the protocol: DFS+SSL
directory() - Method in class org.tranche.hash.DiskBackedBigHashList
Returns directory that holds partition files
DiskBackedBigHashList - Class in org.tranche.hash
A list that stores BigHash objects.
DiskBackedBigHashList() - Constructor for class org.tranche.hash.DiskBackedBigHashList
 
DiskBackedBigHashSet - Class in org.tranche.hash
Splitting some of functionality from Jayson's SimpleDiskBackedBigHashList to a Set so that both classes behave in their expected manner.
DiskBackedBigHashSet() - Constructor for class org.tranche.hash.DiskBackedBigHashSet
Build a instance using a temp file.
DiskBackedBigHashSet(File) - Constructor for class org.tranche.hash.DiskBackedBigHashSet
Provide a file used to store records on disk.
DiskBackedProjectFilePartSet - Class in org.tranche.project
A memory sensitive Set implementation for managing ProjectFileParts.
DiskBackedProjectFilePartSet() - Constructor for class org.tranche.project.DiskBackedProjectFilePartSet
Creates a new instance of DiskBackedProjectFilePartSet
DiskBackedTransactionLog - Class in org.tranche.flatfile.logs
Logs every transaction.
DiskBackedTransactionLog(File) - Constructor for class org.tranche.flatfile.logs.DiskBackedTransactionLog
 
doAction(BufferedReader, PrintStream) - Method in class org.tranche.clc.AddAdministratorItem
Parse out from input buffer the administrator information to fill the CLC item.
doAction(BufferedReader, PrintStream) - Method in class org.tranche.clc.ConfigurationItem
Show information about the Configuration.
doAction(BufferedReader, PrintStream) - Method in class org.tranche.clc.HelpItem
Parse from the input buffer the required information to fill the help item.
doAction(BufferedReader, PrintStream) - Method in class org.tranche.clc.KillItem
Kill's the server by exiting the process.
doAction(BufferedReader, PrintStream) - Method in class org.tranche.clc.ServerItem
 
doAction(BufferedReader, PrintStream) - Method in class org.tranche.clc.TrancheServerCommandLineClientItem
Abstract class for doAction.
doAction(BufferedReader, PrintStream) - Method in class org.tranche.clc.UserZipFileItem
 
doAction(InputStream, OutputStream, String) - Method in class org.tranche.server.DeleteDataItem
 
doAction(InputStream, OutputStream, String) - Method in class org.tranche.server.DeleteMetaDataItem
 
doAction(InputStream, OutputStream, String) - Method in class org.tranche.server.GetActivityLogEntriesCountItem
 
doAction(InputStream, OutputStream, String) - Method in class org.tranche.server.GetActivityLogEntriesItem
 
doAction(InputStream, OutputStream, String) - Method in class org.tranche.server.GetConfigurationItem
 
doAction(InputStream, OutputStream, String) - Method in class org.tranche.server.GetConfigurationNoSigItem
 
doAction(InputStream, OutputStream, String) - Method in class org.tranche.server.GetDataHashesItem
 
doAction(InputStream, OutputStream, String) - Method in class org.tranche.server.GetDataItem
 
doAction(InputStream, OutputStream, String) - Method in class org.tranche.server.GetMetaDataHashesItem
 
doAction(InputStream, OutputStream, String) - Method in class org.tranche.server.GetMetaDataItem
 
doAction(InputStream, OutputStream, String) - Method in class org.tranche.server.GetNetworkStatusItem
 
doAction(InputStream, OutputStream, String) - Method in class org.tranche.server.GetProjectHashesItem
 
doAction(InputStream, OutputStream, String) - Method in class org.tranche.server.HasDataItem
 
doAction(InputStream, OutputStream, String) - Method in class org.tranche.server.HasMetaDataItem
 
doAction(InputStream, OutputStream, String) - Method in class org.tranche.server.NonceItem
 
doAction(InputStream, OutputStream, String) - Method in class org.tranche.server.PingItem
 
doAction(InputStream, OutputStream, String) - Method in class org.tranche.server.RegisterServerItem
 
doAction(InputStream, OutputStream, String) - Method in class org.tranche.server.RejectedRequestItem
 
doAction(InputStream, OutputStream, String) - Method in class org.tranche.server.ServerItem
Handle the server's action.
doAction(InputStream, OutputStream, String) - Method in class org.tranche.server.SetConfigurationItem
 
doAction(InputStream, OutputStream, String) - Method in class org.tranche.server.SetDataItem
 
doAction(InputStream, OutputStream, String) - Method in class org.tranche.server.SetMetaDataItem
 
doAction(InputStream, OutputStream, String) - Method in class org.tranche.server.ShutdownItem
 
doneLoadingDataBlocks - Variable in class org.tranche.flatfile.FlatFileTrancheServer
Flag if finished loading data blocks (a start-up activity).
DONT_BREAK_LINES - Static variable in class org.tranche.hash.Base64
Don't break lines when encoding (violates strict Base64 specification)
downloadData(BigHash, BigHash) - Method in class org.tranche.get.GetFileTool
Downloads a data chunk.
downloadFromServers - Variable in class org.tranche.project.BackupProjectTool
Servers from which to backup data.
downloadThread - Variable in class org.tranche.remote.RemoteTrancheServer
 
downMessageCompleted(ServerMessageDownEvent) - Method in interface org.tranche.remote.RemoteTrancheServerListener
A notification that an inbound message has been completed.
downMessageCompleted(ServerMessageDownEvent) - Method in class org.tranche.remote.RemoteTrancheServerPerformanceListener
A notification that an inbound message has been completed.
downMessageCompleted(ServerMessageDownEvent) - Method in class org.tranche.servers.CommandLineServerListener
A notification that an inbound message has been completed.
downMessageCompleted(ServerMessageDownEvent) - Method in class org.tranche.servers.ServerAdapter
A notification that an inbound message has been completed.
downMessageFailed(ServerMessageDownEvent) - Method in interface org.tranche.remote.RemoteTrancheServerListener
A notification that an inbound message has failed.
downMessageFailed(ServerMessageDownEvent) - Method in class org.tranche.remote.RemoteTrancheServerPerformanceListener
A notification that an inbound message has failed.
downMessageFailed(ServerMessageDownEvent) - Method in class org.tranche.servers.CommandLineServerListener
A notification that an inbound message has failed.
downMessageFailed(ServerMessageDownEvent) - Method in class org.tranche.servers.ServerAdapter
A notification that an inbound message has failed.
downMessageProgress(ServerMessageDownEvent) - Method in interface org.tranche.remote.RemoteTrancheServerListener
A notification that an inbound message is being downloaded.
downMessageProgress(ServerMessageDownEvent) - Method in class org.tranche.remote.RemoteTrancheServerPerformanceListener
A notification that an inbound message is being downloaded.
downMessageProgress(ServerMessageDownEvent) - Method in class org.tranche.servers.CommandLineServerListener
A notification that an inbound message is being downloaded.
downMessageProgress(ServerMessageDownEvent) - Method in class org.tranche.servers.ServerAdapter
A notification that an inbound message is being downloaded.
downMessageStarted(ServerMessageDownEvent) - Method in interface org.tranche.remote.RemoteTrancheServerListener
A notification that an inbound message has been started.
downMessageStarted(ServerMessageDownEvent) - Method in class org.tranche.remote.RemoteTrancheServerPerformanceListener
A notification that an inbound message has been started.
downMessageStarted(ServerMessageDownEvent) - Method in class org.tranche.servers.CommandLineServerListener
A notification that an inbound message has been started.
downMessageStarted(ServerMessageDownEvent) - Method in class org.tranche.servers.ServerAdapter
A notification that an inbound message has been started.
dropConnection() - Method in class org.tranche.httpd.SocketHandler
Cleans up any streams to the sockets and sets the working state to false.
DROPPED_PORT - Static variable in class org.tranche.network.ConnectionEvent
The value for the port when the event represents a dropped connection.
DROPPED_SSL - Static variable in class org.tranche.network.ConnectionEvent
The SSL value for when the event represents a dropped connection.

E

EasySSLProtocolSocketFactory - Class in org.tranche.security
EasySSLProtocolSocketFactory can be used to creats SSL Sockets that accept self-signed certificates.
EasySSLProtocolSocketFactory() - Constructor for class org.tranche.security.EasySSLProtocolSocketFactory
Constructor for EasySSLProtocolSocketFactory.
EasyX509TrustManager - Class in org.tranche.security
EasyX509TrustManager unlike default X509TrustManager accepts self-signed certificates.
EasyX509TrustManager(KeyStore) - Constructor for class org.tranche.security.EasyX509TrustManager
Constructor for EasyX509TrustManager.
EditMetaDataTool - Class in org.tranche.meta
 
EditMetaDataTool() - Constructor for class org.tranche.meta.EditMetaDataTool
 
EditMetaDataToolListener - Class in org.tranche.meta
 
EditMetaDataToolListener() - Constructor for class org.tranche.meta.EditMetaDataToolListener
 
EditMetaDataToolReport - Class in org.tranche.meta
 
EditMetaDataToolReport() - Constructor for class org.tranche.meta.EditMetaDataToolReport
 
emailFailureNotice(String[], AddFileTool, AddFileToolReport) - Static method in class org.tranche.add.AddFileToolUtil
 
emailReceipt(String[], AddFileToolReport) - Static method in class org.tranche.add.AddFileToolUtil
 
EmailUtil - Class in org.tranche.util
Send an email by posting contents to URL that will send it out.
EmailUtil() - Constructor for class org.tranche.util.EmailUtil
 
encode(byte[]) - Static method in class org.tranche.hash.Base16
Encode an array of bytes into its Base16 ASCII character string equivalent.
ENCODE - Static variable in class org.tranche.hash.Base64
Specify encoding.
encodeByte(byte) - Static method in class org.tranche.hash.Base16
Encode a single byte into its Base16 equivalent ASCII represenation.
encodeByte(byte) - Static method in class org.tranche.security.SecurityUtil
Encodes a byte as a character.
encodeBytes(byte[]) - Static method in class org.tranche.hash.Base64
Encodes a byte array into Base64 notation.
encodeBytes(byte[], int) - Static method in class org.tranche.hash.Base64
Encodes a byte array into Base64 notation.
encodeBytes(byte[], int, int) - Static method in class org.tranche.hash.Base64
Encodes a byte array into Base64 notation.
encodeBytes(byte[], int, int, int) - Static method in class org.tranche.hash.Base64
Encodes a byte array into Base64 notation.
encodeBytes(byte[]) - Static method in class org.tranche.security.SecurityUtil
Helper method to make MD5 hashes digestable and file-name friendly.
encodeFromFile(String) - Static method in class org.tranche.hash.Base64
Convenience method for reading a binary file and base64-encoding it.
encodeObject(Serializable) - Static method in class org.tranche.hash.Base64
Serializes an object and returns the Base64-encoded version of that serialized object.
encodeObject(Serializable, int) - Static method in class org.tranche.hash.Base64
Serializes an object and returns the Base64-encoded version of that serialized object.
encodeToFile(byte[], String) - Static method in class org.tranche.hash.Base64
Convenience method for encoding data to a file.
encryptDiskBacked(String, File) - Static method in class org.tranche.security.SecurityUtil
Encrypts a file using AES and a passphrase.
encryptInMemory(String, byte[]) - Static method in class org.tranche.security.SecurityUtil
In-memory version of encryption function.
EOL - Static variable in class org.tranche.remote.Token
The new line
equals(Object) - Method in class org.tranche.FileEncoding
 
equals(Object) - Method in class org.tranche.flatfile.DataBlockCacheEntry
 
equals(Object) - Method in class org.tranche.flatfile.DataDirectoryConfiguration
 
equals(Object) - Method in class org.tranche.flatfile.ServerConfiguration
 
equals(Object) - Method in class org.tranche.hash.BigHash
A customization of the equals() method to check BigHash objects.
equals(Object) - Method in class org.tranche.hash.span.HashSpan
Returns true if two hash spans are the same; false otherwise.
equals(Object) - Method in class org.tranche.hash.span.HashSpanCollection
Returns whether the hash spans contained within this and the given are equivalent.
equals(Object) - Method in class org.tranche.logs.activity.Activity
 
equals(Object) - Method in class org.tranche.logs.activity.ActivityLogEntry
 
equals(Object) - Method in class org.tranche.logs.activity.SignatureIndexEntry
 
equals(Object) - Method in class org.tranche.meta.MetaDataAnnotation
Compare two meta data annotation objects.
equals(Object) - Method in class org.tranche.network.MultiServerRequestStrategy
 
equals(Object) - Method in class org.tranche.network.StatusTable
Evaluates the given object against this one.
equals(Object) - Method in class org.tranche.network.StatusTableRow
Evaluates all the attributes except the update timestamp of the given object against this one.
equals(Object) - Method in class org.tranche.project.ProjectFilePart
Returns whether the project file part names are the same.
equals(Object) - Method in class org.tranche.remote.RemoteTrancheServer
Returns whether the URL for this server is the same as the URL for the given server.
equals(Object) - Method in class org.tranche.remote.RemoteTrancheServerPerformanceListener
 
equals(Object) - Method in class org.tranche.security.EasySSLProtocolSocketFactory
 
equals(Object) - Method in class org.tranche.security.Signature
A custom equals() method for use by the hash algorithms.
equals(Object) - Method in class org.tranche.server.HostSignatureNonceWrapper
Can test for equality for any of following:
equals(Object) - Method in class org.tranche.tasks.CSVFile
Returns whether this CSV File is the same as the given CSV File.
equals(User) - Method in class org.tranche.users.User
Compare two user objects.
equals(Object) - Method in class org.tranche.users.UserZipFile
Compares two UserZipFiles.
equals(Object) - Method in class org.tranche.util.OperatingSystem
 
equivalent(MultiServerRequestStrategy) - Method in class org.tranche.network.MultiServerRequestStrategy
Test that strategy objects are similar.
ERROR - Static variable in class org.tranche.remote.Token
The bytes of the ERROR_STRING
ERROR_FILE_NOT_FOUND - Static variable in class org.tranche.httpd.HttpConstant
 
ERROR_INVALID_METHOD - Static variable in class org.tranche.httpd.HttpConstant
 
ERROR_META_DATA_TOO_BIG - Static variable in class org.tranche.remote.Token
Meta data can only be so big.
ERROR_REQUEST_NOT_UNDERSTOOD - Static variable in class org.tranche.httpd.HttpConstant
 
ERROR_STRING - Static variable in class org.tranche.remote.Token
The token for sending errors
escapeFileName(File) - Static method in class org.tranche.util.OperatingSystemUtil
Safely escape file so that name doesn't have illegal characters for any operating system, but using Windows illegal character list to escape characters.
escapeFileNameForWindows(File) - Static method in class org.tranche.util.OperatingSystemUtil
Safely escape file so that name doesn't have illegal characters for Windows.
ExcelSavvyLineSplitter - Class in org.tranche.tasks
The all too commonly used line splitting logic for handling data exported from Excel or OpenOffice in .CSV format.
ExcelSavvyLineSplitter() - Constructor for class org.tranche.tasks.ExcelSavvyLineSplitter
 
exception - Variable in class org.tranche.server.PropagationExceptionWrapper
 
execute() - Method in class org.tranche.add.AddFileTool
 
execute(long) - Method in class org.tranche.add.AddFileTool
 
execute() - Method in class org.tranche.delete.DeleteFileTool
 
execute() - Method in class org.tranche.project.ProjectReplicationTool
Start replication.
execute() - Method in class org.tranche.publish.PublishFileTool
 
executeExternalCommand(String) - Static method in class org.tranche.util.OperatingSystemUtil
Run an external app using Runtime.
executeUnixCommandWithOutputRedirect(String, File) - Static method in class org.tranche.util.OperatingSystemUtil
Run an external app using Runtime in Unix, and redirect all output.

F

failedData(AddFileToolEvent, Collection<PropagationExceptionWrapper>) - Method in class org.tranche.add.AddFileToolAdapter
Notification that a data chunk could not be uploaded.
failedData(AddFileToolEvent, Collection<PropagationExceptionWrapper>) - Method in interface org.tranche.add.AddFileToolListener
Notification that a data chunk could not be uploaded.
failedData(AddFileToolEvent, Collection<PropagationExceptionWrapper>) - Method in class org.tranche.add.AddFileToolPerformanceLog
Notification that a data chunk could not be uploaded.
failedData(AddFileToolEvent, Collection<PropagationExceptionWrapper>) - Method in class org.tranche.add.AddFileToolReportListener
Notification that a data chunk could not be uploaded.
failedData(AddFileToolEvent, Collection<PropagationExceptionWrapper>) - Method in class org.tranche.add.CommandLineAddFileToolListener
Notification that a data chunk could not be uploaded.
failedData(GetFileToolEvent, Collection<PropagationExceptionWrapper>) - Method in class org.tranche.get.CommandLineGetFileToolListener
Notification that a data chunk could not be downloaded.
failedData(GetFileToolEvent, Collection<PropagationExceptionWrapper>) - Method in class org.tranche.get.GetFileToolAdapter
Notification that a data chunk could not be downloaded.
failedData(GetFileToolEvent, Collection<PropagationExceptionWrapper>) - Method in class org.tranche.get.GetFileToolFailedChunksListener
Notification that a data chunk could not be downloaded.
failedData(GetFileToolEvent, Collection<PropagationExceptionWrapper>) - Method in interface org.tranche.get.GetFileToolListener
Notification that a data chunk could not be downloaded.
failedData(GetFileToolEvent, Collection<PropagationExceptionWrapper>) - Method in class org.tranche.get.GetFileToolPerformanceLog
Notification that a data chunk could not be downloaded.
failedData(GetFileToolEvent, Collection<PropagationExceptionWrapper>) - Method in class org.tranche.get.GetFileToolReportListener
Notification that a data chunk could not be downloaded.
failedDirectory(AddFileToolEvent, Collection<PropagationExceptionWrapper>) - Method in class org.tranche.add.AddFileToolAdapter
Notification that a directory upload has failed.
failedDirectory(AddFileToolEvent, Collection<PropagationExceptionWrapper>) - Method in interface org.tranche.add.AddFileToolListener
Notification that a directory upload has failed.
failedDirectory(AddFileToolEvent, Collection<PropagationExceptionWrapper>) - Method in class org.tranche.add.AddFileToolPerformanceLog
Notification that a directory upload has failed.
failedDirectory(AddFileToolEvent, Collection<PropagationExceptionWrapper>) - Method in class org.tranche.add.AddFileToolReportListener
Notification that a directory upload has failed.
failedDirectory(AddFileToolEvent, Collection<PropagationExceptionWrapper>) - Method in class org.tranche.add.CommandLineAddFileToolListener
Notification that a directory upload has failed.
failedDirectory(GetFileToolEvent, Collection<PropagationExceptionWrapper>) - Method in class org.tranche.get.CommandLineGetFileToolListener
Notification that a directory download has failed.
failedDirectory(GetFileToolEvent, Collection<PropagationExceptionWrapper>) - Method in class org.tranche.get.GetFileToolAdapter
Notification that a directory download has failed.
failedDirectory(GetFileToolEvent, Collection<PropagationExceptionWrapper>) - Method in class org.tranche.get.GetFileToolFailedChunksListener
Notification that a directory download has failed.
failedDirectory(GetFileToolEvent, Collection<PropagationExceptionWrapper>) - Method in interface org.tranche.get.GetFileToolListener
Notification that a directory download has failed.
failedDirectory(GetFileToolEvent, Collection<PropagationExceptionWrapper>) - Method in class org.tranche.get.GetFileToolPerformanceLog
Notification that a directory download has failed.
failedDirectory(GetFileToolEvent, Collection<PropagationExceptionWrapper>) - Method in class org.tranche.get.GetFileToolReportListener
Notification that a directory download has failed.
failedFile(AddFileToolEvent, Collection<PropagationExceptionWrapper>) - Method in class org.tranche.add.AddFileToolAdapter
Notification that a file upload has failed.
failedFile(AddFileToolEvent, Collection<PropagationExceptionWrapper>) - Method in interface org.tranche.add.AddFileToolListener
Notification that a file upload has failed.
failedFile(AddFileToolEvent, Collection<PropagationExceptionWrapper>) - Method in class org.tranche.add.AddFileToolPerformanceLog
Notification that a file upload has failed.
failedFile(AddFileToolEvent, Collection<PropagationExceptionWrapper>) - Method in class org.tranche.add.AddFileToolReportListener
Notification that a file upload has failed.
failedFile(AddFileToolEvent, Collection<PropagationExceptionWrapper>) - Method in class org.tranche.add.CommandLineAddFileToolListener
Notification that a file upload has failed.
failedFile(GetFileToolEvent, Collection<PropagationExceptionWrapper>) - Method in class org.tranche.get.CommandLineGetFileToolListener
Notification that a file download has failed.
failedFile(GetFileToolEvent, Collection<PropagationExceptionWrapper>) - Method in class org.tranche.get.GetFileToolAdapter
Notification that a file download has failed.
failedFile(GetFileToolEvent, Collection<PropagationExceptionWrapper>) - Method in class org.tranche.get.GetFileToolFailedChunksListener
Notification that a file download has failed.
failedFile(GetFileToolEvent, Collection<PropagationExceptionWrapper>) - Method in interface org.tranche.get.GetFileToolListener
Notification that a file download has failed.
failedFile(GetFileToolEvent, Collection<PropagationExceptionWrapper>) - Method in class org.tranche.get.GetFileToolPerformanceLog
Notification that a file download has failed.
failedFile(GetFileToolEvent, Collection<PropagationExceptionWrapper>) - Method in class org.tranche.get.GetFileToolReportListener
Notification that a file download has failed.
failedMetaData(AddFileToolEvent, Collection<PropagationExceptionWrapper>) - Method in class org.tranche.add.AddFileToolAdapter
Notification that a meta data chunk could not be uploaded.
failedMetaData(AddFileToolEvent, Collection<PropagationExceptionWrapper>) - Method in interface org.tranche.add.AddFileToolListener
Notification that a meta data chunk could not be uploaded.
failedMetaData(AddFileToolEvent, Collection<PropagationExceptionWrapper>) - Method in class org.tranche.add.AddFileToolPerformanceLog
Notification that a meta data chunk could not be uploaded.
failedMetaData(AddFileToolEvent, Collection<PropagationExceptionWrapper>) - Method in class org.tranche.add.AddFileToolReportListener
Notification that a meta data chunk could not be uploaded.
failedMetaData(AddFileToolEvent, Collection<PropagationExceptionWrapper>) - Method in class org.tranche.add.CommandLineAddFileToolListener
Notification that a meta data chunk could not be uploaded.
failedMetaData(GetFileToolEvent, Collection<PropagationExceptionWrapper>) - Method in class org.tranche.get.CommandLineGetFileToolListener
Notification that a meta data chunk could not be downloaded.
failedMetaData(GetFileToolEvent, Collection<PropagationExceptionWrapper>) - Method in class org.tranche.get.GetFileToolAdapter
Notification that a meta data chunk could not be downloaded.
failedMetaData(GetFileToolEvent, Collection<PropagationExceptionWrapper>) - Method in class org.tranche.get.GetFileToolFailedChunksListener
Notification that a meta data chunk could not be downloaded.
failedMetaData(GetFileToolEvent, Collection<PropagationExceptionWrapper>) - Method in interface org.tranche.get.GetFileToolListener
Notification that a meta data chunk could not be downloaded.
failedMetaData(GetFileToolEvent, Collection<PropagationExceptionWrapper>) - Method in class org.tranche.get.GetFileToolPerformanceLog
Notification that a meta data chunk could not be downloaded.
failedMetaData(GetFileToolEvent, Collection<PropagationExceptionWrapper>) - Method in class org.tranche.get.GetFileToolReportListener
Notification that a meta data chunk could not be downloaded.
FILE_LAST_MODIFIED_TIMESTAMP - Static variable in class org.tranche.meta.MetaDataAnnotation
Deprecated. Moved into meta data properties, name of MetaData.PROP_TIMESTAMP_FILE
FileEncoding - Class in org.tranche
Represents an encoding of a chunk.
FileEncoding(String, Properties) - Constructor for class org.tranche.FileEncoding
 
FileEncoding(String, BigHash) - Constructor for class org.tranche.FileEncoding
 
files - Variable in class org.tranche.project.ProjectSummary
 
filesBuffered - Variable in class org.tranche.hash.DiskBackedBigHashSet
 
filesCompleted - Variable in class org.tranche.timeestimator.TimeEstimator
 
finalize() - Method in class org.tranche.hash.DiskBackedBigHashList
When done with list, destroy records on disk.
finalize() - Method in class org.tranche.project.DiskBackedProjectFilePartSet
Help prevent amassing large num.
finalize() - Method in class org.tranche.project.ProjectFile
Destroys the disk backed project file part set.
finalize() - Method in class org.tranche.server.Server
Ensures that the socket is closed.
findAvailablePort(int, int) - Static method in class org.tranche.util.IOUtil
Returns the first port in a range that is available on local machine.
findFastestStrategiesUsingConnectedCoreServers(Collection<String>, Tertiary, Tertiary) - Static method in class org.tranche.network.MultiServerRequestStrategy
Finds set of strategies that have the smallest depth, which is a strong heuristic for speed.
finilize() - Method in class org.tranche.httpd.Httpd
If this object is destroyed shutdowns and connections that are still open.
finilize() - Method in class org.tranche.httpd.SocketHandler
Drops connections if this object is about to be deleted.
finish() - Method in class org.tranche.hash.BigHashMaker
Create the BigHash return bytes of the BigHash.
finishedData(AddFileToolEvent) - Method in class org.tranche.add.AddFileToolAdapter
Notification that a data chunk has been uploaded.
finishedData(AddFileToolEvent) - Method in interface org.tranche.add.AddFileToolListener
Notification that a data chunk has been uploaded.
finishedData(AddFileToolEvent) - Method in class org.tranche.add.AddFileToolPerformanceLog
Notification that a data chunk has been uploaded.
finishedData(AddFileToolEvent) - Method in class org.tranche.add.AddFileToolReportListener
Notification that a data chunk has been uploaded.
finishedData(AddFileToolEvent) - Method in class org.tranche.add.CommandLineAddFileToolListener
Notification that a data chunk has been uploaded.
finishedData(GetFileToolEvent) - Method in class org.tranche.get.CommandLineGetFileToolListener
Notification that a data chunk has been downloaded.
finishedData(GetFileToolEvent) - Method in class org.tranche.get.GetFileToolAdapter
Notification that a data chunk has been downloaded.
finishedData(GetFileToolEvent) - Method in class org.tranche.get.GetFileToolFailedChunksListener
Notification that a data chunk has been downloaded.
finishedData(GetFileToolEvent) - Method in interface org.tranche.get.GetFileToolListener
Notification that a data chunk has been downloaded.
finishedData(GetFileToolEvent) - Method in class org.tranche.get.GetFileToolPerformanceLog
Notification that a data chunk has been downloaded.
finishedData(GetFileToolEvent) - Method in class org.tranche.get.GetFileToolReportListener
Notification that a data chunk has been downloaded.
finishedDirectory(AddFileToolEvent) - Method in class org.tranche.add.AddFileToolAdapter
Notification that a directory upload has finished.
finishedDirectory(AddFileToolEvent) - Method in interface org.tranche.add.AddFileToolListener
Notification that a directory upload has finished.
finishedDirectory(AddFileToolEvent) - Method in class org.tranche.add.AddFileToolPerformanceLog
Notification that a directory upload has finished.
finishedDirectory(AddFileToolEvent) - Method in class org.tranche.add.AddFileToolReportListener
Notification that a directory upload has finished.
finishedDirectory(AddFileToolEvent) - Method in class org.tranche.add.CommandLineAddFileToolListener
Notification that a directory upload has finished.
finishedDirectory(GetFileToolEvent) - Method in class org.tranche.get.CommandLineGetFileToolListener
Notification that a directory download has finished.
finishedDirectory(GetFileToolEvent) - Method in class org.tranche.get.GetFileToolAdapter
Notification that a directory download has finished.
finishedDirectory(GetFileToolEvent) - Method in class org.tranche.get.GetFileToolFailedChunksListener
Notification that a directory download has finished.
finishedDirectory(GetFileToolEvent) - Method in interface org.tranche.get.GetFileToolListener
Notification that a directory download has finished.
finishedDirectory(GetFileToolEvent) - Method in class org.tranche.get.GetFileToolPerformanceLog
Notification that a directory download has finished.
finishedDirectory(GetFileToolEvent) - Method in class org.tranche.get.GetFileToolReportListener
Notification that a directory download has finished.
finishedFile(AddFileToolEvent) - Method in class org.tranche.add.AddFileToolAdapter
Notification that a file upload has finished.
finishedFile(AddFileToolEvent) - Method in interface org.tranche.add.AddFileToolListener
Notification that a file upload has finished.
finishedFile(AddFileToolEvent) - Method in class org.tranche.add.AddFileToolPerformanceLog
Notification that a file upload has finished.
finishedFile(AddFileToolEvent) - Method in class org.tranche.add.AddFileToolReportListener
Notification that a file upload has finished.
finishedFile(AddFileToolEvent) - Method in class org.tranche.add.CommandLineAddFileToolListener
Notification that a file upload has finished.
finishedFile(GetFileToolEvent) - Method in class org.tranche.get.CommandLineGetFileToolListener
Notification that a file download has finished.
finishedFile(GetFileToolEvent) - Method in class org.tranche.get.GetFileToolAdapter
Notification that a file download has finished.
finishedFile(GetFileToolEvent) - Method in class org.tranche.get.GetFileToolFailedChunksListener
Notification that a file download has finished.
finishedFile(GetFileToolEvent) - Method in interface org.tranche.get.GetFileToolListener
Notification that a file download has finished.
finishedFile(GetFileToolEvent) - Method in class org.tranche.get.GetFileToolPerformanceLog
Notification that a file download has finished.
finishedFile(GetFileToolEvent) - Method in class org.tranche.get.GetFileToolReportListener
Notification that a file download has finished.
finishedMetaData(AddFileToolEvent) - Method in class org.tranche.add.AddFileToolAdapter
Notification that a meta data chunk has been uploaded.
finishedMetaData(AddFileToolEvent) - Method in interface org.tranche.add.AddFileToolListener
Notification that a meta data chunk has been uploaded.
finishedMetaData(AddFileToolEvent) - Method in class org.tranche.add.AddFileToolPerformanceLog
Notification that a meta data chunk has been uploaded.
finishedMetaData(AddFileToolEvent) - Method in class org.tranche.add.AddFileToolReportListener
Notification that a meta data chunk has been uploaded.
finishedMetaData(AddFileToolEvent) - Method in class org.tranche.add.CommandLineAddFileToolListener
Notification that a meta data chunk has been uploaded.
finishedMetaData(GetFileToolEvent) - Method in class org.tranche.get.CommandLineGetFileToolListener
Notification that a meta data chunk has been downloaded.
finishedMetaData(GetFileToolEvent) - Method in class org.tranche.get.GetFileToolAdapter
Notification that a meta data chunk has been downloaded.
finishedMetaData(GetFileToolEvent) - Method in class org.tranche.get.GetFileToolFailedChunksListener
Notification that a meta data chunk has been downloaded.
finishedMetaData(GetFileToolEvent) - Method in interface org.tranche.get.GetFileToolListener
Notification that a meta data chunk has been downloaded.
finishedMetaData(GetFileToolEvent) - Method in class org.tranche.get.GetFileToolPerformanceLog
Notification that a meta data chunk has been downloaded.
finishedMetaData(GetFileToolEvent) - Method in class org.tranche.get.GetFileToolReportListener
Notification that a meta data chunk has been downloaded.
fireCallbackPurged(RemoteCallback, RemoteTrancheServer, long) - Method in class org.tranche.flatfile.HashSpanFixingThreadPolicyDecider
Fired when a callback is purged.
fireCallbackPurged(RemoteCallback, RemoteTrancheServer, long) - Method in interface org.tranche.remote.RemoteCallbackPurgeListener
If a remote callback is being purged by the scavenger
fireCallbackPurged(RemoteCallback, RemoteTrancheServer, long) - Static method in class org.tranche.remote.RemoteCallbackRegistry
The caller should be the RemoteCallback, which will only happen if it is purged.
fireConfigurationSet(Configuration) - Method in class org.tranche.flatfile.FlatFileTrancheServer
Fired when configuration is set.
fireCreatedBytesToUpload(long, long) - Method in class org.tranche.remote.RemoteTrancheServer
Notify the listeners that bytes have been created to go to the server.
fireCreatedCallback(RemoteCallback) - Method in class org.tranche.remote.RemoteTrancheServer
Notify server listeners that a new callback has been created.
fireDataChunkAdded(BigHash) - Method in class org.tranche.flatfile.FlatFileTrancheServer
Fired when data chunk is added.
fireDataChunkDeleted(BigHash) - Method in class org.tranche.flatfile.FlatFileTrancheServer
Fired when data chunk is deleted.
fireDataChunkFailed(BigHash) - Method in class org.tranche.project.CommandLineProjectReplicationToolListener
Event fired when data chunk failed.
fireDataChunkFailed(BigHash) - Method in class org.tranche.project.ProjectReplicationTool
Event fired when data chunk failed.
fireDataChunkFailed(BigHash) - Method in interface org.tranche.project.ProjectReplicationToolListener
Event fired when data chunk failed.
fireDataChunkReplicated(BigHash) - Method in class org.tranche.project.CommandLineProjectReplicationToolListener
Event fired when data chunk replicated.
fireDataChunkReplicated(BigHash) - Method in class org.tranche.project.ProjectReplicationTool
Event fired when data chunk replicated.
fireDataChunkReplicated(BigHash) - Method in interface org.tranche.project.ProjectReplicationToolListener
Event fired when data chunk replicated.
fireDataChunkSkipped(BigHash) - Method in class org.tranche.project.CommandLineProjectReplicationToolListener
Event fired when data chunk skipped.
fireDataChunkSkipped(BigHash) - Method in class org.tranche.project.ProjectReplicationTool
Event fired when data chunk skipped.
fireDataChunkSkipped(BigHash) - Method in interface org.tranche.project.ProjectReplicationToolListener
Event fired when data chunk skipped.
fireDataServersAdded(String[]) - Method in class org.tranche.routing.RoutingTrancheServer
 
fireDataServersRemoved(String[]) - Method in class org.tranche.routing.RoutingTrancheServer
Fired when a RoutingTrancheServer instance removes one or more data server.
fireFailedCallback(RemoteCallback) - Method in class org.tranche.remote.RemoteTrancheServer
Notify server listeners that a server request failed.
fireFailedDownloadingBytes(long) - Method in class org.tranche.remote.RemoteTrancheServer
Notify the listeners that bytes have failed to be downloaded from the server.
fireFailedUploadingBytes(long) - Method in class org.tranche.remote.RemoteTrancheServer
Notify the listeners that bytes could not be uploaded to the server.
fireFileFailed(BigHash) - Method in class org.tranche.project.CommandLineProjectReplicationToolListener
Event fired when file failed.
fireFileFailed(BigHash) - Method in class org.tranche.project.ProjectReplicationTool
Event fired when file failed.
fireFileFailed(BigHash) - Method in interface org.tranche.project.ProjectReplicationToolListener
Event fired when file failed.
fireFileFinished(BigHash) - Method in class org.tranche.project.CommandLineProjectReplicationToolListener
Event fired when file finished.
fireFileFinished(BigHash) - Method in class org.tranche.project.ProjectReplicationTool
Event fired when file finished.
fireFileFinished(BigHash) - Method in interface org.tranche.project.ProjectReplicationToolListener
Event fired when file finished.
fireFinishedDownloadingBytes(long, long, long) - Method in class org.tranche.remote.RemoteTrancheServer
Notify the listeners that bytes have been downloaded from the server.
fireFinishedUploadingBytes(long, long, long) - Method in class org.tranche.remote.RemoteTrancheServer
Notify the listeners that bytes have been uploaded to the server.
fireFulfilledCallback(RemoteCallback) - Method in class org.tranche.remote.RemoteTrancheServer
Notify server listeners that a server request has been fulfilled.
fireMetaDataChunkAdded(BigHash) - Method in class org.tranche.flatfile.FlatFileTrancheServer
Fired when meta data chunk is added.
fireMetaDataChunkDeleted(BigHash) - Method in class org.tranche.flatfile.FlatFileTrancheServer
Fired when meta data chunk is deleted.
fireMetaDataChunkFailed(BigHash) - Method in class org.tranche.project.CommandLineProjectReplicationToolListener
Event fired when meta data chunk failed.
fireMetaDataChunkFailed(BigHash) - Method in class org.tranche.project.ProjectReplicationTool
Event fired when meta data chunk failed.
fireMetaDataChunkFailed(BigHash) - Method in interface org.tranche.project.ProjectReplicationToolListener
Event fired when meta data chunk failed.
fireMetaDataChunkReplicated(BigHash) - Method in class org.tranche.project.CommandLineProjectReplicationToolListener
Event fired when meta data chunk replicated.
fireMetaDataChunkReplicated(BigHash) - Method in class org.tranche.project.ProjectReplicationTool
Event fired when meta data chunk replicated.
fireMetaDataChunkReplicated(BigHash) - Method in interface org.tranche.project.ProjectReplicationToolListener
Event fired when meta data chunk replicated.
fireMetaDataChunkSkipped(BigHash) - Method in class org.tranche.project.CommandLineProjectReplicationToolListener
Event fired when meta data chunk skipped.
fireMetaDataChunkSkipped(BigHash) - Method in class org.tranche.project.ProjectReplicationTool
Event fired when meta data chunk skipped.
fireMetaDataChunkSkipped(BigHash) - Method in interface org.tranche.project.ProjectReplicationToolListener
Event fired when meta data chunk skipped.
fireNewConnection() - Method in class org.tranche.remote.RemoteTrancheServer
Notify the listeners that a new connection has been made to the server.
fireReplicationFailed() - Method in class org.tranche.project.CommandLineProjectReplicationToolListener
Event fired when replication failed.
fireReplicationFailed() - Method in class org.tranche.project.ProjectReplicationTool
Event fired when replication failed.
fireReplicationFailed() - Method in interface org.tranche.project.ProjectReplicationToolListener
Event fired when replication failed.
fireReplicationFinished() - Method in class org.tranche.project.CommandLineProjectReplicationToolListener
Event fired when replication finished.
fireReplicationFinished() - Method in class org.tranche.project.ProjectReplicationTool
Event fired when replication finished.
fireReplicationFinished() - Method in interface org.tranche.project.ProjectReplicationToolListener
Event fired when replication finished.
fireReplicationStarted(ProjectReplicationTool) - Method in class org.tranche.project.CommandLineProjectReplicationToolListener
Event fired when replication started.
fireReplicationStarted(ProjectReplicationTool) - Method in class org.tranche.project.ProjectReplicationTool
Event fired when replication started.
fireReplicationStarted(ProjectReplicationTool) - Method in interface org.tranche.project.ProjectReplicationToolListener
Event fired when replication started.
fireRowsUpdated(Map<String, Boolean>, Map<String, Boolean>) - Method in class org.tranche.network.StatusTable
Fires an event for having updated a map of hosts.
fireRowUpdated(String, boolean, boolean) - Method in class org.tranche.network.StatusTable
Fires an event for having updated a row.
fireStartedDownloadingBytes(long, long) - Method in class org.tranche.remote.RemoteTrancheServer
Notify the listeners that bytes have been downloaded from the server.
fireStartedUploadingBytes(long, long) - Method in class org.tranche.remote.RemoteTrancheServer
Notify the listeners that bytes are starting to be uploaded to the server.
fireUpdateDownloadingBytes(long, long, long) - Method in class org.tranche.remote.RemoteTrancheServer
Notify the listeners that bytes have been downloaded from the server.
FIRST - Static variable in class org.tranche.hash.span.HashSpan
Constant of the first and last possible BigHash possible.
Fix - Annotation Type in org.tranche.annotations
Leave annotations about bug fixes or fixes of other natures.
FixList - Annotation Type in org.tranche.annotations
List of Fix annotations.
FLAG_BOOLEAN - Static variable in class org.tranche.server.PropagationReturnWrapper
 
FLAG_BYTE_1D - Static variable in class org.tranche.server.PropagationReturnWrapper
 
FLAG_BYTE_2D - Static variable in class org.tranche.server.PropagationReturnWrapper
 
FLAG_BYTE_3D - Static variable in class org.tranche.server.PropagationReturnWrapper
 
FLAG_VOID - Static variable in class org.tranche.server.PropagationReturnWrapper
 
flagOffline(String) - Static method in class org.tranche.network.ConnectionUtil
Must FIRST safely force the closure of the connection.
flagOffline(String, String) - Static method in class org.tranche.network.ConnectionUtil
Must FIRST safely force the closure of the connection.
FlatFileTrancheServer - Class in org.tranche.flatfile
An implementation of the TrancheServer interface that relies on the underlying operating system's filesystem.
FlatFileTrancheServer(File) - Constructor for class org.tranche.flatfile.FlatFileTrancheServer
 
FlatFileTrancheServer(File, ActivityLog) - Constructor for class org.tranche.flatfile.FlatFileTrancheServer
 
FlatFileTrancheServer(String) - Constructor for class org.tranche.flatfile.FlatFileTrancheServer
 
FlatFileTrancheServer(String, X509Certificate, PrivateKey) - Constructor for class org.tranche.flatfile.FlatFileTrancheServer
 
FlatFileTrancheServer(String, ActivityLog) - Constructor for class org.tranche.flatfile.FlatFileTrancheServer
 
FlatFileTrancheServer(String, ActivityLog, X509Certificate, PrivateKey) - Constructor for class org.tranche.flatfile.FlatFileTrancheServer
 
FlatFileTrancheServerListener - Interface in org.tranche.flatfile
Listener for important actions involving FlatFileTrancheServer.
flush() - Method in class org.tranche.server.logs.AutoUploadingBinaryLog
Coerces the log to flush contents and upload.
flush() - Method in class org.tranche.streams.AESEncodingStream
Flush the output stream.
flush() - Method in class org.tranche.streams.GZIPEncodingStream
Flush the output stream.
flush() - Method in class org.tranche.streams.WrappedOutputStream
Flushes any bytes being buffered.
flushBase64() - Method in class org.tranche.hash.Base64.OutputStream
Method added by PHIL.
flushOutputStreams() - Method in class org.tranche.remote.RemoteTrancheServer
Send the output.
Formatter - Class in org.tranche.httpd
This class is a helper class to handle the formatting strings written either as an HTTP response, or to stdout, or to stderr.
Formatter() - Constructor for class org.tranche.httpd.Formatter
 
FREE_BSD - Static variable in class org.tranche.util.OperatingSystem
Represents FreeBSD
FREE_MEMORY - Static variable in class org.tranche.configuration.ConfigKeys
Free RAM on the server.
FULL - Static variable in class org.tranche.hash.span.HashSpan
Full hash span
FULL_SET - Static variable in class org.tranche.hash.span.HashSpan
 

G

generateBase64Password(int) - Static method in class org.tranche.security.SecurityUtil
Generate a random base64 password of specified size.
generateBase64Password() - Static method in class org.tranche.security.SecurityUtil
Generate a random base64 password 20 characters long.
get(BigHash, boolean) - Method in class org.tranche.flatfile.DataBlockCache
Returns the DataBlockCacheEntry from the cache if exists, or null if not there.
get(int) - Method in class org.tranche.hash.DiskBackedBigHashList
Get BigHash at specified index.
get(long, long) - Method in class org.tranche.hash.DiskBackedBigHashSet
 
get(String) - Static method in class org.tranche.httpd.GetHandler
 
get(BigHash) - Static method in class org.tranche.meta.MetaDataCache
Returns a clone of the meta data with the given hash.
get(BigHash, boolean) - Static method in class org.tranche.meta.MetaDataCache
 
get(BigHash, boolean, Collection<String>) - Static method in class org.tranche.meta.MetaDataCache
 
get(StatusTableRow) - Static method in class org.tranche.network.ConnectionUtil
Gets the connection to a Tranche server.
get(BigHash) - Static method in class org.tranche.project.ProjectFileCache
Returns the project file with the given hash.
get(BigHash, boolean) - Static method in class org.tranche.project.ProjectFileCache
 
get(BigHash, boolean, String) - Static method in class org.tranche.project.ProjectFileCache
 
get(BigHash, boolean, Collection<String>) - Static method in class org.tranche.project.ProjectFileCache
 
get(BigHash, boolean, String, Collection<String>) - Static method in class org.tranche.project.ProjectFileCache
 
get(String, String) - Static method in class org.tranche.util.PreferencesUtil
 
get(String) - Static method in class org.tranche.util.PreferencesUtil
 
get1DBytes(PropagationReturnWrapper) - Static method in class org.tranche.util.IOUtil
 
get2DBytes(PropagationReturnWrapper) - Static method in class org.tranche.util.IOUtil
 
GET_ACTIVITY_LOG_ENTRIES - Static variable in class org.tranche.remote.OutGoingBytes
 
GET_ACTIVITY_LOG_ENTRIES - Static variable in class org.tranche.remote.Token
The byte array form of GET_ACTIVITY_LOG_ENTRIES_STRING.
GET_ACTIVITY_LOG_ENTRIES_COUNT - Static variable in class org.tranche.remote.OutGoingBytes
 
GET_ACTIVITY_LOG_ENTRIES_COUNT - Static variable in class org.tranche.remote.Token
The byte array form of GET_ACTIVITY_LOG_ENTRIES_COUNT_STRING.
GET_ACTIVITY_LOG_ENTRIES_COUNT_STRING - Static variable in class org.tranche.remote.Token
The token for getting activity log entries count.
GET_ACTIVITY_LOG_ENTRIES_STRING - Static variable in class org.tranche.remote.Token
The token for getting activity log entries.
GET_CONFIG - Static variable in class org.tranche.server.logs.LogEntryQueueItem
Keys for the action being logged
GET_CONFIGURATION - Static variable in class org.tranche.remote.OutGoingBytes
 
GET_CONFIGURATION - Static variable in class org.tranche.remote.Token
The bytes form of GET_CONFIGURATION_STRING
GET_CONFIGURATION_CACHE_TIME - Static variable in class org.tranche.configuration.ConfigKeys
Time to internally cache configuration used when FlatFileTrancheServer.getConfiguration called.
GET_CONFIGURATION_NO_SIG - Static variable in class org.tranche.remote.Token
The bytes form of GET_CONFIGURATION_NO_SIG_STRING
GET_CONFIGURATION_NO_SIG_STRING - Static variable in class org.tranche.remote.Token
The token for getting configuration
GET_CONFIGURATION_STRING - Static variable in class org.tranche.remote.Token
The token for getting configuration
GET_DATA - Static variable in class org.tranche.remote.OutGoingBytes
 
GET_DATA - Static variable in class org.tranche.remote.Token
The bytes form of GET_DATA_STRING
GET_DATA - Static variable in class org.tranche.server.logs.LogEntryQueueItem
Keys for the action being logged
GET_DATA_HASHES - Static variable in class org.tranche.remote.OutGoingBytes
 
GET_DATA_HASHES - Static variable in class org.tranche.remote.Token
The bytes form of GET_DATA_HASHSES_STRING
GET_DATA_HASHES_STRING - Static variable in class org.tranche.remote.Token
The token for getting data hashes
GET_DATA_STRING - Static variable in class org.tranche.remote.Token
The token for asking for data
GET_META - Static variable in class org.tranche.remote.Token
The bytes form of GET_META_STRING
GET_META_DATA - Static variable in class org.tranche.remote.OutGoingBytes
 
GET_META_DATA - Static variable in class org.tranche.server.logs.LogEntryQueueItem
Keys for the action being logged
GET_META_HASHES - Static variable in class org.tranche.remote.OutGoingBytes
 
GET_META_HASHES - Static variable in class org.tranche.remote.Token
The bytes form of GET_META_HASHES_STRING
GET_META_HASHES_STRING - Static variable in class org.tranche.remote.Token
The token for getting meta-data hashes
GET_META_STRING - Static variable in class org.tranche.remote.Token
The token for sending meta-data
GET_NETWORK_STATUS - Static variable in class org.tranche.remote.OutGoingBytes
 
GET_NETWORK_STATUS_PORTION - Static variable in class org.tranche.remote.Token
The bytes form of GET_NETWORK_STATUS_STRING
GET_NETWORK_STATUS_PORTION_STRING - Static variable in class org.tranche.remote.Token
Token for a network status request.
GET_NONCE - Static variable in class org.tranche.server.logs.LogEntryQueueItem
Keys for the action being logged
GET_NONCES - Static variable in class org.tranche.remote.Token
The bytes form of GET_NONCE_STRING
GET_NONCES_STRING - Static variable in class org.tranche.remote.Token
The token for sending nonce
GET_PROJECT_HASHES - Static variable in class org.tranche.remote.OutGoingBytes
 
GET_PROJECT_HASHES - Static variable in class org.tranche.remote.Token
The bytes form of GET_PROJECT_HASHES_STRING
GET_PROJECT_HASHES_STRING - Static variable in class org.tranche.remote.Token
The token for getting project hashes
getAbsoluteCallbackTimeoutInMillis() - Static method in class org.tranche.remote.RemoteCallbackRegistry
The age at which any timeout is purged, regardless of whether the server is active or not.
getAbsolutePath() - Method in class org.tranche.flatfile.DataBlock
Get absolute path to underlying file for DataBlock.
getAbstractionFirst() - Method in class org.tranche.hash.span.AbstractHashSpan
 
getAbstractionLast() - Method in class org.tranche.hash.span.AbstractHashSpan
 
getAcceptedIssuers() - Method in class org.tranche.security.EasyX509TrustManager
 
getAction() - Method in class org.tranche.add.AddFileToolEvent
The action that this event is reporting.
getAction() - Method in class org.tranche.get.GetFileToolEvent
The action that this event is reporting.
getAction() - Method in class org.tranche.logs.activity.Activity
 
getAction() - Method in class org.tranche.logs.activity.ActivityLogEntry
 
getAction() - Method in class org.tranche.server.logs.LogEntry
 
getActionString() - Method in class org.tranche.add.AddFileToolEvent
The human-readable version of the action that this event is reporting.
getActionString() - Method in class org.tranche.get.GetFileToolEvent
The human-readable version of the action that this event is reporting.
getActivitiesLogFile() - Method in class org.tranche.logs.activity.ActivityLog
 
getActivityCount(long, long, byte) - Method in class org.tranche.logs.activity.ActivityLog
Returns count of all activities between timestamps that match mask.
getActivityLog() - Method in class org.tranche.flatfile.FlatFileTrancheServer
Returns the activity log.
getActivityLogEntries(long, long, int, byte) - Method in class org.tranche.flatfile.FlatFileTrancheServer
Get all activity log entries from within a time period.
getActivityLogEntries(long, long, int, byte) - Method in class org.tranche.remote.RemoteTrancheServer
Get all activity log entries from within a time period.
getActivityLogEntries(long, long, int, byte) - Method in class org.tranche.routing.RoutingTrancheServer
Get all activity log entries from within a time period.
getActivityLogEntries(long, long, int, byte) - Method in class org.tranche.TrancheServer
Get all activity log entries from within a time period.
getActivityLogEntriesCount(long, long, byte) - Method in class org.tranche.flatfile.FlatFileTrancheServer
Returns a count of all activity log entries from within a time period.
getActivityLogEntriesCount() - Method in class org.tranche.logs.activity.ActivityLog
 
getActivityLogEntriesCount(long, long, byte) - Method in class org.tranche.remote.RemoteTrancheServer
Returns a count of all activity log entries from within a time period.
getActivityLogEntriesCount(long, long, byte) - Method in class org.tranche.routing.RoutingTrancheServer
Returns a count of all activity log entries from within a time period.
getActivityLogEntriesCount(long, long, byte) - Method in class org.tranche.TrancheServer
Returns a count of all activity log entries from within a time period.
GetActivityLogEntriesCountItem - Class in org.tranche.server
Server item: get activity log entries count within a time frame.
GetActivityLogEntriesCountItem(Server) - Constructor for class org.tranche.server.GetActivityLogEntriesCountItem
 
GetActivityLogEntriesItem - Class in org.tranche.server
Server item: get activity log entries within a time frame.
GetActivityLogEntriesItem(Server) - Constructor for class org.tranche.server.GetActivityLogEntriesItem
 
getActualSize() - Method in class org.tranche.flatfile.DataDirectoryConfiguration
Get the size, in bytes, of actual data stored in this directory.
getAdmin() - Static method in class org.tranche.security.SecurityUtil
Get User object representing adminstrative privileges.
getAdminCertificate() - Static method in class org.tranche.security.SecurityUtil
Returns certificate with priveldges: all
getAdminEmailAccounts() - Static method in class org.tranche.ConfigureTranche
Returns a string array of administrator email addresses.
getAlgorithm() - Method in class org.tranche.security.Signature
 
getAllParts() - Method in class org.tranche.meta.MetaData
 
getAllStickyServers() - Method in class org.tranche.meta.MetaData
Returns the host names for all the servers to which uploaders have designated that the file be stuck.
getAnnotations() - Method in class org.tranche.meta.MetaData
 
getAnnotationsWithName(String) - Method in class org.tranche.meta.MetaData
 
getAnnotationValuesWithName(String) - Method in class org.tranche.meta.MetaData
 
getAnonymous() - Static method in class org.tranche.security.SecurityUtil
Get User object representing anonymous, read-only privileges.
getAnonymousCertificate() - Static method in class org.tranche.security.SecurityUtil
Returns certificate with priveldges: read only
getAnonymousFlags() - Static method in class org.tranche.security.SecurityUtil
Returns integer for flags used to set for user: anonymous.
getAnonymousKey() - Static method in class org.tranche.security.SecurityUtil
Returns key with priveldges: read only
getAttributes() - Method in class org.tranche.clc.TrancheServerCommandLineClientItem
Retrieve all attributes of the CLC.
getAuthCert() - Method in class org.tranche.flatfile.FlatFileTrancheServer
By setting a certificate and private key to the flat file server that has write privileges on other servers, can inject data to network when needed.
getAuthCert() - Method in class org.tranche.routing.RoutingTrancheServer
By setting a certificate and private key to the routing Tranche server that can perform deletes, will be able to delete from managed data servers.
getAuthPrivateKey() - Method in class org.tranche.flatfile.FlatFileTrancheServer
By setting a certificate and private key to the flat file server that has write privileges on other servers, can inject data to network when needed.
getAuthPrivateKey() - Method in class org.tranche.routing.RoutingTrancheServer
By setting a certificate and private key to the routing Tranche server that can perform deletes, will be able to delete from managed data servers.
getAutoCert() - Static method in class org.tranche.security.SecurityUtil
Get User object representing auto-certificate privileges (read, write).
getAutoCertCertificate() - Static method in class org.tranche.security.SecurityUtil
Returns certificate with priveldges: read, write (no delete, no write configuration)
getAutoCertFlags() - Static method in class org.tranche.security.SecurityUtil
Returns integer for flags used to set for user: auto-cert.
getAvgReadTimeInMillis() - Method in class org.tranche.logs.activity.ActivityLog
Average time per entry (in milliseconds) spent reading in data.
getAvgWriteTimeInMillis() - Method in class org.tranche.logs.activity.ActivityLog
Average time per entry(in milliseconds) spent writing out data.
getBackupActivitiesLogFile() - Method in class org.tranche.logs.activity.ActivityLog
 
getBackupSignaturesFile() - Method in class org.tranche.logs.activity.ActivityLog
 
getBackupSignaturesIndexFile() - Method in class org.tranche.logs.activity.ActivityLog
 
getBannedServerHosts() - Static method in class org.tranche.network.NetworkUtil
 
getBatchSizeForChunksToDelete(Configuration) - Method in class org.tranche.flatfile.HashSpanFixingThread
The number of chunks to inspect for potential deletion at a time.
getBatchSizeForChunksToDownload(Configuration) - Method in class org.tranche.flatfile.HashSpanFixingThread
The number of chunks to inspect for potential download at a time.
getBatchSizeForChunksToHeal(Configuration) - Method in class org.tranche.flatfile.HashSpanFixingThread
The number of chunks to inspect for repair work at a time.
getBatchSizeForDataBlocksToBalance(Configuration) - Method in class org.tranche.flatfile.HashSpanFixingThread
Get the number of DataBlock objects to balance between DataDirectoryConfiguration objects to check and balance before going on to the next task.
getBlockGetFailures() - Method in interface org.tranche.flatfile.logs.DataBlockUtilLog
Uses the default log.
getBlockGetFailures() - Method in class org.tranche.flatfile.logs.DataBlockUtilLogger
Uses the default log.
getBlockGetFailures() - Method in class org.tranche.flatfile.logs.DiskBackedTransactionLog
Uses the default log.
getBlockGetFailures() - Method in class org.tranche.flatfile.logs.InMemoryAggregateLog
Uses the default log.
getBlockGetSuccesses() - Method in interface org.tranche.flatfile.logs.DataBlockUtilLog
Uses the default log.
getBlockGetSuccesses() - Method in class org.tranche.flatfile.logs.DataBlockUtilLogger
Uses the default log.
getBlockGetSuccesses() - Method in class org.tranche.flatfile.logs.DiskBackedTransactionLog
Uses the default log.
getBlockGetSuccesses() - Method in class org.tranche.flatfile.logs.InMemoryAggregateLog
Uses the default log.
getBlockSetFailures() - Method in interface org.tranche.flatfile.logs.DataBlockUtilLog
Uses the default log.
getBlockSetFailures() - Method in class org.tranche.flatfile.logs.DataBlockUtilLogger
Uses the default log.
getBlockSetFailures() - Method in class org.tranche.flatfile.logs.DiskBackedTransactionLog
Uses the default log.
getBlockSetFailures() - Method in class org.tranche.flatfile.logs.InMemoryAggregateLog
Uses the default log.
getBlockSetSuccesses() - Method in interface org.tranche.flatfile.logs.DataBlockUtilLog
Uses the default log.
getBlockSetSuccesses() - Method in class org.tranche.flatfile.logs.DataBlockUtilLogger
Uses the default log.
getBlockSetSuccesses() - Method in class org.tranche.flatfile.logs.DiskBackedTransactionLog
Uses the default log.
getBlockSetSuccesses() - Method in class org.tranche.flatfile.logs.InMemoryAggregateLog
Uses the default log.
getBoolean(byte) - Static method in class org.tranche.remote.RemoteUtil
 
getBoolean(String, String) - Static method in class org.tranche.util.PreferencesUtil
 
getBoolean(String) - Static method in class org.tranche.util.PreferencesUtil
 
getByte(boolean) - Static method in class org.tranche.remote.RemoteUtil
 
getBytes(int, int) - Method in class org.tranche.flatfile.DataBlock
Uses cached information to get chunk.
getBytes(BigHash, boolean) - Method in class org.tranche.flatfile.DataBlock
Returns the bytes (chunk) representing by the hash, or throws a FileNotFoundException if not found.
getBytes() - Method in class org.tranche.remote.GetBytesCallback
Returns the server response.
getBytes() - Method in class org.tranche.security.Signature
 
getBytes(File) - Static method in class org.tranche.util.IOUtil
Helper method to get all the bytes from a file using buffered IO..
getBytes(InputStream) - Static method in class org.tranche.util.IOUtil
Read in all the bytes from an InputStream.
getBytes(InputStream, OutputStream) - Static method in class org.tranche.util.IOUtil
Read all the bytes from an InputStream and write them to an OutputStream.
getBytes(OutputStream, InputStream, long) - Static method in class org.tranche.util.IOUtil
Helper method to transfer the given size of bytes from the InputStream to the OutputStream.
getBytes(RandomAccessFile, byte[]) - Static method in class org.tranche.util.IOUtil
Helper method to transfer the given size of bytes from the InputStream to the OutputStream.
getBytes(InputStream, byte[]) - Static method in class org.tranche.util.IOUtil
Helper method to transfer the given size of bytes from the InputStream to the OutputStream.
GetBytesCallback - Class in org.tranche.remote
Represents a byte array request.
GetBytesCallback(long, RemoteTrancheServer, String) - Constructor for class org.tranche.remote.GetBytesCallback
 
getBytesDone() - Method in class org.tranche.timeestimator.TimeEstimator
 
getBytesDownloaded() - Method in class org.tranche.get.GetFileTool
Gets the number of bytes that have been downloaded.
getBytesDownloaded() - Method in class org.tranche.get.GetFileToolReport
 
getBytesDownloaded() - Method in class org.tranche.servers.ServerMessageDownEvent
Gets the number of bytes that have been downloaded.
getBytesFully(byte[], InputStream) - Static method in class org.tranche.util.IOUtil
Utility method to fill buffer with bytes from input stream.
getBytesToDownload() - Method in class org.tranche.get.GetFileTool
Gets the number of bytes that are being downloaded.
getBytesToDownload() - Method in class org.tranche.servers.ServerMessageDownEvent
Gets the number of bytes that are to be downloaded.
getBytesToUpload() - Method in class org.tranche.add.AddFileTool
Gets the number of bytes that are being uploaded.
getBytesToUpload() - Method in class org.tranche.servers.ServerMessageUpEvent
Returns the number of bytes expected to be uploaded.
getBytesUploaded() - Method in class org.tranche.add.AddFileTool
Gets the number of bytes that have been uploaded.
getBytesUploaded() - Method in class org.tranche.add.AddFileToolReport
 
getBytesUploaded() - Method in class org.tranche.servers.ServerMessageUpEvent
Returns the number of bytes that have been uploaded.
getCachedException() - Method in class org.tranche.remote.RemoteCallback
 
getCallbackId() - Method in class org.tranche.servers.ServerMessageEvent
Returns the callback ID assigned to this message.
getCallbackTimeoutInMillis() - Static method in class org.tranche.remote.RemoteCallbackRegistry
Callback will be interrupted after this time in milliseconds, throwing a PurgedCallbackException.
getCert() - Method in class org.tranche.project.ProjectReplicationTool
Get the certificate used by the tool.
getCert() - Method in class org.tranche.security.Signature
 
getCertificate(byte[]) - Static method in class org.tranche.security.SecurityUtil
Returns X509Certificate object serialized into bytes.
getCertificate(InputStream) - Static method in class org.tranche.security.SecurityUtil
Helper method to load an X509 certificate from an input stream.
getCertificate(File) - Static method in class org.tranche.security.SecurityUtil
Helper method to load an X509 certificate from a file.
getCertificate() - Method in class org.tranche.users.User
Get the certificate.
getCertificate() - Method in class org.tranche.users.UserZipFile
Gets the certificate.
getChunkHash() - Method in class org.tranche.add.AddFileToolEvent
If this event references a data chunk, this returns that value.
getChunkHash() - Method in class org.tranche.get.GetFileToolEvent
If this event references a data chunk, this returns that value.
getClientIP() - Method in class org.tranche.server.logs.LogEntry
Retrieve the client's IP address as a string.
getConfiguration() - Method in class org.tranche.flatfile.FlatFileTrancheServer
Get the Configuration object for this FlatFileTrancheServer.
getConfiguration(boolean) - Method in class org.tranche.flatfile.FlatFileTrancheServer
Get the Configuration object for this FlatFileTrancheServer.
getConfiguration(Signature, byte[]) - Method in class org.tranche.flatfile.FlatFileTrancheServer
Get the Configuration object.
getConfiguration() - Method in class org.tranche.remote.RemoteTrancheServer
Gets the configuration from the remote tranche server.
getConfiguration(Signature, byte[]) - Method in class org.tranche.remote.RemoteTrancheServer
Gets the configuration from the remote tranche server.
getConfiguration(Signature, byte[]) - Method in class org.tranche.routing.RoutingTrancheServer
 
getConfiguration() - Method in class org.tranche.routing.RoutingTrancheServer
 
getConfiguration(String) - Method in class org.tranche.server.logs.AutoUploadingBinaryLog
Retrieve configuration.
getConfiguration(String) - Method in interface org.tranche.server.logs.Submittable
Retrieve configuration.
getConfiguration(String) - Static method in class org.tranche.tasks.TaskUtil
Returns Configuration for a server with specified host.
getConfiguration() - Method in class org.tranche.TrancheServer
 
getConfiguration(Signature, byte[]) - Method in class org.tranche.TrancheServer
 
getConfiguration(TrancheServer, X509Certificate, PrivateKey) - Static method in class org.tranche.util.IOUtil
Deprecated. Use getConfiguration(TrancheServer) instead
getConfiguration(TrancheServer) - Static method in class org.tranche.util.IOUtil
 
getConfigurationCacheTime() - Method in class org.tranche.flatfile.FlatFileTrancheServer
Gets the time to internally cache the configuration.
GetConfigurationItem - Class in org.tranche.server
Handles requests for a server configuration.
GetConfigurationItem(Server) - Constructor for class org.tranche.server.GetConfigurationItem
 
GetConfigurationNoSigItem - Class in org.tranche.server
 
GetConfigurationNoSigItem(Server) - Constructor for class org.tranche.server.GetConfigurationNoSigItem
 
getConfirmationEmails() - Method in class org.tranche.add.AddFileTool
 
getConnectedClients() - Method in class org.tranche.server.Server
 
getConnectedCoreServerHosts() - Method in class org.tranche.network.ServerStatusTablePerspective
Returns all the core servers to which a particular server is connected.
getConnectedHost(BigHash) - Method in class org.tranche.flatfile.HashSpanFixingThread
Get a connected verifyHost, preferring those that include in hash span, but defaulting to random server.
getConnectedHosts() - Static method in class org.tranche.network.ConnectionUtil
Returns the host names for the servers with which there is an open connection.
getConnectedRows() - Static method in class org.tranche.network.ConnectionUtil
Returns the rows for the servers with which there is an open connection.
getConnectedURLs() - Static method in class org.tranche.network.ConnectionUtil
Returns the URLs for the servers with which there is an open connection.
getConnection(String) - Static method in class org.tranche.network.ConnectionUtil
 
getConnectionHost() - Method in class org.tranche.network.StatusTableRowRange
Gets the host of the Tranche server from which this range of network status table rows should be requested.
getConnections(BigHash) - Method in class org.tranche.get.GetFileTool
Gets a collection of server host names that should be used to download a chunk with the given hash.
getContentType(String) - Static method in class org.tranche.httpd.GetHandler
 
getContextInterval() - Method in class org.tranche.timeestimator.ContextualTimeEstimator
Returns the length of each context window used for estimating time remaining.
getCoreServersToUploadTo(BigHash) - Method in class org.tranche.add.AddFileTool
Gets a collection of hosts of core writable servers to which a chunk with the given hash should be uploaded.
getCorruptedDataBlockBodyCount() - Method in class org.tranche.flatfile.DataBlockUtil
Return the total count of DataBlock objects that were corrupted in the body.
getCorruptedDataBlockCount() - Method in class org.tranche.flatfile.DataBlockUtil
Return total count of corrupted DataBlock objects.
getCorruptedDataBlockHeaderCount() - Method in class org.tranche.flatfile.DataBlockUtil
Return the total count of DataBlock objects that were corrupted in the header.
getCorruptedDataBlocksLog() - Method in class org.tranche.flatfile.DataBlockUtil
Get the data deletion log.
getCurrentActivity() - Method in class org.tranche.flatfile.HashSpanFixingThread
Find out what the server is doing.
getCurrentOS() - Static method in class org.tranche.util.OperatingSystem
Returns the user's operating system.
getCurrentPerformanceScore() - Method in class org.tranche.flatfile.HashSpanFixingThread
Current score for performance of the healing thread.
getCurrentThreadState() - Method in class org.tranche.flatfile.HashSpanFixingThread
The state of the healing thread:
getData(BigHash) - Method in class org.tranche.flatfile.DataBlockUtil
Get data chunk bytes based on hash.
getData(BigHash[], boolean) - Method in class org.tranche.flatfile.FlatFileTrancheServer
Get a batch of data chunks.
getData(BigHash[], boolean) - Method in class org.tranche.remote.RemoteTrancheServer
Gets a list of data chunks corresponding to the given list of hashes from the remote tranche server.
getData(BigHash[], boolean) - Method in class org.tranche.routing.RoutingTrancheServer
 
getData(BigHash, String) - Method in class org.tranche.server.logs.AutoUploadingBinaryLog
Retrieve data.
getData(BigHash, String) - Method in interface org.tranche.server.logs.Submittable
Retrieve data.
getData(BigHash[], boolean) - Method in class org.tranche.TrancheServer
 
getData(TrancheServer, BigHash, boolean) - Static method in class org.tranche.util.IOUtil
 
getDataBlockCache() - Method in class org.tranche.flatfile.DataBlockUtil
Get the DataBlockCache object used by this utility.
getDataBlockToAddChunk(BigHash) - Method in class org.tranche.flatfile.DataBlockUtil
Helper method to get the file/dir that matches the given hash.
getDataBlockToGetChunk(BigHash, boolean) - Method in class org.tranche.flatfile.DataBlockUtil
Finds or creates the appropriate data block for a particular hash.
getDataBlockUtil() - Method in class org.tranche.flatfile.FlatFileTrancheServer
Get the DataBlockUtil associated with this FlatFileTrancheServer.
getDataDeletionLog() - Method in class org.tranche.flatfile.DataBlockUtil
Get the data deletion log.
getDataDirectories() - Method in class org.tranche.configuration.Configuration
Gets the data directories on this server.
getDataDirectoryConfigurations() - Method in class org.tranche.flatfile.DataBlockUtil
Returns a copy of all the DataDirectoryConfiguration objs in memory.
getDataHashes(long, long) - Method in class org.tranche.flatfile.DataBlockUtil
Get the hashes associated with the data chunks on the server.
getDataHashes(BigInteger, BigInteger) - Method in class org.tranche.flatfile.FlatFileTrancheServer
Get a batch of hashes.
getDataHashes(BigInteger, BigInteger) - Method in class org.tranche.remote.RemoteTrancheServer
Returns a list of data hashes from the remote tranche server.
getDataHashes(BigInteger, BigInteger) - Method in class org.tranche.routing.RoutingTrancheServer
 
getDataHashes(BigInteger, BigInteger) - Method in class org.tranche.TrancheServer
 
GetDataHashesItem - Class in org.tranche.server
Handles requests for a list of data chunk hashes.
GetDataHashesItem(Server) - Constructor for class org.tranche.server.GetDataHashesItem
 
getDataInputStream() - Method in class org.tranche.remote.RemoteTrancheServer
 
GetDataItem - Class in org.tranche.server
Handles the request for a list of data chunks.
GetDataItem(Server) - Constructor for class org.tranche.server.GetDataItem
 
getDataOutputStream() - Method in class org.tranche.remote.RemoteTrancheServer
 
getDataSetDescription() - Method in class org.tranche.meta.MetaData
 
getDataSetFiles() - Method in class org.tranche.meta.MetaData
 
getDataSetName() - Method in class org.tranche.meta.MetaData
 
getDataSetSize() - Method in class org.tranche.meta.MetaData
 
getDefaultCertificate() - Static method in class org.tranche.security.SecurityUtil
Retrieve the default X.509 certificate used by tool.
getDefaultHomeDir() - Static method in class org.tranche.flatfile.FlatFileTrancheServer
A simple method for determining the home directory where Tranche should both store files and keep temporary files.
getDefaultKey() - Static method in class org.tranche.security.SecurityUtil
Retrieve the default private key used by the tool.
getDeleteDataIndex() - Method in class org.tranche.flatfile.HashSpanFixingThread
 
getDeleteMetaDataIndex() - Method in class org.tranche.flatfile.HashSpanFixingThread
 
getDepth() - Method in class org.tranche.network.MultiServerRequestStrategy
If this request is sent to the server host listed, this is the 'depth' of the request across the network for the requested servers when modeled as a tree.
getDescription() - Method in class org.tranche.add.AddFileTool
Gets the description of the upload.
getDescription() - Method in class org.tranche.add.AddFileToolReport
 
getDescription() - Method in class org.tranche.clc.TrancheServerCommandLineClientItem
Retrieve description of CLC.
getDescription() - Method in class org.tranche.clc.TrancheServerCommandLineClientItemAttribute
Retrieve the description of the item attribute.
getDescription() - Method in class org.tranche.license.License
The legal text or other text to describe the license.
getDescription() - Method in class org.tranche.project.ArbitraryProjectBuildingTool
The description for the new proejct.
getDescription() - Method in class org.tranche.project.ProjectFile
Gets the description for this project file.
getDescription() - Method in class org.tranche.remote.RemoteCallback
Returns the description of this callback.
getDescription() - Method in class org.tranche.servers.ServerCallbackEvent
Returns the description of the callback this represents.
getDirectory() - Method in class org.tranche.flatfile.DataDirectoryConfiguration
Get the path to the directory represented by this DataDirectoryConfiguration object.
getDirectory() - Method in class org.tranche.get.GetFileTool
Download the specified directory.
getDirectoryFile() - Method in class org.tranche.flatfile.DataDirectoryConfiguration
Get the file for the directory represented by this DataDirectoryConfiguration object.
getDownloadDataIndex() - Method in class org.tranche.flatfile.HashSpanFixingThread
 
getDownloadedChunksFromCorruptedDataBlockCount() - Method in class org.tranche.flatfile.DataBlockUtil
Return the total count of chunks that were downloaded from other servers to replace missing chunks in corrupted DataBlock objects.
getDownloadMetaDataIndex() - Method in class org.tranche.flatfile.HashSpanFixingThread
 
getDownloadServer() - Method in class org.tranche.flatfile.HashSpanFixingThread
 
getEmail() - Method in class org.tranche.users.UserZipFile
 
getEmailCertificate() - Static method in class org.tranche.security.SecurityUtil
Returns certificate used for signing email to be sent from server.
getEmailKey() - Static method in class org.tranche.security.SecurityUtil
Returns key used for signing email to be sent from server.
getEmailReceiptMessage(AddFileToolReport) - Static method in class org.tranche.add.AddFileToolUtil
 
getEmailReceiptSubject(AddFileToolReport) - Static method in class org.tranche.add.AddFileToolUtil
 
getEncodings() - Method in class org.tranche.meta.MetaData
 
getEntry(int, String) - Method in class org.tranche.tasks.CSVFile
Returns an entry within a particular record using a key.
getEnvironmentDump() - Static method in class org.tranche.logs.LogUtil
 
getErrors() - Method in class org.tranche.server.PropagationReturnWrapper
Returns collection of errors that occurred while propogating request.
getEstimatedPercentageTimeSpentBalancing() - Method in class org.tranche.flatfile.HashSpanFixingThread
Builds a string suitable for human viewing with percentage of the time of this thread "balancing"
getEstimatedPercentageTimeSpentDeleting() - Method in class org.tranche.flatfile.HashSpanFixingThread
Builds a string suitable for human viewing with percentage of the time of this thread doing "deleting" (looking for chunks to delete that don't belong on this server with sufficient replicates).
getEstimatedPercentageTimeSpentDoingNothing() - Method in class org.tranche.flatfile.HashSpanFixingThread
Builds a string suitable for human viewing with percentage of the time of this thread doing "nothing" (loading or household cleaning).
getEstimatedPercentageTimeSpentDownloading() - Method in class org.tranche.flatfile.HashSpanFixingThread
Builds a string suitable for human viewing with percentage of the time of this thread doing "download" (looking for new chunks to download that belong to this server's hash span).
getEstimatedPercentageTimeSpentHealing() - Method in class org.tranche.flatfile.HashSpanFixingThread
Builds a string suitable for human viewing with percentage of the time of this thread doing "healing" (looking for corrupt chunks to fix).
getException(int) - Method in class org.tranche.network.Connection
 
getExceptionCount() - Method in class org.tranche.network.Connection
 
getExceptions() - Method in class org.tranche.network.Connection
 
getExternalServerURLsToUse() - Method in class org.tranche.get.GetFileTool
Gets the collection of server urls to be used from separate networks.
getFailedChunksListener() - Method in class org.tranche.get.GetFileTool
 
getFailedDataChunkCount() - Method in class org.tranche.project.ProjectReplicationTool
Get the failed data chunk count.
getFailedMergeDataBlock() - Method in class org.tranche.flatfile.DataBlockUtil
Return the count of failed merges of DataBlock objects.
getFailedMetaDataChunkCount() - Method in class org.tranche.project.ProjectReplicationTool
Get the failed meta data chunk count.
getFailureExceptions() - Method in class org.tranche.add.AddFileToolReport
 
getFailureExceptions() - Method in class org.tranche.get.GetFileToolReport
 
getFFTSForURL(String) - Static method in class org.tranche.util.TestUtil
Map of URL (e.g., tranche://127.0.0.1:1501) to associated FlatFileTrancheServer instance from a running TestNetwork.
getFile() - Method in class org.tranche.add.AddFileTool
 
getFile() - Method in class org.tranche.add.AddFileToolEvent
If this event references a file, this returns the file.
getFile() - Method in class org.tranche.add.AddFileToolPerformanceLog
 
getFile() - Method in class org.tranche.get.GetFileTool
Download the specified file.
getFile() - Method in class org.tranche.get.GetFileToolPerformanceLog
 
getFile() - Method in class org.tranche.tasks.CSVFile
Returnst the CSV file.
getFile() - Method in class org.tranche.users.UserZipFile
Gets the file.
getFile(String) - Static method in class org.tranche.util.PreferencesUtil
 
getFileCount() - Method in class org.tranche.add.AddFileTool
 
getFileHash() - Method in class org.tranche.add.AddFileToolEvent
 
getFileHash() - Method in class org.tranche.get.GetFileToolEvent
If this event references a file, this returns the hash of the file.
getFileName() - Method in class org.tranche.add.AddFileToolEvent
If this event references a file, this returns the name of that file.
getFileName() - Method in class org.tranche.get.GetFileToolEvent
If this event references a file, this returns the name of that file.
getFilesDone() - Method in class org.tranche.timeestimator.TimeEstimator
 
getFilesDownloaded() - Method in class org.tranche.get.GetFileToolReport
 
getFilesUploaded() - Method in class org.tranche.add.AddFileToolReport
 
GetFileTool - Class in org.tranche.get
A tool for downloading from a Tranche repository.
GetFileTool() - Constructor for class org.tranche.get.GetFileTool
 
GetFileToolAdapter - Class in org.tranche.get
 
GetFileToolAdapter() - Constructor for class org.tranche.get.GetFileToolAdapter
 
GetFileToolEvent - Class in org.tranche.get
 
GetFileToolEvent(short, int) - Constructor for class org.tranche.get.GetFileToolEvent
 
GetFileToolEvent(short, int, BigHash) - Constructor for class org.tranche.get.GetFileToolEvent
 
GetFileToolEvent(short, int, String, BigHash) - Constructor for class org.tranche.get.GetFileToolEvent
 
GetFileToolEvent(short, int, BigHash, String) - Constructor for class org.tranche.get.GetFileToolEvent
 
GetFileToolEvent(short, int, BigHash, BigHash) - Constructor for class org.tranche.get.GetFileToolEvent
 
GetFileToolEvent(short, int, BigHash, String, BigHash) - Constructor for class org.tranche.get.GetFileToolEvent
 
GetFileToolFailedChunksListener - Class in org.tranche.get
 
GetFileToolFailedChunksListener() - Constructor for class org.tranche.get.GetFileToolFailedChunksListener
 
GetFileToolListener - Interface in org.tranche.get
 
GetFileToolPerformanceLog - Class in org.tranche.get
Used to help troubleshoot performance issues for client.
GetFileToolPerformanceLog() - Constructor for class org.tranche.get.GetFileToolPerformanceLog
 
GetFileToolReport - Class in org.tranche.get
 
GetFileToolReport() - Constructor for class org.tranche.get.GetFileToolReport
 
GetFileToolReport(InputStream) - Constructor for class org.tranche.get.GetFileToolReport
 
GetFileToolReportListener - Class in org.tranche.get
 
GetFileToolReportListener(GetFileToolReport) - Constructor for class org.tranche.get.GetFileToolReportListener
 
GetFileToolUtil - Class in org.tranche.get
Contains methods that are commonly used along with or at several points within the GetFileTool class.
getFirst() - Method in class org.tranche.hash.span.HashSpan
Retrieve first BigHash portion of HashSpan.
getFlags() - Method in class org.tranche.configuration.Configuration
Gets the flags on this configuration.
getFlags() - Method in class org.tranche.meta.MetaData
Gets the flags.
getFlags() - Method in class org.tranche.network.StatusTableRow
Returns the flags object.
getFlags() - Method in class org.tranche.users.User
Get the flags.
getFlags() - Method in class org.tranche.users.UserZipFile
Gets the flags.
getFlatFileTrancheServer() - Static method in class org.tranche.LocalDataServer
 
getFrom() - Method in class org.tranche.network.StatusTableRowRange
Returns the first host name in the range.
getGroup() - Method in class org.tranche.configuration.Configuration
 
getGroup() - Method in class org.tranche.network.StatusTableRow
Gets the group name.
GetHandler - Class in org.tranche.httpd
Handler for HTTP-GET.
GetHandler() - Constructor for class org.tranche.httpd.GetHandler
 
getHash() - Method in class org.tranche.add.AddFileToolReport
 
getHash() - Method in class org.tranche.FileEncoding
Get the BigHash associated with this FileEncoding.
getHash() - Method in class org.tranche.get.GetFileTool
Gets the hash of the data to be downloaded.
getHash() - Method in class org.tranche.logs.activity.Activity
 
getHash() - Method in class org.tranche.logs.activity.ActivityLogEntry
 
getHash() - Method in class org.tranche.meta.MetaData
 
getHash() - Method in class org.tranche.project.ProjectFilePart
Returns the hash of this file.
getHash() - Method in class org.tranche.project.ProjectReplicationTool
Get the project hash used by the tool.
getHash() - Method in class org.tranche.server.logs.LogEntry
Retrieve BigHash.
getHash() - Method in class org.tranche.streams.AESEncodingStream
Get the hash of the file written to the output stream..
getHash() - Method in class org.tranche.streams.GZIPEncodingStream
Get the hash of the file output to the stream.
getHashes(boolean) - Method in class org.tranche.flatfile.DataBlock
Returns the list of either data or meta-data hashes stored in this block.
getHashes() - Method in class org.tranche.remote.GetHashesCallback
Returns the server response.
GetHashesCallback - Class in org.tranche.remote
Represents a hash array server request.
GetHashesCallback(long, RemoteTrancheServer, String) - Constructor for class org.tranche.remote.GetHashesCallback
 
getHashSpanFixingThread() - Method in class org.tranche.flatfile.FlatFileTrancheServer
Return the healing thread associated with this FlatFileTrancheServer.
getHashSpans() - Method in class org.tranche.configuration.Configuration
Gets the hash spans for this server.
getHashSpans() - Method in class org.tranche.hash.span.HashSpanCollection
The hash spans contained within the collection.
getHashSpans() - Method in class org.tranche.network.StatusTableRow
Gets the hash spans.
getHomeDirectory() - Method in class org.tranche.flatfile.FlatFileTrancheServer
 
getHost() - Method in class org.tranche.flatfile.FlatFileTrancheServer
Returns the host name for this server.
getHost() - Method in class org.tranche.network.ConnectionEvent
Gets the host name of the server.
getHost(String) - Static method in class org.tranche.network.ConnectionUtil
Gets the connection to the Tranche server with the given host name.
getHost(int) - Method in class org.tranche.network.StatusTable
 
getHost() - Method in class org.tranche.network.StatusTableRow
Gets the host name.
getHost() - Method in class org.tranche.remote.RemoteTrancheServer
Gets the host name of the remote tranche server.
getHost() - Method in class org.tranche.routing.RoutingTrancheServer
 
getHost() - Method in class org.tranche.TrancheServer
Returns the host name of the server.
getHostName() - Method in class org.tranche.flatfile.ServerConfiguration
Get the host name associated with this server.
getHostName() - Method in class org.tranche.server.Server
Determine this server's host name.
getHostName() - Static method in class org.tranche.servers.ServerUtil
Returns the IP addresss of this Tranche server.
getHostReceivingRequest() - Method in class org.tranche.network.MultiServerRequestStrategy
The host name for the server to receive the request, per this strategy object.
getHosts() - Method in class org.tranche.network.StatusTable
Returns the list of hosts.
getHosts() - Method in class org.tranche.network.StatusTableEvent
Returns a map of host names to whether the event affects the connectivity of the server.
getHostsToReceiveChunk(BigHash) - Method in class org.tranche.flatfile.HashSpanFixingThread
Returns all core servers that should receive chunk.
getHostsToUse() - Method in class org.tranche.flatfile.HashSpanFixingThread
Get servers.
getHours() - Method in class org.tranche.timeestimator.ContextualTimeEstimator
Get the number of hours the estimator has been running.
getHours() - Method in class org.tranche.timeestimator.TimeEstimator
Returns the number of hours left to work.
getID() - Method in class org.tranche.remote.RemoteCallback
 
getId() - Method in class org.tranche.servers.ServerCallbackEvent
Returns the ID for the callback this event represents.
getIndex() - Method in class org.tranche.logs.activity.SignatureIndexEntry
 
getIndicesOfAmbiguity() - Method in exception org.tranche.meta.AmbiguousFileSelectionException
 
getInt(String) - Static method in class org.tranche.util.PreferencesUtil
 
getIPString(byte[]) - Static method in class org.tranche.server.logs.LogUtil
Retrieve IP address as a formatted string.
getIPv4Bytes(String) - Static method in class org.tranche.server.logs.LogUtil
Return bytes for an IPv4 address string.
getIPv6Bytes(String) - Static method in class org.tranche.server.logs.LogUtil
Returns bytes for an IPv6 address string.
getIPVersion(String) - Static method in class org.tranche.server.logs.LogUtil
Get the IP version for an address
getItem(String) - Method in class org.tranche.clc.TrancheServerCommandLineClient
 
getItem(String) - Method in class org.tranche.server.Server
 
getKey() - Method in class org.tranche.project.ProjectReplicationTool
Get the private key used by the tool.
getLast() - Method in class org.tranche.hash.span.HashSpan
Retrieve last BigHash portion of HashSpan.
getLastModifiedTimestamp() - Method in class org.tranche.meta.MetaData
Returns the UNIX timestamp of when the meta data was last modified.
getLastRecordedTimestamp() - Method in class org.tranche.logs.activity.ActivityLog
Returns the last recorded timestamp for activity log.
getLastTimeConfigurationWasSet() - Method in class org.tranche.flatfile.FlatFileTrancheServer
Timestamp of last change to Configuration.
getLastTimeNotify(int) - Method in class org.tranche.remote.RemoteTrancheServer
Used to track timestamps of last time client sent request to server.
getLastTimeWakeUp(int) - Method in class org.tranche.remote.RemoteTrancheServer
Used to track timestamps of last time client download thread resumed after a wait.
getLegend() - Method in class org.tranche.tasks.CSVFile
Returns the list of keys in order of appearance in the file.
getLength() - Method in class org.tranche.hash.BigHash
Another method for getting BigHash length used for hashes prior to 5/1/2008.
getLength() - Method in class org.tranche.logs.activity.SignatureIndexEntry
 
getLicense() - Method in class org.tranche.add.AddFileTool
Gets the license to be attached to the upload.
getLicenseHash() - Method in class org.tranche.project.ProjectFile
 
getListeners() - Method in class org.tranche.add.AddFileTool
 
getListeners() - Method in class org.tranche.get.GetFileTool
 
getListeners() - Static method in class org.tranche.network.ConnectionUtil
 
getListeners() - Method in class org.tranche.network.StatusTable
 
getListeners() - Method in class org.tranche.remote.RemoteTrancheServer
Returns the list of server listeners.
getLocalServer() - Static method in class org.tranche.network.NetworkUtil
Returns the Tranche server running on this JVM, if there is one.
getLocalServerRow() - Static method in class org.tranche.network.NetworkUtil
Returns the status row for the Tranche server on this JVM, if there is one.
getLockCount() - Method in class org.tranche.network.Connection
 
getLogFile() - Method in class org.tranche.flatfile.logs.DiskBackedTransactionLog
Return the file used by the log.
getLogger() - Static method in class org.tranche.flatfile.DataBlockUtil
Returns singleton log for instance.
getLogger() - Static method in class org.tranche.flatfile.logs.DataBlockUtilLogger
Static access to singleton log.
getLogManager(String) - Static method in class org.tranche.server.logs.AutoUploadingBinaryLog
Factory method and registry.
getLogs() - Method in class org.tranche.flatfile.logs.DataBlockUtilLogger
Returns an unmodifiable list of logs attached to logger.
getLostChunksFromCorruptedDataBlockCount() - Method in class org.tranche.flatfile.DataBlockUtil
Return the total count of chunk that were not salvaged from a corrupted DataBlock that was corrupted in the body.
getManagedServers() - Method in class org.tranche.routing.RoutingTrancheServer
Just returns a deep copy of servers to use.
getMaxBufferSize() - Method in class org.tranche.project.DiskBackedProjectFilePartSet
Returns the maximum size.
getMaxCharactersPerLine() - Method in class org.tranche.streams.PrettyPrintStream
Returns the setting of the maximum number of characters per line.
getMaxConcurrentClients() - Method in class org.tranche.server.Server
 
getMaximumSize() - Method in class org.tranche.flatfile.NonceMap
Get maximum size of NonceMap.
getMaxLineLength() - Method in class org.tranche.clc.TrancheServerCommandLineClient
Retrieve maximum characters per line.
getMaxRequestSize() - Method in class org.tranche.server.Server
 
getMaxTries() - Static method in class org.tranche.remote.RemoteTrancheServer
Returns the maximum number of attempts before failing.
getMD5() - Method in class org.tranche.hash.BigHash
Return MD5 portion of BigHash.
getMD5Name(X509Certificate) - Static method in class org.tranche.security.SecurityUtil
Helper method to convert certificate's into unique names.
getMessage() - Method in class org.tranche.logs.LogUnit
Retrieve entire log unit as a string.
getMetaData(BigHash) - Method in class org.tranche.flatfile.DataBlockUtil
Get meta data chunk bytes based on hash.
getMetaData(BigHash[], boolean) - Method in class org.tranche.flatfile.FlatFileTrancheServer
Get a batch of meta data chunks.
getMetaData() - Method in class org.tranche.get.GetFileTool
Gets the meta data, downloading if necessary.
getMetaData(BigHash[], boolean) - Method in class org.tranche.remote.RemoteTrancheServer
Gets a list of meta data chunks corresponding to the given list of hashes from the remote tranche server.
getMetaData(BigHash[], boolean) - Method in class org.tranche.routing.RoutingTrancheServer
 
getMetaData(BigHash, String) - Method in class org.tranche.server.logs.AutoUploadingBinaryLog
Retrieve metadata.
getMetaData(BigHash, String) - Method in interface org.tranche.server.logs.Submittable
Retrieve meta data.
getMetaData(BigHash[], boolean) - Method in class org.tranche.TrancheServer
 
getMetaData(TrancheServer, BigHash, boolean) - Static method in class org.tranche.util.IOUtil
 
getMetaDataAnnotations() - Method in class org.tranche.add.AddFileTool
Gets the meta data annotations to be added to the data set's project file meta data.
getMetaDataDeletionLog() - Method in class org.tranche.flatfile.DataBlockUtil
Get the meta data deletion log.
getMetaDataHashes(long, long) - Method in class org.tranche.flatfile.DataBlockUtil
Get the hashes associated with the meta data chunks on the server.
getMetaDataHashes(BigInteger, BigInteger) - Method in class org.tranche.flatfile.FlatFileTrancheServer
Get a batch of hashes.
getMetaDataHashes(BigInteger, BigInteger) - Method in class org.tranche.remote.RemoteTrancheServer
Returns a list of meta data hashes from the remote tranche server.
getMetaDataHashes(BigInteger, BigInteger) - Method in class org.tranche.routing.RoutingTrancheServer
 
getMetaDataHashes(BigInteger, BigInteger) - Method in class org.tranche.TrancheServer
 
GetMetaDataHashesItem - Class in org.tranche.server
Handles requests for meta data hashes.
GetMetaDataHashesItem(Server) - Constructor for class org.tranche.server.GetMetaDataHashesItem
 
GetMetaDataItem - Class in org.tranche.server
Handles the request for a list of meta data chunks.
GetMetaDataItem(Server) - Constructor for class org.tranche.server.GetMetaDataItem
 
getMillisSinceLastServerResponse() - Method in class org.tranche.remote.RemoteTrancheServer
Time in milliseconds since last server response.
getMimeType() - Method in class org.tranche.meta.MetaData
 
getMinSizeAvailableInTargetDataBlockBeforeBalance() - Method in class org.tranche.flatfile.DataBlockUtil
When moving, data block must have this much free space before a move is considered.
getMinutes() - Method in class org.tranche.timeestimator.ContextualTimeEstimator
Get the number of minutes the estimator has been running.
getMinutes() - Method in class org.tranche.timeestimator.TimeEstimator
Returns the number of minutes left to work.
getMissingDataChunks() - Method in class org.tranche.get.GetFileToolFailedChunksListener
Return all the data chunks reported by the tool as missing in an unmodifiable container.
getMissingHashSpans() - Method in class org.tranche.hash.span.HashSpanCollection
Returns a collection of hash spans that represent the ranges of hashes that are required to complete a full hash span.
getMissingMetaDataChunks() - Method in class org.tranche.get.GetFileToolFailedChunksListener
Return all the meta data chunks reported by the tool as missing in an unmodifiable container.
getName() - Method in class org.tranche.clc.TrancheServerCommandLineClientItem
Retrieve name of CLC.
getName() - Method in class org.tranche.clc.TrancheServerCommandLineClientItemAttribute
Retrieve the name of the item attribute.
getName() - Method in class org.tranche.configuration.Configuration
 
getName() - Method in class org.tranche.FileEncoding
Get the name of the FileEncoding.
getName() - Method in class org.tranche.httpd.HttpConstant
Getter for the name of this constant
getName() - Method in class org.tranche.meta.MetaData
 
getName() - Method in class org.tranche.meta.MetaDataAnnotation
Returns the name.
getName() - Method in class org.tranche.network.StatusTableRow
Gets the name.
getName() - Method in class org.tranche.project.ProjectFile
Gets the name for this project file.
getName() - Method in class org.tranche.remote.RemoteCallback
Returns thename of this callback.
getName() - Method in class org.tranche.server.ServerItem
Returns the name of the command.
getName() - Method in class org.tranche.servers.ServerCallbackEvent
Returns the name of the callback this represents.
getName() - Method in class org.tranche.users.MakeUserZipFileTool
Returns the CN value that will be used on the X.509 certificate.
getNetworkStatus() - Method in class org.tranche.remote.RemoteTrancheServer
 
GetNetworkStatusItem - Class in org.tranche.server
 
GetNetworkStatusItem(Server) - Constructor for class org.tranche.server.GetNetworkStatusItem
 
getNetworkStatusPortion(String, String) - Method in class org.tranche.flatfile.FlatFileTrancheServer
Returns the rows in the local network status that have host names that are between the startHost (inclusive) and the endHost (exclusive.)
getNetworkStatusPortion(String, String) - Method in class org.tranche.remote.RemoteTrancheServer
 
getNetworkStatusPortion(String, String) - Method in class org.tranche.routing.RoutingTrancheServer
Returns the rows in the local network status that have host names that are between the startHost (inclusive) and the endHost (exclusive.)
getNetworkStatusPortion(String, String) - Method in class org.tranche.TrancheServer
 
getNewestProjectCacheHashes() - Static method in class org.tranche.project.ProjectSummaryCache
Returns most recent hashes for cache (newest version).
getNext() - Method in class org.tranche.hash.BigHash
Gets the next BigHash in the BigHash universe (this+1).
getNextSocket() - Method in class org.tranche.httpd.Queue
Method used for retrieving next item in the queue.
getNextVersion() - Method in class org.tranche.meta.MetaData
 
getNonce(String) - Method in class org.tranche.server.logs.AutoUploadingBinaryLog
Retrienve nonce.
getNonce(String) - Method in interface org.tranche.server.logs.Submittable
Retrieve nonce.
getNonce(TrancheServer) - Static method in class org.tranche.util.IOUtil
 
getNonces(String[], int) - Method in class org.tranche.flatfile.FlatFileTrancheServer
Get batch of nonces from selected server hosts.
getNonces(String[], int) - Method in class org.tranche.remote.RemoteTrancheServer
Get batch of nonces from selected server hosts.
getNonces(String[], int) - Method in class org.tranche.routing.RoutingTrancheServer
Get batch of nonces from selected server hosts.
getNonces(String[], int) - Method in class org.tranche.TrancheServer
Get batch of nonces from selected server hosts.
getNonces(TrancheServer, String[]) - Static method in class org.tranche.util.IOUtil
 
getNonces(TrancheServer, int) - Static method in class org.tranche.util.IOUtil
 
getNonCoreServersToUpdate() - Static method in class org.tranche.network.ServerStatusUpdateProcess
Gets the non-core servers that the local server will update individually.
getNonCoreServersToUploadTo(BigHash) - Method in class org.tranche.add.AddFileTool
Gets a collection of hosts of non-core writable servers to which one should upload a chunk with the given hash.
getNumberRequiredReplications() - Method in class org.tranche.project.ProjectReplicationTool
Get the required replication count.
getOffset() - Method in class org.tranche.logs.activity.SignatureIndexEntry
 
getOffset(String) - Static method in class org.tranche.time.TimeUtil
 
getOriginalBytesUploaded() - Method in class org.tranche.add.AddFileToolReport
 
getOriginalFileCount() - Method in class org.tranche.add.AddFileToolReport
 
getOstensibleHostForURL(String) - Static method in class org.tranche.util.TestUtil
Returns the ostensible host for a Tranche server given its actual url.
getOutput() - Method in class org.tranche.streams.StringPrintStream
 
getPadding() - Method in class org.tranche.project.ProjectFilePart
Getts the padding on the file.
getPadding() - Method in class org.tranche.streams.PrettyPrintStream
Returns the number of spaces to indent the left side of the text.
getPaddingAdjustedLength() - Method in class org.tranche.project.ProjectFilePart
Returns the length of the file after padding has been removed.
getPaddingLength() - Method in class org.tranche.project.ProjectFilePart
Gets the padding length.
getParameter(String) - Method in class org.tranche.clc.TrancheServerCommandLineClientItem
Retrieve parameter, asa string, given the parameter's name.
getPartitionsMap() - Method in class org.tranche.network.MultiServerRequestStrategy
This is a map containing the following:
getParts() - Method in class org.tranche.meta.MetaData
Returns the parts associated with the final encoding for the selected uploader.
getParts() - Method in class org.tranche.project.ProjectFile
Gets the parts for this project file.
getPassphrase() - Method in class org.tranche.add.AddFileTool
Gets the passphrase that will be used to encrypt the data.
getPassphrase() - Method in class org.tranche.get.GetFileTool
Gets the passphrase to be used during decryption.
getPassphrase() - Method in class org.tranche.project.ProjectReplicationTool
Get passphrase used by the tool.
getPassphrase() - Method in class org.tranche.users.MakeUserZipFileTool
Returns the passphrase that was used when AES 256 bit encrypting the file.
getPassphrase() - Method in class org.tranche.users.UserZipFile
Gets the passphrase used to decrypt the encrypted file.
getPauseBetweenOperations(Configuration) - Method in class org.tranche.flatfile.HashSpanFixingThread
Get pause to relieve resources based on configuration options.
getPercentDone() - Method in class org.tranche.timeestimator.TimeEstimator
Returns the percentage of work complete as a number between 0 and 100, e.g.
getPersistentDirectory() - Static method in class org.tranche.util.PersistentServerFileUtil
Get a persistent directory position.
getPersistentDirectory(String) - Static method in class org.tranche.util.PersistentServerFileUtil
 
getPersistentFile(String) - Static method in class org.tranche.util.PersistentServerFileUtil
Returns a file with the given name in the persistent directory.
getPort() - Method in class org.tranche.flatfile.ServerConfiguration
Get the port associated with this server.
getPort() - Method in class org.tranche.httpd.Httpd
Getter method for the port attribute.
getPort() - Static method in class org.tranche.LocalDataServer
 
getPort() - Method in class org.tranche.network.ConnectionEvent
Returns the port number over which the server communicates.
getPort() - Method in class org.tranche.network.StatusTableRow
Gets the port number.
getPort() - Method in class org.tranche.remote.RemoteTrancheServer
Gest the port number of the remote tranche server.
getPort() - Method in class org.tranche.server.Server
Returns the port that the Tranche server is bound to.
getPrevious() - Method in class org.tranche.hash.BigHash
Gets the previous BigHash in the BigHash universe (this - 1).
getPreviousVersion() - Method in class org.tranche.meta.MetaData
 
getPrivateKey(File) - Static method in class org.tranche.security.SecurityUtil
Load the PrivateKey serialized to a file.
getPrivateKey(byte[]) - Static method in class org.tranche.security.SecurityUtil
Load the PrivateKey serialized to a byte array.
getPrivateKey() - Method in class org.tranche.users.UserZipFile
Gets the private key.
getPrivateKeyFromKeyStore(String, String, String, String) - Static method in class org.tranche.security.SecurityUtil
Retrieve the PrivateKey (used to sign bytes) from the system keystore.
getPrivateKeyFromKeyStore(InputStream, String, String, String) - Static method in class org.tranche.security.SecurityUtil
Retrieve the PrivateKey (used to sign bytes) from the system keystore.
getProjectFile() - Method in class org.tranche.get.GetFileTool
Gets the project file, downloading if necessary.
getProjectFile(BigHash) - Static method in class org.tranche.scripts.ScriptsUtil
Recycles from GetFileTool.
getProjectFile(BigHash, String) - Static method in class org.tranche.scripts.ScriptsUtil
Recycles from GetFileTool.
getProjectHashes(BigInteger, BigInteger) - Method in class org.tranche.flatfile.FlatFileTrancheServer
Gets all of the hashes for projects that are in memory.
getProjectHashes(BigInteger, BigInteger) - Method in class org.tranche.remote.RemoteTrancheServer
Remote protocol for sending project hashes.
getProjectHashes(BigInteger, BigInteger) - Method in class org.tranche.routing.RoutingTrancheServer
Returns a list of all projects that this server has.
getProjectHashes(BigInteger, BigInteger) - Method in class org.tranche.TrancheServer
Returns a list of all projects that this server has.
GetProjectHashesItem - Class in org.tranche.server
Handles requests for project file hashes.
GetProjectHashesItem(Server) - Constructor for class org.tranche.server.GetProjectHashesItem
 
getProjects() - Static method in class org.tranche.project.ProjectSummaryCache
 
getProperties() - Method in class org.tranche.FileEncoding
Properties object associated with FileEncoding.
getProperties() - Method in class org.tranche.meta.MetaData
 
getProperty(String) - Method in class org.tranche.FileEncoding
Get a property (value) using a key.
getPublicPassphrase() - Method in class org.tranche.meta.MetaData
Gets the published passphrase.
getPurgeMsg() - Method in class org.tranche.remote.RemoteCallback
Returns the message that was given for purging this callback.
getReadOnly() - Static method in class org.tranche.security.SecurityUtil
Get User object representing read-only privileges.
getReadOnlyCertificate() - Static method in class org.tranche.security.SecurityUtil
Returns certificate with priveldges: read only
getReadOnlyFlags() - Static method in class org.tranche.security.SecurityUtil
Returns integer for flags used to set for user: read-only.
getRecognizedUser(X509Certificate) - Method in class org.tranche.configuration.Configuration
Get the User that corresponds to the given certificate.
getRecord(int) - Method in class org.tranche.tasks.CSVFile
Returns a record found in a row.
getRecords() - Method in class org.tranche.tasks.CSVFile
Returns the records of the CSV file.
getRecordsPerPartition() - Static method in class org.tranche.hash.DiskBackedBigHashList
Retrieve number of records per partition.
getRedirectOutputFile() - Static method in class org.tranche.server.Server
 
getRegEx() - Method in class org.tranche.get.GetFileTool
Gets the regular expression that is used to download a portion of a data set.
getRegex(Set<ProjectFilePart>) - Static method in class org.tranche.get.GetFileToolUtil
Returns the regular expression that corresponds with all of the given project file parts in the set.
getRejectedClients() - Method in class org.tranche.server.Server
 
getRelativeName() - Method in class org.tranche.project.ProjectFilePart
Gets the relative name of this file.
getRelativePathInDataSet() - Method in class org.tranche.meta.MetaData
 
getRemoteTrancheServer() - Method in class org.tranche.network.Connection
 
getRemoteTrancheServer() - Method in class org.tranche.remote.RemoteCallback
 
getRepairDataIndex() - Method in class org.tranche.flatfile.HashSpanFixingThread
 
getRepairMetaDataIndex() - Method in class org.tranche.flatfile.HashSpanFixingThread
 
getReplications() - Method in class org.tranche.hash.span.HashSpanCalculator
Retrieve number of replications.
getRequiredPercentageDifferenceToBalanceDataDirectories(Configuration) - Method in class org.tranche.flatfile.HashSpanFixingThread
The required difference in percentage between the data directories with least and most available space before transfering.
getRequiredPercentageForMostUsedDataDirectoryToBalance(Configuration) - Method in class org.tranche.flatfile.HashSpanFixingThread
The minimum percentage of its available space used by a data directory before it will be a candidate for balancing.
getRequiredReplicationsToDelete() - Method in class org.tranche.flatfile.HashSpanFixingThread
Deprecated. This may be used by testing, but should not be used in production. Instead, set the appropriate value in the server's Configuration object.
getRequiredRepsInHashSpanToDelete(Configuration) - Method in class org.tranche.flatfile.HashSpanFixingThread
This represents a parameter that is set in FlatFileTrancheServer's Configuration, and can be remotely changed.
getResponse() - Method in class org.tranche.remote.ActivityArrayCallback
Returns the server response.
getResponse() - Method in class org.tranche.remote.BooleanArrayCallback
Returns the server response.
getResponse() - Method in class org.tranche.remote.BooleanCallback
Returns the server response.
getResponse() - Method in class org.tranche.remote.IntegerCallback
Returns the server response.
getResponse() - Method in class org.tranche.remote.StatusTableCallback
 
getResponseTimeout() - Static method in class org.tranche.remote.RemoteTrancheServer
 
getResponseTimestamp() - Method in class org.tranche.network.StatusTableRow
 
getReturnValueObject() - Method in class org.tranche.server.PropagationReturnWrapper
Returns the returned value from method.
getRootDirectory() - Static method in class org.tranche.LocalDataServer
 
getRow(String) - Method in class org.tranche.network.StatusTable
Gets the row with the given host name.
getRows() - Method in class org.tranche.network.StatusTable
Returns the rows in the table.
getRows(String, String) - Method in class org.tranche.network.StatusTable
Gets all of the rows that have host names between startHost (inclusive) and endHost (exclusive.)
getRuntime() - Method in interface org.tranche.flatfile.logs.DataBlockUtilLog
Uses the default log.
getRuntime() - Method in class org.tranche.flatfile.logs.DataBlockUtilLogger
Uses the default log.
getRuntime() - Method in class org.tranche.flatfile.logs.DiskBackedTransactionLog
Uses the default log.
getRuntime() - Method in class org.tranche.flatfile.logs.InMemoryAggregateLog
Uses the default log.
getSalvagedChunksFromCorruptedDataBlockCount() - Method in class org.tranche.flatfile.DataBlockUtil
Return the total count of chunks salvaged from corrupted DataBlock objects.
getSaveFile() - Method in class org.tranche.get.GetFileTool
Gets the location to which the file should be saved.
getSaveFile() - Method in class org.tranche.users.MakeUserZipFileTool
Returns a File object representing the file on the local disk that contains the user information.
getSeconds() - Method in class org.tranche.timeestimator.ContextualTimeEstimator
Get the number of seconds the estimator has been running.
getSeconds() - Method in class org.tranche.timeestimator.TimeEstimator
Returns the number of seconds left to work.
getSelectedUploader() - Method in class org.tranche.meta.MetaData
 
getServer() - Method in class org.tranche.add.AddFileToolEvent
 
getServer() - Static method in class org.tranche.clc.ServerItem
Returns the Server object (socket server) to which this item belongs.
getServer() - Method in class org.tranche.get.GetFileToolEvent
 
getServer() - Static method in class org.tranche.LocalDataServer
 
getServerConfigs() - Method in class org.tranche.configuration.Configuration
Gets the server configurations on this server.
getServerConfigurationAttributes() - Static method in class org.tranche.ConfigureTranche
Returns network-wide server attributes from URL.
getServerListeners(String) - Static method in class org.tranche.servers.ServerUtil
Returns the server listeners that are listening to the Tranche server with the given URL.
getServerPercentage(String) - Method in class org.tranche.hash.span.HashSpanCalculator
After performing the calculation, you can get each server's respective percentage.
getServersDump() - Static method in class org.tranche.logs.LogUtil
 
getServerStartupThread() - Method in class org.tranche.server.Server