Release 10.1A: OpenEdge Development:
Progress Dynamics Advanced Development

> ## clearCache

> Use this function to clear the cache.

> A shared cache (active) requires logic to deal with SDO instances running when you clear the cache. Cached, shared temp-tables still in use by at least one instance will not be physically deleted. Instead, they will be marked as dirty. With this scheme, running SDO instances continue to operate. Any new request for data will refresh the cache. The dirty cache will be physically deleted when the last instance that shares its data is destroyed.

> Syntax
>     clearCache (Key)

> Parameters:

> - Key — Identifier. Supports `‘*’` as a signal to clear all cached data.

> Note: A new instance will not share data with old instances that are running with a dirty cache.

Copyright © 2005 Progress Software Corporation www.progress.com Voice: (781) 280-4000 Fax: (781) 280-4095