Reusable dynamic cache Lookup

Hi, I have a problem in which i need to hit the lookup twice using a dynamic lookup as there can be redundant data (multiple changes).The problem is that i need to check two columns of the source table with a single column of the lookup to decide whether it is an old entry or a new one. For ex.  SourceTable a                                       Lookup/Tgt Table (Desired Output)           Clo1 Col2 Col3                             Col1     GrpID
1       AB                                        AB          12       PQ     AB                              PQ          13       LM                                        LM          24       TU     PQ                              TU          1 The desired output here will be AB/PQ/TU being assigned to the same group (Using sequence ID in dynamic cache) where as LM will have a different group.  The problem here is that Col2 and Col3 needs to be compared with the lookup table to generate the lookup table. But since i have used dynamic cache and sequencId for Group Id, when it runs for the above example, dynamic lookup with Col2 comparison and Col3 comparison (Have used a reuable transformation) tend to have separate sequence ID thus I am having duplicate Col1 with different group ID which should not be the case. Kindly advice for the same

Hi,
Thanks for your post.
The Microsoft Windows Dynamic Cache Service is a sample service that demonstrates one strategy to use these APIs to minimize the effects of this issue.
https://support.microsoft.com/kb/976618?wa=wsignin1.0
We did not recommand installing any other services if  Hyper-v role installed in windows server 2012,
Regards.
Vivian Wang

