org.infinispan.config
Class Configuration.SyncType

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

public static class Configuration.SyncType
extends AbstractNamedCacheConfigurationBean

If this element is present, all communications are synchronous, in that whenever a thread sends a message sent over the wire, it blocks until it receives an acknowledgment from the recipient. This element is mutually exclusive with the <async /> element.

Characteristics of this can be tuned here.

See Also:
Configuration reference, Serialized Form

Field Summary
protected  Long replTimeout
           
 
Fields inherited from class org.infinispan.config.AbstractNamedCacheConfigurationBean
cr
 
Fields inherited from class org.infinispan.config.AbstractConfigurationBean
EMPTY_PROPERTIES, log, overriddenConfigurationElements
 
Constructor Summary
Configuration.SyncType()
           
 
Method Summary
 void accept(ConfigurationBeanVisitor v)
           
 boolean equals(Object o)
           
 int hashCode()
           
 void setReplTimeout(Long replTimeout)
           
 void willUnmarshall(Object parent)
          Indicates that this element is about to be unmarshalled from the XML source that was processed.
 
Methods inherited from class org.infinispan.config.AbstractNamedCacheConfigurationBean
clone, hasComponentStarted, inject
 
Methods inherited from class org.infinispan.config.AbstractConfigurationBean
testImmutability, toTypedProperties, toTypedProperties, uc
 
Methods inherited from class java.lang.Object
finalize, getClass, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

replTimeout

@Dynamic
protected Long replTimeout
Constructor Detail

Configuration.SyncType

public Configuration.SyncType()
Method Detail

setReplTimeout

public void setReplTimeout(Long replTimeout)

accept

public void accept(ConfigurationBeanVisitor v)

equals

public boolean equals(Object o)
Overrides:
equals in class Object

hashCode

public int hashCode()
Overrides:
hashCode in class Object

willUnmarshall

public void willUnmarshall(Object parent)
Description copied from interface: JAXBUnmarshallable
Indicates that this element is about to be unmarshalled from the XML source that was processed.

Specified by:
willUnmarshall in interface JAXBUnmarshallable
Overrides:
willUnmarshall in class AbstractConfigurationBean
Parameters:
parent - parent component

Google Analytics

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