org.infinispan.config
Class Configuration.UnsafeType

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

public static class Configuration.UnsafeType
extends AbstractNamedCacheConfigurationBean

Allows you to tune various unsafe or non-standard characteristics. Certain operations such as Cache.put() that are supposed to return the previous value associated with the specified key according to the java.util.Map contract will not fulfill this contract if unsafe toggle is turned on. Use with care. See details at http://www.jboss.org/community/wiki/infinispantechnicalfaqs

See Also:
Configuration reference, Serialized Form

Field Summary
protected  Boolean unreliableReturnValues
           
 
Fields inherited from class org.infinispan.config.AbstractNamedCacheConfigurationBean
cr
 
Fields inherited from class org.infinispan.config.AbstractConfigurationBean
EMPTY_PROPERTIES, log, overriddenConfigurationElements
 
Constructor Summary
Configuration.UnsafeType()
           
 
Method Summary
 void accept(ConfigurationBeanVisitor v)
           
 boolean equals(Object o)
           
 int hashCode()
           
 void setUnreliableReturnValues(Boolean unreliableReturnValues)
           
 
Methods inherited from class org.infinispan.config.AbstractNamedCacheConfigurationBean
clone, hasComponentStarted, inject
 
Methods inherited from class org.infinispan.config.AbstractConfigurationBean
testImmutability, toTypedProperties, toTypedProperties, uc, willUnmarshall
 
Methods inherited from class java.lang.Object
finalize, getClass, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

unreliableReturnValues

protected Boolean unreliableReturnValues
Constructor Detail

Configuration.UnsafeType

public Configuration.UnsafeType()
Method Detail

setUnreliableReturnValues

public void setUnreliableReturnValues(Boolean unreliableReturnValues)

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


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