public class SlaveServerConfig extends Object
Modifier and Type | Field and Description |
---|---|
static String |
XML_TAG |
static String |
XML_TAG_ACCEPT_QUEUE_SIZE |
static String |
XML_TAG_ACCEPTORS |
static String |
XML_TAG_AUTO_CREATE |
static String |
XML_TAG_AUTOSEQUENCE |
static String |
XML_TAG_JETTY_OPTIONS |
static String |
XML_TAG_LOW_RES_MAX_IDLE_TIME |
static String |
XML_TAG_MASTERS |
static String |
XML_TAG_REPOSITORY |
static String |
XML_TAG_SEQUENCES |
Constructor and Description |
---|
SlaveServerConfig() |
SlaveServerConfig(List<SlaveServer> masters,
boolean reportingToMasters,
SlaveServer slaveServer) |
SlaveServerConfig(LogChannelInterface log,
Node node) |
SlaveServerConfig(SlaveServer slaveServer) |
SlaveServerConfig(String hostname,
int port,
boolean joining) |
public static final String XML_TAG
public static final String XML_TAG_MASTERS
public static final String XML_TAG_REPOSITORY
public static final String XML_TAG_SEQUENCES
public static final String XML_TAG_AUTOSEQUENCE
public static final String XML_TAG_AUTO_CREATE
public static final String XML_TAG_JETTY_OPTIONS
public static final String XML_TAG_ACCEPTORS
public static final String XML_TAG_ACCEPT_QUEUE_SIZE
public static final String XML_TAG_LOW_RES_MAX_IDLE_TIME
public SlaveServerConfig()
public SlaveServerConfig(SlaveServer slaveServer)
public SlaveServerConfig(List<SlaveServer> masters, boolean reportingToMasters, SlaveServer slaveServer)
public SlaveServerConfig(LogChannelInterface log, Node node) throws KettleXMLException
KettleXMLException
public SlaveServerConfig(String hostname, int port, boolean joining)
public String getXML()
protected void setUpJettyOptions(Node node)
node
- protected Map<String,String> parseJettyOptions(Node node)
node
- that contains jetty options nodespublic void readAutoSequences() throws KettleException
KettleException
public List<SlaveServer> getMasters()
public void setMasters(List<SlaveServer> masters)
masters
- the list of masters to set. It is the list of masters to report back to if the report to masters flag is
enabled.public SlaveServer getSlaveServer()
public void setSlaveServer(SlaveServer slaveServer)
slaveServer
- the slave server details to set.public boolean isReportingToMasters()
public void setReportingToMasters(boolean reportingToMaster)
reportingToMaster
- set to true if this slave should report to the masterspublic boolean isJoining()
public void setJoining(boolean joining)
joining
- Set to true if the webserver needs to join with the webserver threads (wait/block until finished)public int getMaxLogLines()
public void setMaxLogLines(int maxLogLines)
maxLogLines
- the maxLogLines to setpublic int getMaxLogTimeoutMinutes()
public void setMaxLogTimeoutMinutes(int maxLogTimeoutMinutes)
maxLogTimeoutMinutes
- the maxLogTimeoutMinutes to setpublic int getObjectTimeoutMinutes()
public void setObjectTimeoutMinutes(int objectTimeoutMinutes)
objectTimeoutMinutes
- the objectTimeoutMinutes to setpublic String getFilename()
public void setFilename(String filename)
filename
- the filename to setpublic List<DatabaseMeta> getDatabases()
public void setDatabases(List<DatabaseMeta> databases)
databases
- the databases to setpublic List<SlaveSequence> getSlaveSequences()
public void setSlaveSequences(List<SlaveSequence> slaveSequences)
slaveSequences
- the slaveSequences to setpublic SlaveSequence getAutoSequence()
public void setAutoSequence(SlaveSequence autoSequence)
autoSequence
- the autoSequence to setpublic boolean isAutomaticCreationAllowed()
public void setAutomaticCreationAllowed(boolean automaticCreationAllowed)
automaticCreationAllowed
- the automaticCreationAllowed to setpublic Repository getRepository() throws KettleException
KettleException
public void setRepository(Repository repository)
repository
- the repository to setpublic String getRepositoryUsername()
public void setRepositoryUsername(String repositoryUsername)
repositoryUsername
- the repositoryUsername to setpublic String getRepositoryPassword()
public void setRepositoryPassword(String repositoryPassword)
repositoryPassword
- the repositoryPassword to setpublic org.pentaho.metastore.stores.delegate.DelegatingMetaStore getMetaStore()
public void setMetaStore(org.pentaho.metastore.stores.delegate.DelegatingMetaStore metaStore)
public String getPasswordFile()
public void setPasswordFile(String passwordFile)
public String getRepositoryId()
public void setRepositoryId(String repositoryId)
Copyright © 2018 Hitachi Vantara. All rights reserved.