ibatis-user-java mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Larry Meadors" <lmead...@apache.org>
Subject Re: iBATIS cache flush interval
Date Fri, 12 Jan 2007 18:20:06 GMT
Neither: The cache will be flushed after 8:00AM the day after it is
deployed - but not until you request something from it.

Larry

On 1/12/07, Tuan.Le2@alconlabs.com <Tuan.Le2@alconlabs.com> wrote:
>
>
> Hi,
>
> I apologize if this question has been asked before. The cacheModel is
> defined below.
>
>     <cacheModel id="performedSRs-cache" type="LRU">
>        <flushInterval hours="24" />
>        <flushOnExecute statement="ServiceRequest.insertReview" />
>        <property name="size" value="100" />
>     </cacheModel>
>
> If I deploy my app at 8 AM which of the following is true for using iBATIS
> cache.
>
> A1) The cache will be cleared when ServiceRequest.insertReview is executed
> OR it will be cleared at 12:00 AM every day.
>
> A2) The cache will be cleared when ServiceRequest.insertReview is executed
> OR it will be cleared at 8:00 AM every day (the time when the application is
> deployed)
>
> Thanks,
> Tuan

Mime
View raw message