Similar Messages

  • Cache lookup failed

    Dear Experts,
    I am stuck on the error :*' ERROR [HY000] ERROR: fmgr_info: function 0: cache lookup failed'* while calling a stored procedure(SP).
    The function in the SP run successfully but while calling the same SP from call function then it is executing this type of error.
    Please suggest
    Best Regards,
    Manish

    hi guys,
    sorry where to post this issue.But i am trying this in netezza.
    dear p0428,
    my calling function is
    call AEI_OPS_MD_STEP_CHECK_PROC(1,1,1,1)
    and the called function is :
    CREATE OR REPLACE PROCEDURE AEI_OPS_MD_STEP_CHECK_PROC(INTEGER, INTEGER, INTEGER, INTEGER)
    RETURNS integer
    LANGUAGE NZPLSQL AS
    BEGIN_PROC
    DECLARE
    pAPP_ID ALIAS FOR $1;
    pSUB_ID ALIAS FOR $2;
    pJOB_ID ALIAS FOR $3;
    pSTEP_ID ALIAS FOR $4;
    STATUS_CHECK INTEGER;
    BEGIN
    SELECT CASE DSL.PROC_STATUS
    WHEN 0 THEN 0
    WHEN 1 THEN 1
    WHEN 2 THEN 1
    ELSE 3 END
    INTO STATUS_CHECK
    FROM DEVELOPER.AEI_APPLICATION DA
    JOIN DEVELOPER.AEI_SUBJECT_AREA DSA
    ON DA.APPLICATION_ID = DSA.APPLICATION_ID
    AND DA.APPLICATION_ID = pAPP_ID
    AND DSA.SUBJECT_AREA_ID = pSUB_ID
    JOIN DEVELOPER.AEI_JOB DJ
    ON DSA.APPLICATION_ID = DJ.APPLICATION_ID
    AND DSA.SUBJECT_AREA_ID = DJ.SUBJECT_AREA_ID
    AND DJ.JOB_ID = pJOB_ID
    JOIN DEVELOPER.AEI_STEP DS
    ON DJ.APPLICATION_ID = DS.APPLICATION_ID
    AND DJ.SUBJECT_AREA_ID = DS.SUBJECT_AREA_ID
    AND DJ.JOB_ID = DS.JOB_ID
    AND DS.STEP_ID = pSTEP_ID
    LEFT OUTER JOIN DEVELOPER.AEI_STEP_LOG DSL
    ON DS.APPLICATION_ID = DSL.APPLICATION_ID
    AND DS.SUBJECT_AREA_ID = DSL.SUBJECT_AREA_ID
    AND DS.JOB_ID = DSL.JOB_ID
    AND DS.STEP_ID = DSL.STEP_ID
    AND DA.CURRENT_LOG_ID = DSL.LOG_ID
    Return 1;
    END;
    END_PROC;
    where DA,DSA,DJ,DSL are the tables
    Help is hugely appreciable
    manish

  • Windows Server 2008 R2 SP1 Dynamic Cache tool

    I have a memory leak on my Windows Server 2008 R2 SP1(x64) server. I used RamMap to find where the memory was going and I found that it is going to a Mapped File.
    I read an article, kb976618, about Dynamic Cache but it says that in order to get the tool for Server 2008 R2 SP1, you have to contact Microsoft Support and in order to do that, you have to give them a credit card or have a service contract.
    I tried the link in the article anyway and got a download email from Microsoft that looked like it was for my operating system. I installed it per the instructions but it still says that it cannot start the service because it is for a previous version.
    Can anyone help with this? I did notice that the download included a few different folders that all have the DynCach.exe file. Maybe I'm using the wrong one?

    Hi,
    Please click
    here to contact me for the dyncache file for 2008 r2. I will send you the file directly.
    Regards,
    Arthur Li
    TechNet Community Support

  • Cached Lookup error in GWia log ???

    Response: 550 No such user (imailserver) Cached lookup ...
    Above is the error I'm getting in my GWIA logs ... below is more in Diagnostic mode on the GWIA.
    14:27:44 1FD MSG 1907 Analyzing result file: servername/vol01:\DOM03\WPGATE\GWIA\result\rbf2a3c3.026
    14:27:44 1FD {SmtpResl:ProcessErrors
    14:27:44 1FD MSG 1907 Command: xyzp.gc.ca
    14:27:44 1FD MSG 1907 Response: 220 ************************************************** ********
    14:27:44 1FD MSG 1907 Command: EHLO xyzp.gc.ca
    14:27:44 1FD MSG 1907 Response: 250 ok
    14:27:44 1FD MSG 1907 Command: M:<>
    14:27:44 1FD MSG 1907 Response: 250 Command MAIL OK
    14:27:44 1FD MSG 1907 Detected error on SMTP command
    14:27:44 1FD MSG 1907 Command: RCPT TO:
    14:27:44 1FD MSG 1907 Response: 550 No such user (imailserver) Cached lookup
    14:27:44 1FD MSG 1907 Command: DATA
    14:27:44 1FD MSG 1907 Response: 221 Command QUIT, disconnecting
    The (imailserver) entry above is what we use to grab POP mail from our provider (It's a product called iMailDS).
    D

    Ok then ... I traced it back to the iMailDS. It was a (a few) bad .MSG messages that seemed to be stuck in the Output directory of iMailDS. Once we removed them all was back to normal.
    Thanks ...
    >>>
    From: DZanre<dzanre@no_mx.forums.novell.com>
    To:novell.support.groupwise.7x.gwia
    Date: 2010-05-19 8:41 AM
    Subject: Re: Cached Lookup error in GWia log ???
    > The (imailserver) entry above is what we use to grab POP
    > mail from our provider (It's a product called iMailDS).
    This is what is generating this error though. The GWIA log is just
    reporting what iMailDS tells it.
    Danita - http://www.caledonia.net.blog

  • Dynamic Cache Service for Windows Server 2008 R2

    We have problem with Metafile memory overflow on our server that described on a lot of topics.
    I need DynCache for win2008r2 server.
    Could you please help us with this issue?

    By design.  The memory management algorithms in Windows 7 and Windows Server 2008 R2 operating systems were updated to address many file caching problems
    found in previous versions of Windows.You do not need to install this additional service.
    http://blogs.msdn.com/b/ntdebugging/archive/2009/02/06/microsoft-windows-dynamic-cache-service.aspx
    http://blogs.msdn.com/b/ntdebugging/archive/2007/11/27/too-much-cache.aspx
    http://www.arabitpro.com

  • Cache - LookUp values

    Hi,
    Is there any possibility to cache the values when we used Lookup's in XI. So that we can not poll the database everytime in production environment.
    Can anybody share their valueable experiences with me.
    -Esha

    Hi,
    See the below links
    /people/sravya.talanki2/blog/2005/12/02/sxicache--ripped-off - SXI_CACHE - Ripped Off
    http://searchsap.techtarget.com/ sDefinition/0,,sid21_gci852485,00.html - 45k - Cached - Similar pages
    XI Runtime cache error: Cache contents are obsolete
    Cache Refresh - SAI_CACHE_REFRESH
    /people/sravya.talanki2/blog/2005/11/03/cache-refresh-errors--new-phenomena
    How To… Handle XPI Caches in SAP NetWeaver
    2004s https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/c0332b2a-eb97-2910-b6ba-dbe52a01be34
    also look at this forum link
    XI lookups - Cache - Performance Issues
    Please reward points if it helps
    Thanks
    Vikranth
    Edited by: Khimavath Vikranth on Jun 6, 2008 3:19 AM

  • Dynamic ejb lookup

    Hello Community,
    Question for u :)
    I have a necessity to dynamically lookup for ejbs' and call methods on them. I am using EJB 1.0 on VAJ. I have the string values of the home, remote and the JNDI names. I need to read those values and lookup for the bean, and call methods. I have this.
    String h = "MyEjbHome";
    String r = "MyEjbRemote";
    String jndi = "MyEjb";
    I need to do something like this..
    //parenthesis on LHS is just to explain the pbm
    (MyEjbHome) home = jndicontextfactory.lookup(jndi, Class.forName(h));
    (MyEjbRemote) remote = home.create();
    remote.myMethod();
    Now if u visualize the problem here, on the left hand side how can i dynamically give the type as (MyEjbHome) or (MyEjbRemote) when all I know is their names which are strings?
    Please share ur knowledge. Thanks

    Hi I tried this and it worked. But the thing is even though I tried PortableRemoteObject.narrow() I was still gettting ClassCastException. So I had to use reflection. Now the code looks something like this, and it works.
    // child home
    Object obj = newContext.lookup(childJNDI);
    // get the create method
    Method m = obj.getClass().getMethod("create", null);
    // create the remote inteface for child
    Object objRemote = m.invoke(obj, null);
    // cast the child remote to the parent remote
    ParentRemote re = (ParentRemote) PortableRemoteObject.narrow(objRemote, ParentRemote.class);
    re.soSomething();
    Thanks much for your help. I appreciate it.
    look at this:
    http://forums.java.sun.com/thread.jsp?forum=13&thread=2
    8593

  • Dynamic cache instantiation parameters

    I need to offer "customers" of my cloud/cache services the ability to specify some of the properties they want in caches they create.
    I am operating with the restriction that we cannot restart cluster members just for the purpose of rereading the cache-config.xml
    files. I am using Coherence Grid 3.5.2 and java.
    By way of example, let me refer to the coherence examples provided at
    [http://wiki.tangosol.com/display/COH35UG/Examples|http://wiki.tangosol.com/display/COH35UG/Examples]
    In 'examples-cache-config.xml' from that set of examples is the following scheme:
    <distributed-scheme>
    <scheme-name>ExamplesPartitionedPofScheme</scheme-name>
    <service-name>PartitionedPofCache</service-name>
    <serializer>
    <class-name>com.tangosol.io.pof.ConfigurablePofContext</class-name>
    <init-params>
    <init-param>
    <param-type>String</param-type>
    <param-value>examples-pof-config.xml</param-value>
    </init-param>
    </init-params>
    </serializer>
    <backing-map-scheme>
    <local-scheme>
    <high-units>250M</high-units>
    <unit-calculator>binary</unit-calculator>
    </local-scheme>
    </backing-map-scheme>
    <autostart>true</autostart>
    </distributed-scheme>
    What I want to do is create, at runtime, a relatively arbitrary set of caches
    that will have differing values for <high-units> and related parameters.
    Presumably I need to code my own calls to the LocalCache() constructor.
    That would also let me dynamically select eviction policies and unit calculators
    (via the LocalCache's implementation of ConfigurableCacheMap's setEvictionPolicy() and setUnitCalculator() methods).
    Can someone show me how to do this with the Coherence examples?
    Ultimately I need to be able to specify, for all maps on all distributed caches I support for my "customers",
    the low and high water marks, eviction policies, and perhaps some other properties, and ensure that all cluster members
    participate in identical handling of the resulting named cache to the extent that they're servicing keys for that cache.
    I tried taking my own application <distributed-scheme> definitions and constructing various
    frontMap, backMap, NearCache, NamedCache, and related goodies to assemble the cache on the fly,
    and I'm in /way/ over my head. I haven't found any online documentation on how to assemble
    things like ObserveableSplittingBackingMap objects into a hierarchy of Coherence objects.
    The logical hierarchy of Cluster->Member->Service->NamedCache elements doesn't seem to map
    well to code for assembling each of those pieces.
    Also note: the Coherence 3.5.2 docs state that <lh-file-manager> maps to com.tangosol.io.lh.LHBinaryStoreManager class,
    but there is no such class documented in the javadocs (though I see that class in the coherence.jar file).
    Thanks.

    So all I can really tweak are the high-units, low-units, and any other RW-flagged attributes of the CacheMBean types.Yes, this is correct in general.
    When I call these MBean interfaces, it has to be after the cache is created, and will affect the named cache wherever it lives
    on the cluster w.r.t. partition presence, LocalCache frontmaps, etc?These high/low unit modifications must be performed on each individual MBean representing the backing map in each storage node. The same goes for any nodes that are using near caches.
    No way to make cache eviction policy dynamic except to perhaps implement my own custom eviction class and have that
    observe some attribute I bind somewhere that's specific to a cache instance?I believe you can change the eviction policy at runtime (LRU vs LFU, etc) - if you need more control over what gets evicted then you should consider a custom eviction policy.
    I'm not very familiar with JMX. To do the high-unit low-unit tweaking must I now enable JMX where I didn't before?
    I noticed that for my testing I needed to specify -Dcom.sun.management.jmxremote and one or both of -Dtangosol.coherence.management=all -Dtangosol.coherence.management.remote=true.
    Is there a way to set high/low unit values if I'm not enabling JMX? Do I suffer any performance penalties if I enable JMX?Most of our customers in production run with JMX as it allows for statistics gathering and diagnostics of the cluster at runtime. There is no overhead in gathering the stats as this happens in the background anyway, and there is little overhead in enabling the gathering of these statistics and viewing via an MBeanServer.
    JMX is the simplest way (and the supported method) of modifying high units. If you have to do it using code, you can execute the following in the storage node to grab the backing map and modify high units. Note that this technique may not work with future versions of Coherence:
    String sCacheService = "DistributedCache";
    String sCacheName    = "test-cache";
    // ensures that the cache service is running
    CacheFactory.getCache(sCacheName);
    // grab the backing map
    CacheService service  = (CacheService) CacheFactory.getCluster().getService(sCacheService);
    LocalCache backingMap = (LocalCache)((DefaultConfigurableCacheFactory.Manager)
            service.getBackingMapManager()).getBackingMap(sCacheName);
    // modify high units
    backingMap.setHighUnits(1000);Thanks,
    Patrick

  • OIM dynamically loading lookup values

    hi.
    we have extended the Create User form with som additional attributes. these are defined as lookup fields. what we want to accomplish is to dynamically populate the lookup values based on the value of the previous lookup field. e.g. if we choose "Car" in lookup A a set of car manufacturers will be populated in lookup B, but if we choose "Boat" in lookup A a set of boat manufacturers will be populated in lookup B.
    any ideas?
    //tb

    You would have to use a pre-update entity adapter to populate the rest of the values based on an initial selection. It won't be a dynamic looking like on a request if you use a Lookup SQL Query using the different fields that have already been selected.
    -Kevin

  • Creating dynamic caches from static config

    Hi, we normally create our caches using static config, using the std xml config.
    Example, in our cache-mapping, we'll have a cache like the below:
    <cache-name>account</cache-name>
                <scheme-name>distributed-persistent-write-thru</scheme-name>
                <init-params>
                    <init-param>
                        <param-name>cache-store-class-name</param-name>
                        <param-value>spring-bean:accountCacheStore</param-value>
                    </init-param>
                    <init-param>
                        <param-name>expiry-time</param-name>
                        <param-value>7d</param-value>
                    </init-param>
                    <init-param>
                        <param-name>high-units-param</param-name>
                        <param-value>6075000</param-value>
                    </init-param>
                    <init-param>
                        <param-name>low-units-param</param-name>
                        <param-value>4556251</param-value>
                    </init-param>
                </init-params>And in our schemes, we'll have something like:
       <distributed-scheme>
                <scheme-name>distributed-persistent-write-thru</scheme-name>
                <service-name>DistributedWriteThrough</service-name>
                <backing-map-scheme>
                    <read-write-backing-map-scheme>
                        <class-name>com.mycom.coherence.ExceptionLoggingBackingMap</class-name>
                        <internal-cache-scheme>
                            <local-scheme>
                                <scheme-ref>local-hybrid-eviction</scheme-ref>
                                <expiry-delay>{expiry-time}</expiry-delay>
                                <high-units>{high-units-param}</high-units>
                                <low-units>{low-units-param}</low-units>
                            </local-scheme>
                        </internal-cache-scheme>
                        <cachestore-scheme>
                            <class-scheme>
                                <class-name>{cache-store-class-name}</class-name>
                            </class-scheme>
                        </cachestore-scheme>
                        <write-delay>0</write-delay>
                    </read-write-backing-map-scheme>
                </backing-map-scheme>
                <autostart>true</autostart>
                <backup-count-after-writebehind>0</backup-count-after-writebehind>
            </distributed-scheme>However, now we need to be more dynamic. What i'd like to do is create N caches, that all look like the "account" cache above; so it's like i want to use the config as a template. I don't know how many of these caches i'll need, so i can't configure them statically. The number of caches will be given to the server at startup.
    Something like:
    List cacheList = new ArrayList<NamedCache>();
    NamedCache templateCache = CacheFactory.getCache("account");
    cacheList.add( templateCache );
    for( int i=0; i<count; i++) {
       cacheList.add( CacheFactory.createFromCache( templateCache, "account"+i ) );
    }So what's "best practice" for doing something like this?
    Thx.
    Edited by: user9222505 on Jul 9, 2012 4:52 PM

    Ahh.. I see. There are a few ways to do this.
    Presumably then you can create the cache store from Spring for a given cache name. So create a factory class with a static method that takes a String parameter, which will be the cache name, and returns a Cache Store. For example...
    package com.jk;
    public class CacheStoreFactory {
        public static CacheStore createCacheStore(String cacheName) {
            // in here goes your code to get the cache store instance from Spring
    }Now change your cache configuration to use the Factory for your cache store like this
    <cache-mapping>
        <cache-name>account*</cache-name>
        <scheme-name>distributed-persistent-write-thru</scheme-name>
        <init-params>
            <init-param>
                <param-name>expiry-time</param-name>
                <param-value>7d</param-value>
            </init-param>
            <init-param>
                <param-name>high-units-param</param-name>
                <param-value>6075000</param-value>
            </init-param>
            <init-param>
                <param-name>low-units-param</param-name>
                <param-value>4556251</param-value>
            </init-param>
        </init-params>
    </cache-mapping>
    <caching-schemes>
        <distributed-scheme>
            <scheme-name>distributed-persistent-write-thru</scheme-name>
            <service-name>DistributedWriteThrough</service-name>
            <backing-map-scheme>
                <read-write-backing-map-scheme>
                    <class-name>com.mycom.coherence.ExceptionLoggingBackingMap</class-name>
                    <internal-cache-scheme>
                        <local-scheme>
                            <scheme-ref>local-hybrid-eviction</scheme-ref>
                            <expiry-delay>{expiry-time}</expiry-delay>
                            <high-units>{high-units-param}</high-units>
                            <low-units>{low-units-param}</low-units>
                        </local-scheme>
                    </internal-cache-scheme>
                    <cachestore-scheme>
                        <class-scheme>
                            <class-factory-name>com.jk.CacheStoreFactory</class-factory-name>
                            <method-name>createCacheStore</method-name>
                            <init-params>
                                <init-param>
                                    <param-type>String</param-type>
                                    <param-value>{cache-name}</param-value>
                                </init-param>
                            </init-params>
                        </class-scheme>
                    </cachestore-scheme>
                    <write-delay>0</write-delay>
                </read-write-backing-map-scheme>
            </backing-map-scheme>
            <autostart>true</autostart>
            <backup-count-after-writebehind>0</backup-count-after-writebehind>
        </distributed-scheme>
    </caching-schemes>When Coherence comes to create a cache it will pass the name to the factory method to create the cache store.
    JK

  • Is this dynamic caching scenario possible with reverse proxy?

    I'm considering using the Sun System Java Web Server as a reverse proxy in front of other SSJWS's running a java webapp. I'm creating a dynamic site where most of the pages change only occasionally. I'm wondering if the follow "dream compression/caching" scenario is possible:
    - Origin web servers have a set of high traffic dynamic pages that change only occasionally. Other pages (could be partition in subdirs) should not be cached.
    - These dynamic pages set cache and expires headers allowing browser and proxies to cache the content--say for hours or days. It's ok if users see a slightly stale page within this expiration period.
    - Reverse proxy caches these pages as if they were static files. They also create gzipped versions on the fly and cache those. When requests comes in for these specific pages, they are served straight from proxy cache (either compressed or uncompressed depending on request header.)
    - When the expiration date is reached, reverse proxy requests fresh pages from the origin server, creates a compressed version, and only servies these pages from cache.
    - A certain set of pages shouldn't be cached and will have appropriate headers. They will probably also be in different subdirectories.
    Is it possible to use the reverse proxy as a self-updating cache this way? (And it it possible to proactively invalidate the cache. Let's say I change a page on the origin and I want the proxy to refresh that cached page right away.)
    Thank you,
    Armando

    I see. Thank you, this is very helpful.
    I've take taken a look at Web Proxy 4. It seems it can do much of what I'd like. One downside I see is that it seems to be quite a big tool with all of the forward proxying features that I don't need. I just need a transparent reverse proxy/cache, so it would have been nice if the reverse proxy provided by Sun Web Server offered some of the caching features of Web Proxy 4.
    Does Web Proxy 4 share code with Web Server? I haven't any seen any buzz, blogs, etc about it as I have with Sun Web Server. I see it now has a "modern HTTP core" and such but is performance on par with Web Server? (There are no trumpeted world records, and I don't see any architecture details, such as the ability to leverage event ports on Solaris...)
    It looks like Web Proxy 4 can be configured as a reverse proxy to do sticky load balancing, caching with interval checks, and on the fly gzip compression. Can it: cache both a compressed and uncompressed version of the content? Run other filters on the content before caching, such as the sed content trip filter? I haven't really seen anything out there that can do all that. If this is possible, then Web Proxy 4 deserves more buzz!
    If anyone has any good or bad experience using Web Proxy as a reverse proxy, I'd love to hear it!
    Cheers!
    Armando

  • Dynamic JDNI lookup problem in 10.1.3

    Hi:
    what I have intented to do is to acheive failover JNDI lookup. Through OC4J_10_1_3_service guide, I have to do EJB clustering first.Since I use a standalone version, I can'ot follow the steps from OC4J_10_1_3_EJB_Developer's_Guide. I just have test the 3 ways offered by EM of OC4J, and I also creat a opmn.xml file under opmn/conf. I use java.naming.provider.url","lookup:ormi://*****:23791/******",but I can not got the failover lookup sucessful even for just one time.
    So plz give me a hand,if u have any suggestions! 3x a lot !!!
    PS:Does 10.1.3 still support the "lookup:" prefix in "lookup:ormi://*****:23791/******"?

    We use the getVariableData with three parameters :
    " The signature of this function is
    bpws:getVariableData (variableName, partName?, locationPath?). The arguments are:
    1)variableName - the source variable for the data,
    2)partName - the part to select from the variable (optional),
    3)locationPath - provides an absolute location path (with / meaning the root of the document fragment
    representing the entire part) "
    Don't you need the partname as second parameter?

  • Multiple key cache lookup cases for the same values

    Hi,
    Just curious whether someone else on this forum has dealt with this use case: we'd like to use the Coherence cache to store objects of say class Foo with fields a and b (Foo(a,b)) using a as the key. The named cache is backed by a database and puts will insert into the corresponding Foo table and gets will either result in a cache hit or read through using a CacheStore implementation we'd write.
    Now, for the 2nd requirement, we need to look up the same objects using field b (or a combination of different fields for that matter). Currently we are thinking of a 2nd named cache that maps b onto Foo(a,b) with a possible optimization that the 2nd cache will map b onto a so the client doing the get can turn around and query the first cache using a. Puts in the first cache will add entries to the second cache to keep the 2nd cache up to date with a -> b mappings. The optimization prevents Foo being stored in two caches.
    Note that we will not store all entries for Foo in the cache as the sheer number of expected entries makes this option not feasible hence we cannot rely on a cache query (using indexes) to look the object up.
    Any comments on this approach or ideas on how to implement this differently?
    Thanks!
    Marcel.

    Hi Marcel,
    That is correct, QueryMap only operates on entries that are in-memory; there is no way to "query-through" a cachestore for example.
    Given that, I think that your proposed approach (of maintaining a separate b->a mapping) makes sense.
    thanks,
    -Rob

  • Dynamic method lookup

    Hi all
    Here is my code:
    class Superbase{void print(Superbase s){System.out.println("Super");}}
    class Base extends Superbase{void print(Base b){System.out.println("Base");}}
    class Derived extends Base{static void print(Derived d){System.out.println("Derived");}}
    class OverloadDemo{
    public static void main(String[] args){
      Superbase a = new Superbase();
      Superbase b = new Base();
        Derived c = new Derived();
           a.print(new Superbase()); b.print(new Base()); c.print(new Derived());
    }a,b,c denore objects of Superbase, Base, and Derived classes respectively. According to me it should print "Super Base Derived". But, it's printing "Super Super Base"
    can you explain ....why is it so?
    Thanks

    are all the methods static or just the last one? (i.e. a typo in your post)

  • Dynamic server lookup

    If I got a server, and on that server, I register some kind of remote object. Later, I initialize the client that should look up this object on the server, but the client doesn't know the address of the server, because in my network, the server could be everywhere and there will be lots of clients and they should look up the server, not having it specified as a parameter when running. Is there any way round it?
    R. Hollenstein

    One interesting way to do this, is to use a Multicast announcement.
    Here is a simple example of how to do it.
    I hope this may be helpful to you,
    John

Maybe you are looking for

  • Supporting iphone in windows vista 64-bit

    i installed itunes 9 in my vista 64-bit but it wont recognizes my iphone and gives me an error that it requires a newer version of apple mobile device..please help

  • Set textRollover color for Text control from css (very urgent)

    Hi,        I have text control . I need to set textRollovercolor for the text control from css. Is it possible. regards, Jayagopal.

  • The number of the rows in a tabular style

    hello to all i have a problem creating a column that gives me the # of the row in tabular with form builder can anybody give me help with that please?

  • "help tab" is blank

    I was typing a document and needed the "help tab" when i clicked on the tab.. it was blank. blank meaning it was all white no words, and i couldnt click anything.. can you help me? what do i do? ive also pressed something and made the document show t

  • BSOD occurs when SD card inserted. FASTFAT.SYS crashes.

    I this will happen almost everytime if the machine has been in use for some time. Inserting an SD card (4GB Canon format) a BSOD is virtually guaranteed. After a new boot up it works fine but catastrophic if not since all info is lost and nothing is