Skip navigation links

Oracle Fusion Middleware Java API Reference for Oracle TopLink
11g Release 1 (11.1.1)

E28847-01


oracle.eclipselink.coherence.querying
Class DontMaintainCacheRedirector

java.lang.Object
  extended by oracle.eclipselink.coherence.integrated.internal.querying.CoherenceRedirector
      extended by oracle.eclipselink.coherence.querying.DontMaintainCacheRedirector

All Implemented Interfaces:
java.io.Serializable, QueryRedirector

public class DontMaintainCacheRedirector
extends CoherenceRedirector
implements QueryRedirector

Purpose: This Query Redirector should be set as the Default QueryRedirector on any class that does not need to access the cache. This should be considered a performance optimization. This Redirector can be set on the class descriptor through a Session or Descriptor customizer or annotations.

Since:
Oracle TopLink 11g (11.1.1.0.0)
Author:
gorke
See Also:
setDefaultQueryRedirector(QueryRedirector), QueryRedirectors, Serialized Form

Field Summary

 

Fields inherited from class oracle.eclipselink.coherence.integrated.internal.querying.CoherenceRedirector
filterFactory, namedCache, shouldTranslatePKs, translationDelegate

 

Constructor Summary
DontMaintainCacheRedirector()
           

 

Method Summary
 java.lang.Object invokeQuery(DatabaseQuery query, Record arguments, Session session)
          REQUIRED: Perform the query.

 

Methods inherited from class oracle.eclipselink.coherence.integrated.internal.querying.CoherenceRedirector
getFilterFactory, getNamedCache, getTranslationFailureDelegate, shouldTranslatePKs

 

Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait

 

Constructor Detail

DontMaintainCacheRedirector

public DontMaintainCacheRedirector()

Method Detail

invokeQuery

public java.lang.Object invokeQuery(DatabaseQuery query,
                                    Record arguments,
                                    Session session)
Description copied from interface: QueryRedirector
REQUIRED: Perform the query. This must execute the query base on the arguments and return a valid result for the query.
Specified by:
invokeQuery in interface QueryRedirector

Skip navigation links

Copyright © 1998, 2012, Oracle. All Rights Reserved.