[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Re: [xmlblaster] how to reduce the enties in database
Michele Laghi,hello!
Yes, all i want is to remove old entries from database if the size of
the queue reaches the max szie.(which defined in QueuePropertyBase.h)
======= 2004-06-08 17:35:15 has been wrote:=======
>Hi,
>there is no such flag. If you want such a feature then you don't
>want/need swapping. You can in such a case set the max queue size to be
>the same as the max cache queue size.
>
>The behaviour on what to do on queue overflows is controlled by a qos
>flag in the queue property called onOverflow:
>
>QueuePropertyBase.setOnOverflow(Constants.ONOVERFLOW_DISCARD)
>
>This is currently specified but not implemented (only
>ONOVERFLOW_DEAD_MESSAGE is currently implemented).
>
>pikaiyuan wrote:
>> Hi,
>>
>> Does xmlBlaster has any Qos settings which is used for reduce the entries
>> when entries(such as history queue,callback queue,msgUnitStore etc) reach the
>> maxEntriesCache?
>>
>No there is no such feature. If I understand you right, you probably
>want to inhibit swapping. You can avoid swapping by setting the
>maxQueueSize to be the same as the maxCacheQueueSize.
>
>What do you mean with "reducing the queue" ? Would you like to remove
>old entries from the queue ?
>
>Michele
>
>
>>
>> thanks any way
>>
>>
>> pikaiyuan
>> 2004-06-08
>>
>>
>>
>
>
>--
>Michele Laghi
>mailto:laghi at swissinfo.org
>tel. +46 8 7492952 / mob. +46 70 4103964
>http://eclettic.tripod.com
>http://www.xmlBlaster.org
>
>
= = = = = = = = = = = = = = = = = = = =
pikaiyuan
pikaiyuan at 163.com
2004-06-09