Home > Contents > Index >
Expanded TOC | Accordion TOC | Annotated TOC | Index
CacheManager.setPagesByDate
Creates a page inventory list based on the date and time an item is published. This API has been deprecated and will not be supported after V6.1
Syntax
public int setPagesByDate(ICS ics, String sinceTime, boolean bPageAge)Parameters
ics- The ICS context.
sinceTime- A date and time in JDBC format--usually the date and time when you start to publish new content.
bPageAge- A value of
trueuses the age of the page to determine what gets deleted from the cache. A value offalseuses the age of the item to determine what gets deleted from the cache.
Description
The
setPagesByDatemethod creates a page inventory list based on the date and time when an item was published.If
bPageAgeis set tofalse, items published after the date and time specified in thesinceTimeparameter are deemed updated content. Any cached page that contains content that should be updated, and that has a created date earlier than the date specified insinceTimeis added to the page inventory list.If
bPageAgeis set totrue, pages are added to the page inventory list if the date they were created is before the date specified insinceTime.Returns
Returns the number of pages added to the page inventory list.
Home > Contents > Index > ![]()
Oracle JAVA Reference
Copyright (c) 2013, Oracle and/or its affiliates. All rights reserved.