Skip to the content
Documentation
Help Start
Reading in:
  • German: 9,059 of 9,059 pages
About the help in other languages
All help pages

file.ini [ClusterEventsSettings]

The settings of [ClusterEventsSettings] in file.ini: ClusterEvents, Listener

Download as PDF

Address: https://doc.exponential.earth/exphelp/viewer/examples/ini-settings/file/ClusterEventsSettings.md

On this page

file.ini [ClusterEventsSettings]

The block [ClusterEventsSettings] of settings/file.ini, with 2 setting(s).

Never edit settings/file.ini itself: an update replaces it. Put the settings you change in an override, which wins over the shipped file:

  • settings/override/file.ini.append.php for every siteaccess,
  • settings/siteaccess/<siteaccess>/file.ini.append.php for one siteaccess,
  • extension/<extension>/settings/file.ini.append.php in an extension (read when the extension is active).

ClusterEvents

Enables/Disables dedicated cluster events listening
If enabled, the cluster file handler will use a dedicated listener object
to respond to cluster events.
Can be used to add a cache layer (e.g. Memcached or Redis) in the cluster backend
and thus reduce cluster database load.
Only supported by eZDFSFileHandler MySQLi backend at the moment.

Default: disabled.

<?php /* #?ini charset="utf-8"?
# settings/override/file.ini.append.php
[ClusterEventsSettings]
ClusterEvents=disabled
*/ ?>

Listener

Class to use as cluster events listener
This class must implement eZClusterEventListener interface

Default: empty.

<?php /* #?ini charset="utf-8"?
# settings/override/file.ini.append.php
[ClusterEventsSettings]
Listener=
*/ ?>

Generated by ./console exp:help:examples from settings/file.ini. Do not edit this page: change the source and generate again (how). Free documentation: GFDL 1.3 or later.

Something wrong on this page? Report an error

Documentation license

This documentation is free documentation, licensed under the GNU Free Documentation License 1.3 or later.

Exponential Copyright © 1998-2026 Exponential Foundation and 7x