Ce contenu n'est pas disponible dans la langue sélectionnée.
6.3. Using an Advanced Externalizer
Using a customized advanced externalizer helps optimize performance in Red Hat JBoss Data Grid.
- Define and implement the
readObject()andwriteObject()methods. - Link externalizers with marshaller classes.
- Register the advanced externalizer.
6.3.1. Implement the Methods Copier lienLien copié sur presse-papiers!
Copier lienLien copié sur presse-papiers!
To use advanced externalizers, define and implement the
readObject() and writeObject() methods. The following is a sample definition:
Note
This method does not require annotated user classes. As a result, this method is valid for classes where the source code is not available or cannot be modified.