Home > Contents > Index >
Expanded TOC   |    Accordion TOC   |    Annotated TOC   |    Index

 

CacheManager.setByCachedDate

This API is used to populate CacheManager based on the page or a blob creation time.

Syntax

Parameters

ics
The ICS context.

before
If the boolean parameter value is “true”, CacheManager is populated with pages and blobs that were created before the time specified by ctime.
If the boolean parameter value is “false”, CacheManager is populated with pages and blobs that were created after the time specified by ctime.

ctime
The time in JDBC format at which the pages or blobs were created.

Description

The setByCachedDate method populates the CacheManager with a list of pages based on their creation time. For page cache, this is the time at which page entered the cache. For Blobs, this is the time at which the blob was recorded as a dependency.

Returns

Returns the number of pages added to the page inventory list.

 

  Home > Contents > Index >

FatWire JAVA Reference
Copyright 2005 by FatWire Software
All rights reserved.