jakarta-jcs-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Rajkumar Singh" <raj.si...@patni.com>
Subject RE: Lateral cache PutOnlyMode attribute significance
Date Mon, 22 Nov 2004 13:47:51 GMT
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@amazon.com]
Sent: Monday, November 22, 2004 1:35 PM
To: Turbine JCS Developers List; raj.singh@patni.com
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@patni.com]
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@patni.com and
delete this mail.
_____________________________________________________________________


---------------------------------------------------------------------
To unsubscribe, e-mail: turbine-jcs-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: turbine-jcs-dev-help@jakarta.apache.org

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@patni.com and delete this mail. 
_____________________________________________________________________


Mime
View raw message