|
Oracle Fusion Middleware Java API Reference for Oracle Complex Event Processing 11g Release 1 (11.1.1.4.0) E14303-04 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
Implementations of this interface represent a caching system that may be used by Event Server applications. A caching system provides a named set of caches to applications, as well as the ability to register listeners, loaders, and stores for those caches. The primary interface used by applications to access a cache is the java.util.Map interface. Applications may cast a cache object to a caching system specific interface if they require access to cache features that are specific to a particular caching implementation.
Method Summary | |
java.util.Map |
getCache(java.lang.String name) Returns a named cache from the underlying caching system. |
java.util.Set |
getCacheNames() Return names of caches that are part of this caching system. |
java.lang.String |
getName() Return the name of this caching system. |
java.lang.String |
getProvider() Return the provider of this caching system. |
void |
setListeners(java.lang.String name, java.util.List listeners) sets listeners on a named cache in the underlying caching system. |
void |
setLoader(java.lang.String name, java.lang.Object loader) Sets a loader on the named cache in the underlying caching system. |
void |
setStore(java.lang.String name, java.lang.Object store) Sets a store on the named cache and the underlying caching system. |
Method Detail |
public java.lang.String getName()
public java.util.Map getCache(java.lang.String name)
name
- the name associated with the cachepublic java.util.Set getCacheNames()
public java.lang.String getProvider()
public void setListeners(java.lang.String name, java.util.List listeners)
name
- the name associated with the cachelisteners
- the listeners to setpublic void setLoader(java.lang.String name, java.lang.Object loader)
name
- the name associated with the cacheloader
- the loader to setpublic void setStore(java.lang.String name, java.lang.Object store)
name
- the name associated with the cachestore
- the store to set
|
Copyright © 2007, 2011 Oracle and/or its affiliates. All rights reserved. | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |