The modifySimpleRelayEvent() method was narrowly intended (and only usable) for use with a WANObjectCache that uses EventRelayer. The later dependency has since been removed from WANObjectCache. It was part of an experimental approach for relaying object cache purges accross WMF datacenters, which was abandoned in favor of mcrouter/dynomite.
wikitech-l@lists.wikimedia.org