org.ow2.jonas.discovery.jgroups.utils
Class DiscoveryUtils
java.lang.Object
org.ow2.jonas.discovery.jgroups.utils.DiscoveryUtils
public class DiscoveryUtils
- extends Object
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
commProtoName
public String commProtoName
- Current name of stack communication protocol.
configurationFile
public String configurationFile
- The JGroups stack configuration file.
groupName
public String groupName
DiscoveryUtils
public DiscoveryUtils()
getDiscType
public String getDiscType()
- Returns:
- the discType
setDiscType
public void setDiscType(String discType)
- Parameters:
discType
- the discType to set
getStackConfigurator
public org.jgroups.conf.ProtocolStackConfigurator getStackConfigurator()
- Returns:
- the stack configurator.
setStackConfigurator
public void setStackConfigurator(org.jgroups.conf.ProtocolStackConfigurator stackconfigurator)
- Parameters:
stackconfigurator
- the stackconfigurator to set
getJonasName
public String getJonasName()
- Returns:
- the jonasName
setJonasName
public void setJonasName(String jonasName)
- Parameters:
jonasName
- the jonasName to set
getDomainName
public String getDomainName()
- Returns:
- the domainName
setDomainName
public void setDomainName(String domainName)
- Parameters:
domainName
- the domainName to set
getServerId
public String getServerId()
- Returns:
- the serverId
setServerId
public void setServerId(String serverId)
- Parameters:
serverId
- the serverId to set
getDiscPort
public Integer getDiscPort()
- Returns:
- the discPort
getLogger
public org.objectweb.util.monolog.api.Logger getLogger()
- Returns:
- the logger
setLogger
public void setLogger(org.objectweb.util.monolog.api.Logger logger)
- Parameters:
logger
- the logger to set
getGreetingAckTimeOut
public Integer getGreetingAckTimeOut()
- Returns:
- the greetingAckTimeOut
setGreetingAckTimeOut
public void setGreetingAckTimeOut(Integer greetingAckTimeOut)
- Parameters:
greetingAckTimeOut
- the greetingAckTimeOut to set
getComChannel
public org.ow2.util.cluster.jgroups.IChannel getComChannel()
- Returns:
- the comChannel
setComChannel
public void setComChannel(org.ow2.util.cluster.jgroups.IChannel comChannel)
- Parameters:
comChannel
- the comChannel to set
getCommProtoName
public String getCommProtoName()
- Returns:
- the commProtoName
setCommProtoName
public void setCommProtoName(String commProtoName)
- Parameters:
commProtoName
- the commProtoName to set
getCommProtoParams
public HashMap<?,?> getCommProtoParams()
- Returns:
- the commProtoParams
setCommProtoParams
public void setCommProtoParams(HashMap<?,?> commProtoParams)
- Parameters:
commProtoParams
- the commProtoParams to set
getUrls
public String[] getUrls()
- Returns:
- the urls
setUrls
public void setUrls(String[] urls)
- Parameters:
urls
- the urls to set
getLocalAddress
public org.jgroups.stack.IpAddress getLocalAddress()
- Returns:
- the localAddress
getTtl
public Integer getTtl()
- Returns:
- the ttl
setTtl
public void setTtl(Integer ttl)
- Parameters:
ttl
- the ttl to set
isMulticast
public boolean isMulticast()
isMulticastDiscovery
public boolean isMulticastDiscovery()
- Checks if discovery is multicast.
- Returns:
- the isMulticastDiscovery
getDiscIp
public String getDiscIp()
- Gets IP address of discovery.
- Returns:
- Discovery IP
getConfigurationFile
public String getConfigurationFile()
- Returns:
- the conFile.
setConfigurationFile
public void setConfigurationFile(String conFile)
- Parameters:
conFile
- the conFile to set.
getGroupName
public String getGroupName()
- Returns:
- the groupName.
setGroupName
public void setGroupName(String groupName)
- Parameters:
groupName
- the groupName to set.
Copyright © 2010 OW2 Consortium. All Rights Reserved.