public class ServerParams extends AbstractServerParameters
| Modifier and Type | Field and Description |
|---|---|
static int |
DEFAULT_EXPECTED_MAX_USERS |
static int |
DEFAULT_PARALLEL_AGENTS |
static int |
DEFAULT_PARALLEL_REQUESTS |
static int |
DEFAULT_PARALLEL_TRANSFERS |
| Constructor and Description |
|---|
ServerParams() |
| Modifier and Type | Method and Description |
|---|---|
void |
clear()
Clears the content
|
protected NdfHandler |
createNdfHandler() |
protected NdfWriter |
createNdfWriter(ApplicationContext ctx,
java.io.File configDir) |
boolean |
equalValues(AbstractServerParameters params)
Compares the values of both parameter maps.
|
protected void |
fillDefaultValues(NdfProperties props) |
java.lang.String |
getDefaultUserPassword() |
java.util.List<java.lang.String> |
getEmailAddrList() |
java.lang.String[] |
getEmailAdresses() |
int |
getExpectedMaxUsers() |
LogLevel |
getLogLevel() |
int |
getLogMaxFiles() |
int |
getLogMaxLines() |
int |
getMaxParallelAgents() |
int |
getMaxParallelRequests() |
int |
getMaxParallelTransfers() |
boolean |
isSendEmailEnabled() |
boolean |
isSendLogMessageToClients() |
void |
setDefaultUserPassword(java.lang.String encryptedPassword) |
void |
setEmailAddresses(java.lang.String... addresses) |
void |
setExpectedMaxUsers(int users) |
void |
setLogLevel(LogLevel logLevel) |
void |
setLogMaxFiles(int maxFiles) |
void |
setLogMaxLines(int maxLines) |
void |
setMaxParallelAgents(int maxParallelAgents) |
void |
setMaxParallelRequests(int maxParallelRequests) |
void |
setMaxParallelTransfers(int maxParallelTransfers) |
void |
setSendEmailEnabled(boolean isEnabled) |
void |
setSendLogMessage(boolean isSendLog) |
DumpString |
toDumpString(DumpString s)
This method allows subclasses to add values to the existing DumpString of the superclass.
|
getProperties, read, writeconfigFileIn, equals, getConfigFileName, hashCode, read, toString, writeclone, copyconfigureDumpHeadlineLength, configureDumpMaxElementsPrinted, copyDumpStringValues, copyToStringValues, createDumpHeader, toDumpString, toStringpublic static final int DEFAULT_PARALLEL_REQUESTS
public static final int DEFAULT_PARALLEL_TRANSFERS
public static final int DEFAULT_PARALLEL_AGENTS
public static final int DEFAULT_EXPECTED_MAX_USERS
public int getMaxParallelTransfers()
public int getMaxParallelRequests()
public int getMaxParallelAgents()
public int getExpectedMaxUsers()
public void setExpectedMaxUsers(int users)
public void setMaxParallelRequests(int maxParallelRequests)
public void setMaxParallelTransfers(int maxParallelTransfers)
public void setMaxParallelAgents(int maxParallelAgents)
public java.lang.String getDefaultUserPassword()
public void setDefaultUserPassword(java.lang.String encryptedPassword)
public boolean isSendLogMessageToClients()
public void setSendLogMessage(boolean isSendLog)
public int getLogMaxFiles()
public int getLogMaxLines()
public void setLogMaxLines(int maxLines)
public void setLogMaxFiles(int maxFiles)
public void setSendEmailEnabled(boolean isEnabled)
public boolean isSendEmailEnabled()
public LogLevel getLogLevel()
public void setLogLevel(LogLevel logLevel)
public java.util.List<java.lang.String> getEmailAddrList()
public java.lang.String[] getEmailAdresses()
public void setEmailAddresses(java.lang.String... addresses)
public boolean equalValues(AbstractServerParameters params)
equalValues in class AbstractServerParametersprotected final void fillDefaultValues(NdfProperties props)
fillDefaultValues in class AbstractServerParameterspublic void clear()
Clearableclear in interface Clearableclear in class AbstractServerParametersprotected NdfWriter createNdfWriter(ApplicationContext ctx, java.io.File configDir)
createNdfWriter in class AbstractServerParametersprotected NdfHandler createNdfHandler()
createNdfHandler in class AbstractServerParameterspublic DumpString toDumpString(DumpString s)
DumpabletoDumpString in interface DumpabletoDumpString in class AbstractServerParametersCopyright © 2013 EsprIT-Systems. All Rights Reserved.