com.mymed.model.core.configuration
Class WrapperConfiguration
java.lang.Object
com.mymed.model.core.configuration.WrapperConfiguration
public class WrapperConfiguration
- extends java.lang.Object
- Author:
- lvanni
Constructor Summary |
WrapperConfiguration(java.io.File file)
Register a new configuration for the backend node
Use this method only if the file is in a known fixed location |
WrapperConfiguration(java.lang.String configXml)
Register a new configuration for the backend node |
WrapperConfiguration(java.lang.String cassandraListenAddress,
int thriftPort,
java.lang.String chordListenAddress,
int chordStoragePort,
java.lang.String kadListenAddress,
int kadStoragePort)
Register a new Configuration for the backend Node |
Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait |
WrapperConfiguration
public WrapperConfiguration(java.lang.String cassandraListenAddress,
int thriftPort,
java.lang.String chordListenAddress,
int chordStoragePort,
java.lang.String kadListenAddress,
int kadStoragePort)
- Register a new Configuration for the backend Node
- Parameters:
chordListenAddress
- chordStoragePort
- kadListenAddress
- kadStoragePort
-
WrapperConfiguration
public WrapperConfiguration(java.io.File file)
- Register a new configuration for the backend node
Use this method only if the file is in a known fixed location
- Parameters:
file
- The xml configuration file
WrapperConfiguration
public WrapperConfiguration(java.lang.String configXml)
- Register a new configuration for the backend node
- Parameters:
configXml
- The name of the configuration file in the Classpath
toString
public java.lang.String toString()
- Overrides:
toString
in class java.lang.Object
getCassandraListenAddress
public java.lang.String getCassandraListenAddress()
setCassandraListenAddress
public void setCassandraListenAddress(java.lang.String cassandraListenAddress)
getThriftPort
public int getThriftPort()
setThriftPort
public void setThriftPort(int thriftPort)
getChordListenAddress
public java.lang.String getChordListenAddress()
setChordListenAddress
public void setChordListenAddress(java.lang.String chordListenAddress)
getChordStoragePort
public int getChordStoragePort()
setChordStoragePort
public void setChordStoragePort(int chordStoragePort)
getKadListenAddress
public java.lang.String getKadListenAddress()
setKadListenAddress
public void setKadListenAddress(java.lang.String kadListenAddress)
getKadStoragePort
public int getKadStoragePort()
setKadStoragePort
public void setKadStoragePort(int kadStoragePort)