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

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 of false 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 to false, items published after the date and time specified in the sinceTime 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 in sinceTime is added to the page inventory list.

If bPageAge is set to true, pages are added to the page inventory list if the date they were created is before the date specified in sinceTime.

Returns

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

 

  Home > Contents > Index >

Oracle JAVA Reference
Copyright (c) 2013, 2019, Oracle and/or its affiliates. All rights reserved.