R: cache synchronization

From: Claudio Rosati (claudio.rosat..csys.it)
Date: Mon Jan 02 2006 - 13:00:45 EST

  • Next message: Andrea Borgogelli Avveduti: "Newbie: AUTO_PK_SUPPORT problem"

    Happy new year Andrus,

    Now it works. Thanks again for your help.

    Claudio

    ------------------------------------
    Advanced Computer Systems S.p.A.
    Claudio Rosati
    Project Manager
    claudio.rosat..csys.it
    via Della Bufalotta 378
    00139 Roma, RM
    Italy
    tel: +39 06 8709 0516
    fax: +39 06 8720 1502
    ------------------------------------
     

    > -----Messaggio originale-----
    > Da: Andrus Adamchik [mailto:andru..bjectstyle.org]
    > Inviato: venerd́ 30 dicembre 2005 19.29
    > A: cayenne-use..bjectstyle.org
    > Oggetto: Re: cache synchronization
    >
    > > But, while dataContextDelegate is called as said,
    > > snapshotEventListener is never called.
    >
    > ...
    >
    > > EventManager.getDefaultManager().addNonBlockingListener(
    > > snapshotEventListener,
    > > "snapshotsChanged",
    > > SnapshotEvent.class,
    > > domain.getSharedSnapshotCache().getSnapshotEventSubject(),
    > > domain.getSharedSnapshotCache()
    > > );
    >
    >
    > Try dropping the last parameter - sender. This will ensure
    > that ALL events for a given subject are passed to the listener:
    >
    > EventManager.getDefaultManager().addNonBlockingListener(
    > snapshotEventListener,
    > "snapshotsChanged",
    > SnapshotEvent.class,
    > domain.getSharedSnapshotCache().getSnapshotEventSubject());
    >
    > Andrus
    >
    >
    >



    This archive was generated by hypermail 2.0.0 : Mon Jan 02 2006 - 13:00:36 EST