|
||||||||||
| PREV NEXT | FRAMES NO FRAMES | |||||||||
| Packages that use Configuration | |
|---|---|
| org.tranche | Configuration for specific Tranche network and interfaces. |
| org.tranche.configuration | Handles the server's (Server/FlatFileTrancheServer) configuration, including data directories, permissions and other options. |
| org.tranche.flatfile | The FlatFileTrancheServer handles the routing of data and meta data between the Server instance and the DataBlockUtil, and imposes sercurity. |
| org.tranche.network | Contains all classes that concern the network as a whole and the connections with parts of that network. |
| org.tranche.remote | Client-side management of sockets and interface to remote Server instance. |
| org.tranche.routing | Contains all classes that are relevant to the routing tranche server. |
| org.tranche.tasks | Simple interface for common tasks. |
| org.tranche.util | Utilities used by Tranche and other tools for handling lower-level tasks (such as compression, encryption, managing temporary files, etc.). |
| Uses of Configuration in org.tranche |
|---|
| Methods in org.tranche that return Configuration | |
|---|---|
abstract Configuration |
TrancheServer.getConfiguration()
|
abstract Configuration |
TrancheServer.getConfiguration(Signature sig,
byte[] nonce)
|
| Uses of Configuration in org.tranche.configuration |
|---|
| Methods in org.tranche.configuration that return Configuration | |
|---|---|
Configuration |
Configuration.clone()
Create a deep copy of the configuration so in-memory copies aren't shared. |
static Configuration |
ConfigurationUtil.read(java.io.InputStream is)
Returns a configuration object from an input stream. |
| Methods in org.tranche.configuration with parameters of type Configuration | |
|---|---|
static void |
ConfigurationUtil.write(Configuration config,
java.io.OutputStream out)
Writes a SplitFile object to the given OutputStream. |
| Uses of Configuration in org.tranche.flatfile |
|---|
| Methods in org.tranche.flatfile that return Configuration | |
|---|---|
Configuration |
FlatFileTrancheServer.getConfiguration()
Get the Configuration object for this FlatFileTrancheServer. |
protected Configuration |
FlatFileTrancheServer.getConfiguration(boolean useCache)
Get the Configuration object for this FlatFileTrancheServer. |
Configuration |
FlatFileTrancheServer.getConfiguration(Signature sig,
byte[] nonce)
Get the Configuration object. |
| Methods in org.tranche.flatfile with parameters of type Configuration | |
|---|---|
void |
FlatFileTrancheServerListener.configurationSet(Configuration config)
Fired when configuration is set. |
void |
FlatFileTrancheServer.fireConfigurationSet(Configuration config)
Fired when configuration is set. |
int |
HashSpanFixingThread.getBatchSizeForChunksToDelete(Configuration conf)
The number of chunks to inspect for potential deletion at a time. |
int |
HashSpanFixingThread.getBatchSizeForChunksToDownload(Configuration conf)
The number of chunks to inspect for potential download at a time. |
int |
HashSpanFixingThread.getBatchSizeForChunksToHeal(Configuration conf)
The number of chunks to inspect for repair work at a time. |
int |
HashSpanFixingThread.getBatchSizeForDataBlocksToBalance(Configuration conf)
Get the number of DataBlock objects to balance between DataDirectoryConfiguration objects to check and balance before going on to the next task. |
long |
HashSpanFixingThread.getPauseBetweenOperations(Configuration conf)
Get pause to relieve resources based on configuration options. |
double |
HashSpanFixingThread.getRequiredPercentageDifferenceToBalanceDataDirectories(Configuration conf)
The required difference in percentage between the data directories with least and most available space before transfering. |
double |
HashSpanFixingThread.getRequiredPercentageForMostUsedDataDirectoryToBalance(Configuration conf)
The minimum percentage of its available space used by a data directory before it will be a candidate for balancing. |
int |
HashSpanFixingThread.getRequiredRepsInHashSpanToDelete(Configuration conf)
This represents a parameter that is set in FlatFileTrancheServer's Configuration, and can be remotely changed. |
int |
HashSpanFixingThread.getTotalRequiredRepsToDelete(Configuration conf)
This represents a parameter that is set in FlatFileTrancheServer's Configuration, and can be remotely changed. |
boolean |
HashSpanFixingThread.isAllowedToBalance(Configuration conf)
This represents a parameter that is set in FlatFileTrancheServer's Configuration, and can be remotely changed. |
boolean |
HashSpanFixingThread.isAllowedToDelete(Configuration conf)
This represents a parameter that is set in FlatFileTrancheServer's Configuration, and can be remotely changed. |
boolean |
HashSpanFixingThread.isAllowedToRun(Configuration conf)
This represents a parameter that is set in FlatFileTrancheServer's Configuration, and can be remotely changed. |
void |
FlatFileTrancheServer.setConfiguration(Configuration c)
Set the Configuration for this FlatFileTrancheServer. |
| Uses of Configuration in org.tranche.network |
|---|
| Methods in org.tranche.network with parameters of type Configuration | |
|---|---|
void |
StatusTableRow.update(Configuration config)
Updates the information in the row based on the given configuration. |
| Uses of Configuration in org.tranche.remote |
|---|
| Methods in org.tranche.remote that return Configuration | |
|---|---|
Configuration |
RemoteTrancheServer.getConfiguration()
Gets the configuration from the remote tranche server. |
Configuration |
RemoteTrancheServer.getConfiguration(Signature sig,
byte[] nonce)
Gets the configuration from the remote tranche server. |
| Uses of Configuration in org.tranche.routing |
|---|
| Methods in org.tranche.routing that return Configuration | |
|---|---|
Configuration |
RoutingTrancheServer.getConfiguration()
|
Configuration |
RoutingTrancheServer.getConfiguration(Signature sig,
byte[] nonce)
|
| Methods in org.tranche.routing with parameters of type Configuration | |
|---|---|
void |
RoutingTrancheServer.setConfiguration(Configuration newConfig)
|
| Uses of Configuration in org.tranche.tasks |
|---|
| Methods in org.tranche.tasks that return Configuration | |
|---|---|
static Configuration |
TaskUtil.getConfiguration(java.lang.String host)
Returns Configuration for a server with specified host. |
| Uses of Configuration in org.tranche.util |
|---|
| Methods in org.tranche.util that return Configuration | |
|---|---|
static Configuration |
IOUtil.getConfiguration(TrancheServer dfs)
|
static Configuration |
IOUtil.getConfiguration(TrancheServer dfs,
java.security.cert.X509Certificate cert,
java.security.PrivateKey key)
Deprecated. Use getConfiguration(TrancheServer) instead |
| Methods in org.tranche.util with parameters of type Configuration | |
|---|---|
static void |
IOUtil.setConfiguration(TrancheServer ts,
Configuration config,
java.security.cert.X509Certificate cert,
java.security.PrivateKey key)
Adding meta-data and data bytes is near-identical. |
|
||||||||||
| PREV NEXT | FRAMES NO FRAMES | |||||||||