Class CacheControl
- java.lang.Object
- 
- com.google.gerrit.extensions.restapi.CacheControl
 
- 
 public class CacheControl extends Object 
- 
- 
Nested Class SummaryNested Classes Modifier and Type Class Description static classCacheControl.Type
 - 
Field SummaryFields Modifier and Type Field Description static CacheControlNONE
 - 
Method SummaryAll Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description longgetAge()CacheControl.TypegetType()TimeUnitgetUnit()booleanisMustRevalidate()static CacheControlPRIVATE(long age, TimeUnit unit)static CacheControlPUBLIC(long age, TimeUnit unit)CacheControlsetMustRevalidate()
 
- 
- 
- 
Field Detail- 
NONEpublic static final CacheControl NONE 
 
- 
 - 
Method Detail- 
PUBLICpublic static CacheControl PUBLIC(long age, TimeUnit unit) 
 - 
PRIVATEpublic static CacheControl PRIVATE(long age, TimeUnit unit) 
 - 
getTypepublic CacheControl.Type getType() 
 - 
getAgepublic long getAge() 
 - 
getUnitpublic TimeUnit getUnit() 
 - 
isMustRevalidatepublic boolean isMustRevalidate() 
 - 
setMustRevalidatepublic CacheControl setMustRevalidate() 
 
- 
 
-