Package org.tranche.flatfile

The FlatFileTrancheServer handles the routing of data and meta data between the Server instance and the DataBlockUtil, and imposes sercurity.

See:
          Description

Interface Summary
FlatFileTrancheServerListener Listener for important actions involving FlatFileTrancheServer.
 

Class Summary
DataBlock Represents a block of data.
DataBlockCache Used to cache the location of a chunk.
DataBlockCacheEntry An individual entry in the DataBlockUtil cache, which can be turned on and off.
DataBlockToMerge Used to queue a DataBlock that must be cleaned up or split because too many entries.
DataBlockUtil Stores config information in memory, and holds lists of available hashes and resources on disk.
DataDirectoryConfiguration A simple cap on the directories to use and the amount of data to put in them.
FlatFileTrancheServer An implementation of the TrancheServer interface that relies on the underlying operating system's filesystem.
HashSpanFixingThread "Heals" a server's data and meta-data based on the configured hash span.
HashSpanFixingThreadPolicyDecider Object will decide how to interpret events to control the HashSpanFixingThread.
NonceMap An abstraction to track nonces on the server-side.
ProjectFindingThread Loads information about available data, along with corrupted DataBlock files, from disk.
ReplaceCorruptedDataBlockThread Thread replaces any missing chunks from a corrupted data block.
ServerConfiguration Store information about the Server instance in a configuration object.
TargetHashSpanThread Thread that monitors for target hash spans and starts moving everything off this server not in the target hash spans.
 

Package org.tranche.flatfile Description

The FlatFileTrancheServer handles the routing of data and meta data between the Server instance and the DataBlockUtil, and imposes sercurity. The DataBlockUtil is the custom file system (b-tree).



This code is free for use both commercially and non-commercially as stated in the project's license