set_expire_enabled


Description:

[ Version ( since = "3.24" ) ]
public void set_expire_enabled (bool expire_enabled)

Sets whether expire of cache data is enabled.

This is a complementary property for set_expire_age and set_expire_access, which allows to disable expiry without touching the two values. Having expire enabled, but not have set any of the two times, still behaves like not having expiry enabled.

Parameters:

this

a DataCache

expire_enabled

a value to set




2022 vala-language.org