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
public int setByCachedDate(ICS ics, boolean before, String ctime)Parameters
ics
- The ICS context.
before
- If the boolean parameter value is \x93true\x94, CacheManager is populated with pages and blobs that were created before the time specified by ctime.
- If the boolean parameter value is \x93false\x94, 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 > ![]()
Oracle JAVA Reference
Copyright (c) 2013, 2015, Oracle and/or its affiliates. All rights reserved.