Camel.DataCache.get_expire_enabled

### Method

# Camel DataCacheget_expire_enabled

since: 3.24

#### Declaration [src]

    gboolean
    camel_data_cache_get_expire_enabled (
      CamelDataCache* cdc
    )

#### Description [src]

Gets whether expire of cache data is enabled.

This is a complementary property for `camel_data_cache_set_expire_age()` and camel_data_cache_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.

Available since: 3.24

Gets property | `Camel.DataCache:expire-enabled`

#### Return value

Type: `gboolean`

Whether expire is enabled.