|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.continuent.tungsten.replicator.conf.ReplicatorRuntimeConf
public class ReplicatorRuntimeConf
This class defines configuration values that are set at runtime through system properties and provides convenient access to the same.
| Field Summary | |
|---|---|
static java.lang.String |
CLEAR_DYNAMIC_PROPERTIES
Option to clear dynamic properties |
static java.lang.String |
CONF_DIR
Path to replicator conf directory |
static java.lang.String |
HOME_DIR
Path to replicator release |
static java.lang.String |
LOG_DIR
Path to replicator log directory |
| Method Summary | |
|---|---|
boolean |
getClearDynamicProperties()
|
static ReplicatorRuntimeConf |
getConfiguration(java.lang.String serviceName)
Returns a configured replication runtime or throws an exception if configuration fails. |
java.io.File |
getReplicatorConfDir()
|
java.io.File |
getReplicatorDynamicProperties()
|
java.io.File |
getReplicatorDynamicRole()
|
java.io.File |
getReplicatorHomeDir()
|
java.io.File |
getReplicatorLogDir()
|
java.io.File |
getReplicatorProperties()
|
static java.io.File |
locateReplicatorConfDir()
Locate and return the replicator conf director. |
static java.io.File |
locateReplicatorHomeDir()
Find and return the replicator home directory. |
static java.io.File |
locateReplicatorLogDir()
Find and return the replicator log directory. |
static java.io.File |
locateReplicatorRoleFile(java.lang.String serviceName)
Locate and return the replicator role file, returning null if the file configuration file does not exist. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
public static final java.lang.String HOME_DIR
public static final java.lang.String LOG_DIR
public static final java.lang.String CONF_DIR
public static final java.lang.String CLEAR_DYNAMIC_PROPERTIES
| Method Detail |
|---|
public static ReplicatorRuntimeConf getConfiguration(java.lang.String serviceName)
public java.io.File getReplicatorHomeDir()
public java.io.File getReplicatorConfDir()
public java.io.File getReplicatorLogDir()
public java.io.File getReplicatorProperties()
public java.io.File getReplicatorDynamicProperties()
public java.io.File getReplicatorDynamicRole()
public boolean getClearDynamicProperties()
public static java.io.File locateReplicatorHomeDir()
public static java.io.File locateReplicatorLogDir()
public static java.io.File locateReplicatorConfDir()
public static java.io.File locateReplicatorRoleFile(java.lang.String serviceName)
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||