public static class ContainerConfig.SocketConfig extends Object
This is good for when there are relatively small number of cluster members.
| Constructor and Description |
|---|
SocketConfig() |
| Modifier and Type | Method and Description |
|---|---|
int |
getCoreThreads()
Return the number of core threads to use.
|
String |
getLocalHostPort()
Return the host and port for this server instance.
|
int |
getMaxThreads()
Return the number of max threads to use.
|
List<String> |
getMembers()
Return all the host and port for all the members of the cluster.
|
String |
getThreadPoolName()
Return the thread pool name.
|
void |
setCoreThreads(int coreThreads)
Set the number of core threads to use.
|
void |
setLocalHostPort(String localHostPort)
Set the host and port for this server instance.
|
void |
setMaxThreads(int maxThreads)
Set the number of max threads to use.
|
void |
setMembers(List<String> members)
Set all the host and port for all the members of the cluster.
|
void |
setThreadPoolName(String threadPoolName)
Set the thread pool name.
|
public SocketConfig()
public String getLocalHostPort()
public void setLocalHostPort(String localHostPort)
public List<String> getMembers()
public void setMembers(List<String> members)
public int getCoreThreads()
public void setCoreThreads(int coreThreads)
public int getMaxThreads()
public void setMaxThreads(int maxThreads)
public String getThreadPoolName()
public void setThreadPoolName(String threadPoolName)
Copyright © 2016. All rights reserved.