pianod2
multisource multiuser scriptable networked music player
Public Types | Public Attributes | List of all members
ThingiePoolParameters Struct Reference

#include <musiccache.h>

Public Types

using size_type = unsigned long
 

Public Attributes

time_t initial_duration { 3600 }
 Retain new or reinserted items for at least this amount of times. More...
 
time_t reprieve_duration { 900 }
 Retain in-use objects at least this much longer. More...
 
size_type minimum_retained_items { 4000 }
 Don't purge if we have less than this many. More...
 
size_type maximum_retained_items { 4800 }
 If we hit this many items, try purging before adding. More...
 
time_t purge_interval { 307 }
 Schedule periodic purges at this interval. More...
 

Member Typedef Documentation

◆ size_type

using ThingiePoolParameters::size_type = unsigned long

Member Data Documentation

◆ initial_duration

time_t ThingiePoolParameters::initial_duration { 3600 }

Retain new or reinserted items for at least this amount of times.

◆ maximum_retained_items

size_type ThingiePoolParameters::maximum_retained_items { 4800 }

If we hit this many items, try purging before adding.

◆ minimum_retained_items

size_type ThingiePoolParameters::minimum_retained_items { 4000 }

Don't purge if we have less than this many.

◆ purge_interval

time_t ThingiePoolParameters::purge_interval { 307 }

Schedule periodic purges at this interval.

◆ reprieve_duration

time_t ThingiePoolParameters::reprieve_duration { 900 }

Retain in-use objects at least this much longer.


The documentation for this struct was generated from the following file: