int function ( ) { if ( layerInfo == null ) { return 0 ; } ResourceInfo loc0 = layerInfo . getResource ( ) ; Integer loc1 = loc0 . getMetadata ( ) . get ( ResourceInfo . CACHE_AGE_MAX , Integer . class ) ; return loc1 == null ? 0 : loc1 ; }
this value is added the headers of generated maps , marking them as being both `` cache-able '' and designating the time for which they are to remain valid . the specific header added is `` cache-control : max-age = '' concode_field_sep int TYPE_REMOTE_VECTOR concode_elem_sep int TYPE_VECTOR concode_elem_sep int TYPE_WMS concode_elem_sep SimpleFeatureSource remoteFeatureSource concode_elem_sep String name concode_elem_sep String description concode_elem_sep FeatureTypeConstraint[] layerFeatureConstraints concode_elem_sep LayerInfo layerInfo concode_elem_sep Style style concode_elem_sep int TYPE_RASTER concode_elem_sep String label concode_elem_sep int type concode_field_sep void setName concode_elem_sep ResourceInfo getResource concode_elem_sep String getLabel concode_elem_sep String getName concode_elem_sep CoordinateReferenceSystem getCoordinateReferenceSystem concode_elem_sep GridCoverageReader getCoverageReader concode_elem_sep FeatureSource<? extends FeatureType,? extends Feature> getFeatureSource concode_elem_sep ReferencedEnvelope getBoundingBox concode_elem_sep String getDescription concode_elem_sep Style getStyle concode_elem_sep boolean isCachingEnabled concode_elem_sep void setLayerFeatureConstraints concode_elem_sep int hashCode concode_elem_sep SimpleFeatureSource getRemoteFeatureSource concode_elem_sep void setStyle concode_elem_sep LayerInfo getLayerInfo concode_elem_sep Style getDefaultStyle concode_elem_sep ReferencedEnvelope getLatLongBoundingBox concode_elem_sep FeatureTypeInfo getFeature concode_elem_sep List<String> getOtherStyleNames concode_elem_sep FeatureTypeConstraint[] getLayerFeatureConstraints concode_elem_sep int getType concode_elem_sep String getRegionateAttribute concode_elem_sep String getSRS concode_elem_sep boolean equals concode_elem_sep CoverageInfo getCoverage