Oracle9
i
Application Server Oracle9iAS Object Caching Service for Java Developer's Guide
Release 1 (v1.0.2.2)
Part Number A88852-01
Library
Solution Area
Index
Contents
Title and Copyright Information
Send Us Your Comments
Preface
Audience
Organization
Related Documentation
Conventions
Documentation Accessibility
1 Object Caching Service for Java Concepts
Where Does the Object Caching Service for Java Fit?
Object Caching Service for Java Basic Architecture
Distributed Object Management
How the Object Caching Service for Java Works
Cache Organization
Object Caching Service for Java Features
2 Working with Objects and Attributes
Object Caching Service for Java Object Types
Memory Objects
Disk Objects
StreamAccess Objects
Pool Objects
Object Caching Service for Java Environment
Cache Regions
Cache Subregions
Cache Groups
Cache Object Attributes
Using Attributes Defined Before Object Loading
Using Attributes Defined Before or After Object Loading
Restrictions on Identifying Objects
3 Getting Started with Object Caching Service for Java
Importing the Caching Service
Defining a Cache Region
Defining a Cache Group
Defining a Cache Subregion
Defining and Using Cache Objects
Implementing a CacheLoader
Using CacheLoader Methods Within the Load Method
Invalidating Cache Objects
Destroying Cache Objects
Setting Cache Configuration Properties
Restrictions and Programming Pointers
4 Disk Cache and StreamAccess Objects
Working with Disk Objects
Configuring Properties for Using the Disk Cache
Setting the diskPath Configuration Property
Local and Distributed Disk Cache Objects
Local Objects
Distributed Objects
Adding Objects to the Disk Cache
Automatically Adding Objects
Explicitly Adding Objects
Using Objects That Only Reside on Disk Cache
Working with StreamAccess Objects
Creating a StreamAccess Object
5 Local and Distributed Caching
Running in Local Mode
Running in Distributed Mode
Configuring Properties for Distributed Mode
Setting the Distribute Configuration Property
Setting the DiscoveryAddress Configuration Property
Using Distributed Objects, Regions, Subregions, and Groups
Using the REPLY Attribute with Distributed Objects
Using SYNCRONIZE and SYNCHRONIZE_DEFAULT
Cached Object Consistency Levels
Using Local Objects
Propagating Changes Without Waiting for a Reply
Propagating Changes and Waiting for a Reply
Serializing Changes Across Multiple Caches
6 Advanced Cache Usage
Working with Pool Objects
Creating Pool Objects
Using Objects from a Pool
Implementing a Pool Object Instance Factory
Implementing a Cache Event Listener
Index
Copyright © 2001 Oracle Corporation.
All Rights Reserved.
Library
Solution Area
Index