org.infinispan.config
Class GlobalConfiguration.TransportType

java.lang.Object
  extended by org.infinispan.config.AbstractConfigurationBean
      extended by org.infinispan.config.GlobalConfiguration.TransportType
All Implemented Interfaces:
Serializable, Cloneable, CloneableConfigurationComponent, JAXBUnmarshallable
Enclosing class:
GlobalConfiguration

public static class GlobalConfiguration.TransportType
extends AbstractConfigurationBean

This element configures the transport used for network communications across the cluster.

See Also:
Configuration reference, Serialized Form

Field Summary
protected  String clusterName
           
protected  Long distributedSyncTimeout
           
protected  String machineId
           
protected  String nodeName
           
protected  TypedProperties properties
           
protected  String rackId
           
protected  String siteId
           
protected  Boolean strictPeerToPeer
           
protected  String transportClass
           
 
Fields inherited from class org.infinispan.config.AbstractConfigurationBean
EMPTY_PROPERTIES, log, overriddenConfigurationElements
 
Constructor Summary
GlobalConfiguration.TransportType()
           
GlobalConfiguration.TransportType(String transportClass)
           
 
Method Summary
 void accept(ConfigurationBeanVisitor v)
           
 GlobalConfiguration.TransportType clone()
           
 String getMachineId()
           
 String getRackId()
           
 String getSiteId()
           
protected  boolean hasComponentStarted()
          Tests whether the component this configuration bean intents to configure has already started.
 void inject(GlobalComponentRegistry gcr)
           
 void setClusterName(String clusterName)
           
 void setDistributedSyncTimeout(Long distributedSyncTimeout)
           
 void setMachineId(String machineId)
           
 void setNodeName(String nodeName)
           
 void setProperties(TypedProperties properties)
           
 void setRackId(String rackId)
           
 void setSiteId(String siteId)
           
 void setStrictPeerToPeer(Boolean strictPeerToPeer)
           
 void setTransportClass(String transportClass)
           
 
Methods inherited from class org.infinispan.config.AbstractConfigurationBean
testImmutability, toTypedProperties, toTypedProperties, uc, willUnmarshall
 
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

clusterName

protected String clusterName

machineId

protected String machineId

rackId

protected String rackId

siteId

protected String siteId

strictPeerToPeer

protected Boolean strictPeerToPeer

distributedSyncTimeout

protected Long distributedSyncTimeout

transportClass

protected String transportClass

nodeName

protected String nodeName

properties

protected TypedProperties properties
Constructor Detail

GlobalConfiguration.TransportType

public GlobalConfiguration.TransportType()

GlobalConfiguration.TransportType

public GlobalConfiguration.TransportType(String transportClass)
Method Detail

accept

public void accept(ConfigurationBeanVisitor v)

setClusterName

public void setClusterName(String clusterName)

setMachineId

public void setMachineId(String machineId)

setRackId

public void setRackId(String rackId)

setSiteId

public void setSiteId(String siteId)

getMachineId

public String getMachineId()

getRackId

public String getRackId()

getSiteId

public String getSiteId()

setDistributedSyncTimeout

public void setDistributedSyncTimeout(Long distributedSyncTimeout)

setTransportClass

public void setTransportClass(String transportClass)

setNodeName

public void setNodeName(String nodeName)

setProperties

public void setProperties(TypedProperties properties)

setStrictPeerToPeer

public void setStrictPeerToPeer(Boolean strictPeerToPeer)

clone

public GlobalConfiguration.TransportType clone()
                                        throws CloneNotSupportedException
Specified by:
clone in interface CloneableConfigurationComponent
Throws:
CloneNotSupportedException

inject

public void inject(GlobalComponentRegistry gcr)

hasComponentStarted

protected boolean hasComponentStarted()
Description copied from class: AbstractConfigurationBean
Tests whether the component this configuration bean intents to configure has already started.

Specified by:
hasComponentStarted in class AbstractConfigurationBean
Returns:
true if the component has started; false otherwise.


Copyright © 2011 JBoss, a division of Red Hat. All Rights Reserved.