org.infinispan.commons.marshall.InstanceReusingAdvancedExternalizer Maven / Gradle / Ivy
package org.infinispan.commons.marshall;
import java.io.IOException;
import java.io.InvalidObjectException;
import java.io.ObjectInput;
import java.io.ObjectOutput;
import java.util.ArrayList;
import java.util.HashMap;
import java.util.List;
import java.util.Map;
/**
* An advanced externalizer that when implemented will allow for child instances that also extend this class to use object
* instances instead of serializing a brand new object.
* @author wburns
* @since 7.1
*/
public abstract class InstanceReusingAdvancedExternalizer extends AbstractExternalizer {
static class ReusableData {
Map