@Immutable public class RepositoryConfiguration.Clustering extends Object
| Constructor and Description |
|---|
RepositoryConfiguration.Clustering(Document clusteringDoc) |
| Modifier and Type | Method and Description |
|---|---|
org.jgroups.Channel |
getChannel()
Attempt to get the correct channel from the environment, if the environment has specified one.
|
String |
getChannelConfiguration() |
String |
getChannelProviderClassName() |
String |
getClusterName() |
Document |
getDocument() |
boolean |
isEnabled()
Checks whether clustering is enabled or not, based on a) JGroups being in the classpath and b) a clustering
configuration having been provided.
|
public RepositoryConfiguration.Clustering(Document clusteringDoc)
public boolean isEnabled()
public String getChannelProviderClassName()
public String getClusterName()
public String getChannelConfiguration()
public Document getDocument()
public org.jgroups.Channel getChannel()
throws Exception
channel provider should be usedException - if there is a problem getting the channel from the environmentCopyright © 2008-2014 JBoss, a division of Red Hat. All Rights Reserved.