Home > Contents > 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
true
uses the age of the page to determine what gets deleted from the cache. A value offalse
uses the age of the item to determine what gets deleted from the cache.
Description
The
setPagesByDate
method creates a page inventory list based on the date and time when an item was published.If
bPageAge
is set tofalse
, items published after the date and time specified in thesinceTime
parameter 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 insinceTime
is added to the page inventory list.If
bPageAge
is 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, 2018, Oracle and/or its affiliates. All rights reserved.