Sorry to mislead you. There is no configuration parameter called IsGetEnabled.
I said that "PutOnlyMode" should be called that, but it isn't right now.
The lateral cache should have data that was broadcast. That's correct. It
should passively receive it, but not try to retrive it.
There is no way to stop a lateral cache from receivining data from another
lateral cache that it is configured to receive data from. If you don't want to
receivie the data, don't setup the lateral cache.
I suppose you are trying to broadcast 1 way: put but not receive?
Aaron
-----Original Message-----
From: Rajkumar Singh [mailto:raj.singh@xxxxxxxxx]
Sent: Monday, November 22, 2004 5:48 AM
To: 'Turbine JCS Developers List'
Subject: RE: Lateral cache PutOnlyMode attribute significance
Aaron
Thanks for the reply.
We tried various combinations as shown below in the cache.ccf file; however, in
all the combinations the cache had the data that was broadcasted by its peer.
jcs.auxiliary.LTCP.attributes.PutOnlyMode=true
jcs.auxiliary.LTCP.attributes.IsGetEnabled=true
jcs.auxiliary.LTCP.attributes.PutOnlyMode=false
jcs.auxiliary.LTCP.attributes.IsGetEnabled= false
jcs.auxiliary.LTCP.attributes.PutOnlyMode=true
jcs.auxiliary.LTCP.attributes.IsGetEnabled=false
jcs.auxiliary.LTCP.attributes.PutOnlyMode= false
jcs.auxiliary.LTCP.attributes.IsGetEnabled=true
Any clue?
Thanks
Raj
-----Original Message-----
From: Smuts, Aaron [mailto:aaronsm@xxxxxxxxxx]
Sent: Monday, November 22, 2004 1:35 PM
To: Turbine JCS Developers List; raj.singh@xxxxxxxxx
Subject: RE: Lateral cache PutOnlyMode attribute significance
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.
_____________________________________________________________________
---------------------------------------------------------------------
To unsubscribe, e-mail: turbine-jcs-dev-unsubscribe@xxxxxxxxxxxxxxxxxx
For additional commands, e-mail: turbine-jcs-dev-help@xxxxxxxxxxxxxxxxxx
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.
_____________________________________________________________________
|