public class ArbiterMutableConfig
extends java.lang.Object
implements java.lang.Cloneable
Arbiter.| Modifier and Type | Method and Description |
|---|---|
ArbiterMutableConfig |
clone() |
protected ArbiterMutableConfig |
copy() |
java.lang.String |
getConsoleLoggingLevel()
Gets the console logging level.
|
java.lang.String |
getFileLoggingLevel()
Gets the file logging level.
|
java.lang.String |
getHelperHosts()
Returns the string identifying one or more helper host and port pairs in
this format:
|
java.util.Properties |
getProps() |
ArbiterMutableConfig |
setConsoleLoggingLevel(java.lang.String val)
Trace messages equal and above this level will be logged to the
console.
|
ArbiterMutableConfig |
setFileLoggingLevel(java.lang.String val)
Trace messages equal and above this level will be logged to the je.info
file, which is in the Arbiter home directory.
|
ArbiterMutableConfig |
setHelperHosts(java.lang.String helperHosts)
Identify one or more helpers nodes by their host and port pairs in this
format:
|
java.lang.String |
toString()
Display configuration values.
|
public ArbiterMutableConfig setHelperHosts(java.lang.String helperHosts)
hostname[:port][,hostname[:port]]*
helperHosts - the string representing the host and port pairs.public java.lang.String getHelperHosts()
hostname[:port][,hostname[:port]]*
public ArbiterMutableConfig setFileLoggingLevel(java.lang.String val)
| Name | Type | Mutable | Default |
| com.sleepycat.je.util.FileHandler.level | String | No | "INFO" |
val - value of the logging level.public java.lang.String getFileLoggingLevel()
public ArbiterMutableConfig setConsoleLoggingLevel(java.lang.String val)
| Name | Type | Mutable | Default |
| com.sleepycat.je.util.ConsoleHandler.level | String | No | "OFF" |
val - Logging level.public java.lang.String getConsoleLoggingLevel()
protected ArbiterMutableConfig copy()
public ArbiterMutableConfig clone()
clone in class java.lang.Objectpublic java.util.Properties getProps()
public java.lang.String toString()
toString in class java.lang.ObjectCopyright (c) 2002, 2017 Oracle and/or its affiliates. All rights reserved.