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