1 50 51 package org.openlaszlo.iv.flash.cache; 52 53 import java.util.*; 54 55 public final class CacheSettings { 56 57 private int maxSize = 0; 58 private long defaultExpire = 0; 59 private boolean recycle = true; 60 private boolean force = false; 61 private boolean checkModifiedSince = false; 62 63 public CacheSettings() { 64 } 65 66 public int getMaxSize() { return maxSize; } 67 public void setMaxSize( int maxSize ) { this.maxSize = maxSize; } 68 69 public long getDefaultExpire() { return defaultExpire; } 70 public void setDefaultExpire( long defaultExpire ) { this.defaultExpire = defaultExpire; } 71 72 public boolean isRecycle() { return recycle; } 73 public void setRecycle( boolean r ) { this.recycle = r; } 74 75 public boolean isForce() { return force; } 76 public void setForce( boolean f ) { this.force = f; } 77 78 public boolean isCheckModifiedSince() { return this.checkModifiedSince; } 79 public void setCheckModifiedSince( boolean c ) { this.checkModifiedSince = c; } 80 81 } 82 | Popular Tags |