Used in: cluster-config.
Data transformation filters can be used by services to apply a custom transformation on data being transfered between cluster nodes. This can be used for instance to compress or encrypt Coherence network traffic.
Data transformation filters are implementations of the com.tangosol.util.WrapperStreamFactory interface.
|Data transformation filters are not related to com.tangosol.util.Filter, which is part of the Coherence API for querying caches.|
The following table describes the elements you can define within each filter element.
|<filter-name>||Required||Specifies the canonical name of the filter. This name is unique within the cluster.
For example: gzip.
The content override attributes id can be optionally used to fully or partially override the contents of this element with XML document that is external to the base document.
|<filter-class>||Required||Specifies the class name of the filter implementation. This class must have a zero-parameter public constructor and must implement the com.tangosol.util.WrapperStreamFactory interface.|
|<init-params>||Optional||Specifies initialization parameters, for configuring filters which implement the com.tangosol.run.xml.XmlConfigurable interface.
For example when using a com.tangosol.net.CompressionFilter the parameters are specified as follows:
The content override attributes xml-override and id can be optionally used to fully or partially override the contents of this element with XML document that is external to the base document.