org.ehcache.xml.model
Class CacheLoaderWriterType

java.lang.Object
  extended by org.ehcache.xml.model.CacheLoaderWriterType

public class CacheLoaderWriterType
extends java.lang.Object

Java class for cache-loader-writer-type complex type.

The following schema fragment specifies the expected content contained within this class.

 <complexType name="cache-loader-writer-type">
   <complexContent>
     <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
       <sequence>
         <element name="class" type="{http://www.ehcache.org/v3}fqcn-type"/>
         <element name="write-behind" minOccurs="0">
           <complexType>
             <complexContent>
               <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
                 <sequence>
                   <choice>
                     <element name="batching">
                       <complexType>
                         <complexContent>
                           <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
                             <all>
                               <element name="max-write-delay" type="{http://www.ehcache.org/v3}time-type"/>
                             </all>
                             <attribute name="batch-size" use="required" type="{http://www.w3.org/2001/XMLSchema}positiveInteger" />
                             <attribute name="coalesce" type="{http://www.w3.org/2001/XMLSchema}boolean" default="false" />
                           </restriction>
                         </complexContent>
                       </complexType>
                     </element>
                     <element name="non-batching" type="{http://www.w3.org/2001/XMLSchema}anyType"/>
                   </choice>
                 </sequence>
                 <attribute name="concurrency" type="{http://www.w3.org/2001/XMLSchema}positiveInteger" default="1" />
                 <attribute name="size" type="{http://www.w3.org/2001/XMLSchema}positiveInteger" default="2147483647" />
                 <attribute name="thread-pool" type="{http://www.w3.org/2001/XMLSchema}string" />
               </restriction>
             </complexContent>
           </complexType>
         </element>
       </sequence>
     </restriction>
   </complexContent>
 </complexType>
 


Nested Class Summary
static class CacheLoaderWriterType.WriteBehind
          Java class for anonymous complex type.
 
Field Summary
protected  java.lang.String clazz
           
protected  CacheLoaderWriterType.WriteBehind writeBehind
           
 
Constructor Summary
CacheLoaderWriterType()
           
 
Method Summary
 java.lang.String getClazz()
          Gets the value of the clazz property.
 CacheLoaderWriterType.WriteBehind getWriteBehind()
          Gets the value of the writeBehind property.
 void setClazz(java.lang.String value)
          Sets the value of the clazz property.
 void setWriteBehind(CacheLoaderWriterType.WriteBehind value)
          Sets the value of the writeBehind property.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

clazz

protected java.lang.String clazz

writeBehind

protected CacheLoaderWriterType.WriteBehind writeBehind
Constructor Detail

CacheLoaderWriterType

public CacheLoaderWriterType()
Method Detail

getClazz

public java.lang.String getClazz()
Gets the value of the clazz property.

Returns:
possible object is String

setClazz

public void setClazz(java.lang.String value)
Sets the value of the clazz property.

Parameters:
value - allowed object is String

getWriteBehind

public CacheLoaderWriterType.WriteBehind getWriteBehind()
Gets the value of the writeBehind property.

Returns:
possible object is CacheLoaderWriterType.WriteBehind

setWriteBehind

public void setWriteBehind(CacheLoaderWriterType.WriteBehind value)
Sets the value of the writeBehind property.

Parameters:
value - allowed object is CacheLoaderWriterType.WriteBehind