[infinispan-commits] Infinispan SVN: r1778 - trunk/core/src/main/java/org/infinispan/config.

infinispan-commits at lists.jboss.org infinispan-commits at lists.jboss.org
Tue May 11 09:36:24 EDT 2010


Author: manik.surtani at jboss.com
Date: 2010-05-11 09:36:23 -0400 (Tue, 11 May 2010)
New Revision: 1778

Modified:
   trunk/core/src/main/java/org/infinispan/config/Configuration.java
Log:
docs

Modified: trunk/core/src/main/java/org/infinispan/config/Configuration.java
===================================================================
--- trunk/core/src/main/java/org/infinispan/config/Configuration.java	2010-05-11 12:56:39 UTC (rev 1777)
+++ trunk/core/src/main/java/org/infinispan/config/Configuration.java	2010-05-11 13:36:23 UTC (rev 1778)
@@ -317,10 +317,16 @@
       setCacheMode(cacheMode);
    }
 
+   /**
+    * Eviction thread wake up interval, in milliseconds.
+    */
    public long getEvictionWakeUpInterval() {
       return eviction.wakeUpInterval;
    }
 
+   /**
+    * Eviction thread wake up interval, in milliseconds.
+    */
    public void setEvictionWakeUpInterval(long evictionWakeUpInterval) {
       this.eviction.setWakeUpInterval(evictionWakeUpInterval);
    }
@@ -365,18 +371,30 @@
       this.eviction.setMaxEntries(evictionMaxEntries);
    }
 
+   /**
+    * Expiration lifespan, in milliseconds
+    */
    public long getExpirationLifespan() {
       return expiration.lifespan;
    }
 
+   /**
+    * Expiration lifespan, in milliseconds
+    */
    public void setExpirationLifespan(long expirationLifespan) {
       this.expiration.setLifespan(expirationLifespan);
    }
 
+   /**
+    * Expiration max idle time, in milliseconds
+    */
    public long getExpirationMaxIdle() {
       return expiration.maxIdle;
    }
 
+   /**
+    * Expiration max idle time, in milliseconds
+    */      
    public void setExpirationMaxIdle(long expirationMaxIdle) {
       this.expiration.setMaxIdle(expirationMaxIdle);
    }
@@ -1225,12 +1243,12 @@
       /** The serialVersionUID */
       private static final long serialVersionUID = 5757161438110848530L;
 
-      /** @configRef desc="Maximum lifespan of a cache entry, after which the entry is expired cluster-wide.  -1 means the entries never expire.
+      /** @configRef desc="Maximum lifespan of a cache entry, after which the entry is expired cluster-wide, in milliseconds.  -1 means the entries never expire.
        *                   <br /><br />Note that this can be overriden on a per-entry bassi by using the Cache API."
        */
       protected Long lifespan=-1L;
 
-      /** @configRef desc="Maximum idle time a cache entry will be maintained in the cache. If the idle time 
+      /** @configRef desc="Maximum idle time a cache entry will be maintained in the cache, in milliseconds. If the idle time
        *             is exceeded, the entry will be expired cluster-wide.  -1 means the entries never expire.
        *             <br /><br />Note that this can be overriden on a per-entry bassi by using the Cache API."
        */
@@ -1284,7 +1302,7 @@
       /** The serialVersionUID */
       private static final long serialVersionUID = -1248563712058858791L;
 
-      /** @configRef desc="Interval between subsequent eviction runs. If you wish to disable the periodic eviction process
+      /** @configRef desc="Interval between subsequent eviction runs, in milliseconds. If you wish to disable the periodic eviction process
        *             altogether, set wakeupInterval to -1."
        */
       protected Long wakeUpInterval=5000L;



More information about the infinispan-commits mailing list