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, [EMAIL PROTECTED] <[EMAIL PROTECTED]> 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

Reply via email to