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.
| Modifier and Type | Class and Description |
|---|---|
static class |
ContainerConfig.ClusterMode
Communication mode used for clustering.
|
static class |
ContainerConfig.MulticastConfig
The configuration for clustering using Multicast networking.
|
static class |
ContainerConfig.SocketConfig
Configuration for clustering using TCP sockets.
|
| Constructor and Description |
|---|
ContainerConfig() |
| Modifier and Type | Method and Description |
|---|---|
ContainerConfig.ClusterMode |
getMode()
Return the cluster mode.
|
ContainerConfig.MulticastConfig |
getMulticastConfig()
Return the multicast communication configuration.
|
ContainerConfig.SocketConfig |
getSocketConfig()
Return the socket communication configuration.
|
void |
loadFromProperties(Properties properties)
Load the settings from properties.
|
void |
setMode(ContainerConfig.ClusterMode mode)
Set the cluster mode.
|
void |
setMulticastConfig(ContainerConfig.MulticastConfig multicastConfig)
Set the multicast communication configuration.
|
void |
setSocketConfig(ContainerConfig.SocketConfig socketConfig)
Set the socket communication configuration.
|
public ContainerConfig()
public void loadFromProperties(Properties properties)
public ContainerConfig.ClusterMode getMode()
public void setMode(ContainerConfig.ClusterMode mode)
public ContainerConfig.SocketConfig getSocketConfig()
public void setSocketConfig(ContainerConfig.SocketConfig socketConfig)
public ContainerConfig.MulticastConfig getMulticastConfig()
public void setMulticastConfig(ContainerConfig.MulticastConfig multicastConfig)
Copyright © 2015. All rights reserved.