All it means is that it will not try to get from any other lateral caches. It
can still receive and send, but not get.
It should probably be called IsGetEnabled
Aaron
-----Original Message-----
From: Rajkumar Singh [mailto:raj.singh@xxxxxxxxx]
Sent: Thursday, November 18, 2004 2:28 AM
To: 'Turbine JCS Developers List'
Subject: Lateral cache PutOnlyMode attribute significance
Hi
Can somebody help me to know the importance of the PutOnlyMode attribute for
Lateral caching?
I created 2 cache on 2 different machines i.e cache 1 on machine 1 and cache
2 on machine 2.
Scenario 1:
The cache.ccf file for each cache had PutOnlyMode set to true viz.
jcs.auxiliary.LTCP.attributes.PutOnlyMode=true.
I started client 1, connected to cache 1, that did a put() operation in an
infinite loop after sleeping it for some time. Then I started client 2,
connected to cache 2, that did a get() operation. The client 2 got the object
put by the client 1.
Scenario 2:
The cache.ccf file for each cache had PutOnlyMode set to true viz.
jcs.auxiliary.LTCP.attributes.PutOnlyMode=true.
First, I started client 2, connected to cache 2, that did a get() operation.
It got NULL. Next I started client 1, connected to cache 1, that did a put()
operation in an infinite loop after sleeping it for some time. After that
client 2 started receiving the cached object.
The scenario 1 and scenario 2 were repeated if I set PutOnlyMode set to false.
viz. jcs.auxiliary.LTCP.attributes.PutOnlyMode=false.
Is there any difference in setting PutOnlyMode to either true or false?
Thanks
Raj
http://www.patni.com
World-Wide Partnerships. World-Class Solutions.
_____________________________________________________________________
This e-mail message may contain proprietary, confidential or legally privileged
information for the sole use of the person or entity to whom this message was
originally addressed. Any review, e-transmission dissemination or other use of
or taking of any action in reliance upon this information by persons or
entities other than the intended recipient is prohibited. If you have received
this e-mail in error kindly delete this e-mail from your records. If it
appears that this mail has been forwarded to you without proper authority,
please notify us immediately at netadmin@xxxxxxxxx and delete this mail.
_____________________________________________________________________
|