Class GlobalConfiguration
- java.lang.Object
-
- org.mases.datadistributionmanager.BaseConfiguration
-
- org.mases.datadistributionmanager.GlobalConfiguration
-
- All Implemented Interfaces:
IConfiguration
- Direct Known Subclasses:
CommonConfiguration
public abstract class GlobalConfiguration extends BaseConfiguration
The global configuration class
-
-
Field Summary
Fields Modifier and Type Field Description static java.lang.String
GlobalLogLevelKey
static java.lang.String
MastershipLibraryKey
static java.lang.String
MaxMessageSizeKey
static java.lang.String
ProtocolKey
static java.lang.String
ProtocolLibraryKey
static java.lang.String
ServerLostTimeoutKey
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description DDM_LOG_LEVEL
getGlobalLogLevel()
The global log valuejava.lang.String
getMastershipLibrary()
The mastership library to usejava.lang.Integer
getMaxMessageSize()
The max message size managedjava.lang.String
getProtocol()
The protocol to use (e.g.java.lang.String
getProtocolLibrary()
The protocol library to usejava.lang.Integer
getServerLostTimeout()
The timeout on server lostvoid
setGlobalLogLevel(DDM_LOG_LEVEL level)
The global log valuevoid
setMastershipLibrary(java.lang.String protolib)
The mastership library to usevoid
setMaxMessageSize(java.lang.Integer msgSize)
The max message size managedvoid
setProtocol(java.lang.String protocol)
The protocol to use (e.g.void
setProtocolLibrary(java.lang.String protolib)
The protocol library to usevoid
setServerLostTimeout(java.lang.Integer timeout)
The timeout on server lost-
Methods inherited from class org.mases.datadistributionmanager.BaseConfiguration
getConfiguration
-
-
-
-
Field Detail
-
ProtocolKey
public static final java.lang.String ProtocolKey
- See Also:
- Constant Field Values
-
ProtocolLibraryKey
public static final java.lang.String ProtocolLibraryKey
- See Also:
- Constant Field Values
-
MastershipLibraryKey
public static final java.lang.String MastershipLibraryKey
- See Also:
- Constant Field Values
-
MaxMessageSizeKey
public static final java.lang.String MaxMessageSizeKey
- See Also:
- Constant Field Values
-
ServerLostTimeoutKey
public static final java.lang.String ServerLostTimeoutKey
- See Also:
- Constant Field Values
-
GlobalLogLevelKey
public static final java.lang.String GlobalLogLevelKey
- See Also:
- Constant Field Values
-
-
Method Detail
-
getProtocol
public java.lang.String getProtocol()
The protocol to use (e.g. kafka, opendds)- Returns:
- The protocol
-
setProtocol
public void setProtocol(java.lang.String protocol)
The protocol to use (e.g. kafka, opendds)- Parameters:
protocol
- The protocol
-
getProtocolLibrary
public java.lang.String getProtocolLibrary()
The protocol library to use- Returns:
- The protocol library
-
setProtocolLibrary
public void setProtocolLibrary(java.lang.String protolib)
The protocol library to use- Parameters:
protolib
- The protocol library
-
getMastershipLibrary
public java.lang.String getMastershipLibrary()
The mastership library to use- Returns:
- The mastership library
-
setMastershipLibrary
public void setMastershipLibrary(java.lang.String protolib)
The mastership library to use- Parameters:
protolib
- The mastership library
-
getMaxMessageSize
public java.lang.Integer getMaxMessageSize()
The max message size managed- Returns:
- The max message size
-
setMaxMessageSize
public void setMaxMessageSize(java.lang.Integer msgSize)
The max message size managed- Parameters:
msgSize
- The max message size
-
getServerLostTimeout
public java.lang.Integer getServerLostTimeout()
The timeout on server lost- Returns:
- The server lost timeout in ms
-
setServerLostTimeout
public void setServerLostTimeout(java.lang.Integer timeout)
The timeout on server lost- Parameters:
timeout
- The server lost timeout in ms
-
getGlobalLogLevel
public DDM_LOG_LEVEL getGlobalLogLevel()
The global log value- Returns:
- The global log value
-
setGlobalLogLevel
public void setGlobalLogLevel(DDM_LOG_LEVEL level)
The global log value- Parameters:
level
- The global log value
-
-