Save This Page
Home » openejb-3.1.2-src » org.apache » openejb » jee » jba » [javadoc | source]
    1   /**
    2    * Licensed to the Apache Software Foundation (ASF) under one or more
    3    * contributor license agreements.  See the NOTICE file distributed with
    4    * this work for additional information regarding copyright ownership.
    5    * The ASF licenses this file to You under the Apache License, Version 2.0
    6    * (the "License"); you may not use this file except in compliance with
    7    * the License.  You may obtain a copy of the License at
    8    *
    9    *     http://www.apache.org/licenses/LICENSE-2.0
   10    *
   11    * Unless required by applicable law or agreed to in writing, software
   12    * distributed under the License is distributed on an "AS IS" BASIS,
   13    * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
   14    * See the License for the specific language governing permissions and
   15    * limitations under the License.
   16    */
   17   
   18   package org.apache.openejb.jee.jba;
   19   
   20   import javax.xml.bind.annotation.XmlAccessType;
   21   import javax.xml.bind.annotation.XmlAccessorType;
   22   import javax.xml.bind.annotation.XmlElement;
   23   import javax.xml.bind.annotation.XmlRootElement;
   24   import javax.xml.bind.annotation.XmlType;
   25   
   26   
   27   /**
   28    * 
   29    */
   30   @XmlAccessorType(XmlAccessType.FIELD)
   31   @XmlType(name = "", propOrder = {
   32       "minCapacity",
   33       "maxCapacity",
   34       "removerPeriod",
   35       "maxBeanLife",
   36       "overagerPeriod",
   37       "maxBeanAge",
   38       "resizerPeriod",
   39       "maxCacheMissPeriod",
   40       "minCacheMissPeriod",
   41       "cacheLoadFactor",
   42       "flushEnabled"
   43   })
   44   @XmlRootElement(name = "cache-policy-conf")
   45   public class CachePolicyConf {
   46   
   47       @XmlElement(name = "min-capacity")
   48       protected String minCapacity;
   49       @XmlElement(name = "max-capacity")
   50       protected String maxCapacity;
   51       @XmlElement(name = "remover-period")
   52       protected String removerPeriod;
   53       @XmlElement(name = "max-bean-life")
   54       protected String maxBeanLife;
   55       @XmlElement(name = "overager-period")
   56       protected String overagerPeriod;
   57       @XmlElement(name = "max-bean-age")
   58       protected String maxBeanAge;
   59       @XmlElement(name = "resizer-period")
   60       protected String resizerPeriod;
   61       @XmlElement(name = "max-cache-miss-period")
   62       protected String maxCacheMissPeriod;
   63       @XmlElement(name = "min-cache-miss-period")
   64       protected String minCacheMissPeriod;
   65       @XmlElement(name = "cache-load-factor")
   66       protected String cacheLoadFactor;
   67       @XmlElement(name = "flush-enabled")
   68       protected String flushEnabled;
   69   
   70       /**
   71        * Gets the value of the minCapacity property.
   72        * 
   73        * @return
   74        *     possible object is
   75        *     {@link String }
   76        *     
   77        */
   78       public String getMinCapacity() {
   79           return minCapacity;
   80       }
   81   
   82       /**
   83        * Sets the value of the minCapacity property.
   84        * 
   85        * @param value
   86        *     allowed object is
   87        *     {@link String }
   88        *     
   89        */
   90       public void setMinCapacity(String value) {
   91           this.minCapacity = value;
   92       }
   93   
   94       /**
   95        * Gets the value of the maxCapacity property.
   96        * 
   97        * @return
   98        *     possible object is
   99        *     {@link String }
  100        *     
  101        */
  102       public String getMaxCapacity() {
  103           return maxCapacity;
  104       }
  105   
  106       /**
  107        * Sets the value of the maxCapacity property.
  108        * 
  109        * @param value
  110        *     allowed object is
  111        *     {@link String }
  112        *     
  113        */
  114       public void setMaxCapacity(String value) {
  115           this.maxCapacity = value;
  116       }
  117   
  118       /**
  119        * Gets the value of the removerPeriod property.
  120        * 
  121        * @return
  122        *     possible object is
  123        *     {@link String }
  124        *     
  125        */
  126       public String getRemoverPeriod() {
  127           return removerPeriod;
  128       }
  129   
  130       /**
  131        * Sets the value of the removerPeriod property.
  132        * 
  133        * @param value
  134        *     allowed object is
  135        *     {@link String }
  136        *     
  137        */
  138       public void setRemoverPeriod(String value) {
  139           this.removerPeriod = value;
  140       }
  141   
  142       /**
  143        * Gets the value of the maxBeanLife property.
  144        * 
  145        * @return
  146        *     possible object is
  147        *     {@link String }
  148        *     
  149        */
  150       public String getMaxBeanLife() {
  151           return maxBeanLife;
  152       }
  153   
  154       /**
  155        * Sets the value of the maxBeanLife property.
  156        * 
  157        * @param value
  158        *     allowed object is
  159        *     {@link String }
  160        *     
  161        */
  162       public void setMaxBeanLife(String value) {
  163           this.maxBeanLife = value;
  164       }
  165   
  166       /**
  167        * Gets the value of the overagerPeriod property.
  168        * 
  169        * @return
  170        *     possible object is
  171        *     {@link String }
  172        *     
  173        */
  174       public String getOveragerPeriod() {
  175           return overagerPeriod;
  176       }
  177   
  178       /**
  179        * Sets the value of the overagerPeriod property.
  180        * 
  181        * @param value
  182        *     allowed object is
  183        *     {@link String }
  184        *     
  185        */
  186       public void setOveragerPeriod(String value) {
  187           this.overagerPeriod = value;
  188       }
  189   
  190       /**
  191        * Gets the value of the maxBeanAge property.
  192        * 
  193        * @return
  194        *     possible object is
  195        *     {@link String }
  196        *     
  197        */
  198       public String getMaxBeanAge() {
  199           return maxBeanAge;
  200       }
  201   
  202       /**
  203        * Sets the value of the maxBeanAge property.
  204        * 
  205        * @param value
  206        *     allowed object is
  207        *     {@link String }
  208        *     
  209        */
  210       public void setMaxBeanAge(String value) {
  211           this.maxBeanAge = value;
  212       }
  213   
  214       /**
  215        * Gets the value of the resizerPeriod property.
  216        * 
  217        * @return
  218        *     possible object is
  219        *     {@link String }
  220        *     
  221        */
  222       public String getResizerPeriod() {
  223           return resizerPeriod;
  224       }
  225   
  226       /**
  227        * Sets the value of the resizerPeriod property.
  228        * 
  229        * @param value
  230        *     allowed object is
  231        *     {@link String }
  232        *     
  233        */
  234       public void setResizerPeriod(String value) {
  235           this.resizerPeriod = value;
  236       }
  237   
  238       /**
  239        * Gets the value of the maxCacheMissPeriod property.
  240        * 
  241        * @return
  242        *     possible object is
  243        *     {@link String }
  244        *     
  245        */
  246       public String getMaxCacheMissPeriod() {
  247           return maxCacheMissPeriod;
  248       }
  249   
  250       /**
  251        * Sets the value of the maxCacheMissPeriod property.
  252        * 
  253        * @param value
  254        *     allowed object is
  255        *     {@link String }
  256        *     
  257        */
  258       public void setMaxCacheMissPeriod(String value) {
  259           this.maxCacheMissPeriod = value;
  260       }
  261   
  262       /**
  263        * Gets the value of the minCacheMissPeriod property.
  264        * 
  265        * @return
  266        *     possible object is
  267        *     {@link String }
  268        *     
  269        */
  270       public String getMinCacheMissPeriod() {
  271           return minCacheMissPeriod;
  272       }
  273   
  274       /**
  275        * Sets the value of the minCacheMissPeriod property.
  276        * 
  277        * @param value
  278        *     allowed object is
  279        *     {@link String }
  280        *     
  281        */
  282       public void setMinCacheMissPeriod(String value) {
  283           this.minCacheMissPeriod = value;
  284       }
  285   
  286       /**
  287        * Gets the value of the cacheLoadFactor property.
  288        * 
  289        * @return
  290        *     possible object is
  291        *     {@link String }
  292        *     
  293        */
  294       public String getCacheLoadFactor() {
  295           return cacheLoadFactor;
  296       }
  297   
  298       /**
  299        * Sets the value of the cacheLoadFactor property.
  300        * 
  301        * @param value
  302        *     allowed object is
  303        *     {@link String }
  304        *     
  305        */
  306       public void setCacheLoadFactor(String value) {
  307           this.cacheLoadFactor = value;
  308       }
  309   
  310       /**
  311        * Gets the value of the flushEnabled property.
  312        * 
  313        * @return
  314        *     possible object is
  315        *     {@link String }
  316        *     
  317        */
  318       public String getFlushEnabled() {
  319           return flushEnabled;
  320       }
  321   
  322       /**
  323        * Sets the value of the flushEnabled property.
  324        * 
  325        * @param value
  326        *     allowed object is
  327        *     {@link String }
  328        *     
  329        */
  330       public void setFlushEnabled(String value) {
  331           this.flushEnabled = value;
  332       }
  333   
  334   }

Save This Page
Home » openejb-3.1.2-src » org.apache » openejb » jee » jba » [javadoc | source]