| Modifier and Type | Field and Description |
|---|---|
static String |
AUTO_PARTITION_SPEC |
static int |
DEFAULT_PORT |
static int |
DEFAULT_SECURE_PORT |
| Constructor and Description |
|---|
RunnerConfiguration() |
public static final int DEFAULT_PORT
public static final int DEFAULT_SECURE_PORT
public static final String AUTO_PARTITION_SPEC
public String getBucket()
getInstanceID().public void setBucket(String bucket)
public String getInstanceID()
getBucket().public void setInstanceID(String instanceID)
public int getPort()
public void setPort(int port)
public int getSecurePort()
public void setSecurePort(int securePort)
public String getContextPath()
null for default/rootpublic void setContextPath(String contextPath)
public boolean isReadOnly()
public void setReadOnly(boolean readOnly)
public File getKeystoreFile()
public void setKeystoreFile(File keystoreFile)
public String getKeystorePassword()
getKeystoreFile(), if applicablepublic void setKeystorePassword(String keystorePassword)
public File getLocalInputDir()
public void setLocalInputDir(File localInputDir)
public String getUserName()
public void setUserName(String userName)
public String getPassword()
public void setPassword(String password)
public boolean isConsoleOnlyPassword()
public void setConsoleOnlyPassword(boolean consoleOnlyPassword)
public Integer getHostRequestLimit()
null for no limit. This provides only a basic attempt to deny requests and is not
guaranteed to block any DoS attack.public void setHostRequestLimit(Integer hostRequestLimit)
public String getRescorerProviderClassName()
RescorerProvider, if one should be
used to modify the results of the recommendations and similarity computations, or null if
none is to be used. The class must be made available on the server's classpath. This may also be specified
as a comma-separated list of class names, in which case all will be applied, in the given order.public void setRescorerProviderClassName(String rescorerProviderClassName)
public String getClientThreadClassName()
ClientThread which is intended
to be run in the Serving Layer in its own thread as an in-process "client" of external services. This may
be used to poll/pull updates from some external service and push directly into the recommender, or perform
any other service that a caller needs. The thread will be started with the web container and closed
with the web container.public void setClientThreadClassName(String clientThreadClassName)
public Integer getPartition()
null otherwise.getAllPartitionsSpecification()public void setPartition(Integer partition)
public String getAllPartitionsSpecification()
null otherwise. May be specified as "auto", in distributed mode only, in which case it will attempt
to discover partitions automatically. Note that this further only works with Amazon AWS / S3
Otherwise, Serving Layers are specified explicitly as "host:port" pairs.
Replicas are specified as many Serving Layers, separated by commas, like "rep1:port1,rep2:port2,...".
Finally, partitions are specified as multiple replicas separated by semicolon, like
"part1rep1:port11,part1rep2:port12;part2rep1:port21,part2rep2:port22;...". Example:
"foo:80,foo2:8080;bar:8080;baz2:80,baz3:80"getPartition()public void setAllPartitionsSpecification(String allPartitionsSpecification)
public File getLicenseFile()
public void setLicenseFile(File licenseFile)
Copyright © 2012-2013. All Rights Reserved.