Skip to content

Commit

Permalink
added comments
Browse files Browse the repository at this point in the history
  • Loading branch information
kosch authored and galderz committed Mar 2, 2012
1 parent c862eec commit 0ce2eb1
Showing 1 changed file with 2 additions and 2 deletions.
Expand Up @@ -45,15 +45,15 @@ public int invalidationThreshold() {
}

/**
* Maximum lifespan of an entry placed in the L1 cache.
* Maximum lifespan of an entry placed in the L1 cache. Default 10 minutes.
*/
public long lifespan() {
return lifespan;
}

/**
* If true, entries removed due to a rehash will be moved to L1 rather than being removed
* altogether.
* altogether. Enabled by default.
*/
public boolean onRehash() {
return onRehash;
Expand Down

0 comments on commit 0ce2eb1

Please sign in to comment.