-->
These old forums are deprecated now and set to read-only. We are waiting for you on our new forums!
More modern, Discourse-based and with GitHub/Google/Twitter authentication built-in.

All times are UTC - 5 hours [ DST ]



Forum locked This topic is locked, you cannot edit posts or make further replies.  [ 1 post ] 
Author Message
 Post subject: SpiritCache with hibernate
PostPosted: Tue Nov 09, 2004 11:19 am 
Newbie

Joined: Mon Oct 13, 2003 7:50 am
Posts: 7
Hi,

I am trying to use SpiritCache as a plugin with hibernate. I need clarity on the following methods.

1) Method lock() in the Cache interface
The lock() method in the SpiritSoft API accepts 3 parameters. The two additional parameters are waitTimeOut and lockDuration. While the hibernate Cache doesnt use these parameters, is there any typical value I can use.

2) Similarly the method unlock() also has an additional parameter for timeout.

3) What is the use of the nextTimeStamp() method? I dont see any equivalent method in SpiritCahce API. Please give me some pointers on this. The hibernate API doc just says "Generate a timestamp".

4) The getTimeOut() method. What is the typical value? Gavin has used 10000 (not sure) in the Coherence Cahce plugin. Can we use the same here.

These questions seem to be specific to SpiritCache. But, will surely be helpful in making hibernate compatible with more and more products I guess.

Thanks in advance.

Younus


Top
 Profile  
 
Display posts from previous:  Sort by  
Forum locked This topic is locked, you cannot edit posts or make further replies.  [ 1 post ] 

All times are UTC - 5 hours [ DST ]


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum

Search for:
© Copyright 2014, Red Hat Inc. All rights reserved. JBoss and Hibernate are registered trademarks and servicemarks of Red Hat, Inc.