public class ContainerConfig extends Object
Provides configuration for cluster communication (if clustering is used). The cluster communication is used to invalidate appropriate parts of the L2 cache across the cluster.
Constructor and Description |
---|
ContainerConfig() |
Modifier and Type | Method and Description |
---|---|
String |
getNamespace()
Return the namespace.
|
String |
getPodName()
Return the pod name.
|
int |
getPort()
Return the port to use.
|
Properties |
getProperties()
Return the deployment properties.
|
String |
getServiceName()
Return the service name.
|
boolean |
isActive()
Return true if clustering is active.
|
void |
loadFromProperties(Properties properties)
Load the settings from properties.
|
void |
setActive(boolean active)
Set to true for clustering to be active.
|
void |
setNamespace(String namespace)
Set the namespace.
|
void |
setPodName(String podName)
Set the pod name.
|
void |
setPort(int port)
Set the port to use.
|
void |
setProperties(Properties properties)
Set the deployment properties.
|
void |
setServiceName(String serviceName)
Set the service name.
|
public ContainerConfig()
public String getServiceName()
public void setServiceName(String serviceName)
public String getNamespace()
public void setNamespace(String namespace)
public String getPodName()
public void setPodName(String podName)
public int getPort()
public void setPort(int port)
public boolean isActive()
public void setActive(boolean active)
public Properties getProperties()
public void setProperties(Properties properties)
public void loadFromProperties(Properties properties)
Copyright © 2019. All rights reserved.