org.infinispan.config
Class Configuration.SyncType
java.lang.Object
org.infinispan.config.AbstractConfigurationBean
org.infinispan.config.AbstractNamedCacheConfigurationBean
org.infinispan.config.Configuration.SyncType
- All Implemented Interfaces:
- Serializable, Cloneable, CloneableConfigurationComponent, Configuration.SyncConfig, JAXBUnmarshallable
- Enclosing class:
- Configuration
public static class Configuration.SyncType
- extends AbstractNamedCacheConfigurationBean
- implements Configuration.SyncConfig
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
replTimeout
@Dynamic
protected Long replTimeout
Configuration.SyncType
public Configuration.SyncType()
setReplTimeout
public void setReplTimeout(Long replTimeout)
replTimeout
public Configuration.SyncConfig replTimeout(Long replTimeout)
- Description copied from interface:
Configuration.SyncConfig
- This is the timeout used to wait for an acknowledgment when making a remote call, after
which the call is aborted and an exception is thrown.
- Specified by:
replTimeout
in interface Configuration.SyncConfig
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
Copyright © 2011 JBoss, a division of Red Hat. All Rights Reserved.