Hi,

I downloaded the source files from the CVS, last Friday.

Regards,
Cristian

===========================================================
Dipl. Ing. Cristian OPINCARU
University of Federal Armed Forces, Munich - Faculty of Informatics

Werner-Heisenberg-Weg 39, D-85577, Neubiberg, Germany
Building 41 / Room 0224

Tel   : +49-89-6004.2279
Fax   : +49-89-6004.3898
E-mail: [EMAIL PROTECTED]
Web   : http://web.ss.pub.ro/~oppy

-----Original Message-----
From: Mike Pettypiece [mailto:[EMAIL PROTECTED]
Sent: Montag, 26. April 2004 16:10
To: Turbine JCS Users List
Subject: RE: Handeling events


Are you using the latest CVS code?  I submitted a patch a week or so ago
which fixed this problem.

Cheers,

Mike 

-----Original Message-----
From: Cristian OPINCARU [mailto:[EMAIL PROTECTED] 
Sent: Monday, April 26, 2004 10:56 AM
To: [EMAIL PROTECTED]
Subject: Handeling events

Hi,

I'm having problems using the events in JCS:

Here is my code:

public class EventHandler implements IElementEventHandler {
        public EventHandler() {
        }

        public java.io.Serializable handleElementEvent(IElementEvent e)
{
                System.out.println("!Here!");
                return null;
        }
}

//..........
JCS cache = JCS.getInstance("testCache1"); ElementAttributes ea = new
ElementAttributes(); ea.addElementEventHandler(new EventHandler());
cache.resetElementAttributes(ea);


I'm then adding 1000 elements in a cache that only handles 100 objects,
and even though some elements are deleted from the cache (to make room
for new
ones) the handleElementEvent never gets called.

Can anyone help me ?

Cristian

===========================================================
Dipl. Ing. Cristian OPINCARU
University of Federal Armed Forces, Munich - Faculty of Informatics

Werner-Heisenberg-Weg 39, D-85577, Neubiberg, Germany Building 41 / Room
0224

Tel   : +49-89-6004.2279
Fax   : +49-89-6004.3898
E-mail: [EMAIL PROTECTED]
Web   : http://web.ss.pub.ro/~oppy


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail:
[EMAIL PROTECTED]




---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to