Class CollectionExternalizer
java.lang.Object
org.infinispan.tools.store.migrator.marshaller.common.AbstractMigratorExternalizer<Collection>
org.infinispan.tools.store.migrator.marshaller.infinispan9.CollectionExternalizer
- All Implemented Interfaces:
Serializable,AdvancedExternalizer<Collection>,Externalizer<Collection>
- See Also:
-
Field Summary
Fields inherited from interface org.infinispan.tools.store.migrator.marshaller.common.AdvancedExternalizer
USER_EXT_ID_MIN -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic Set<Class<? extends Collection>> static Class<Collection> static Class<Collection> static Class<Collection> static Set<Class<Collection>> Returns an immutable Set that contains all of the private classes (e.g. java.util.Collections$EmptyList) that are supported by this Externalizer.readObject(ObjectInput input) Read an instance from the stream.Methods inherited from class org.infinispan.tools.store.migrator.marshaller.common.AbstractMigratorExternalizer
getId, getTypeClasses, writeObject
-
Constructor Details
-
CollectionExternalizer
public CollectionExternalizer()
-
-
Method Details
-
readObject
Description copied from interface:ExternalizerRead an instance from the stream. The instance will have been written by theExternalizer.writeObject(ObjectOutput, Object)method. Implementations are free to create instances of the object read from the stream in any way that they feel like. This could be via constructor, factory or reflection.- Parameters:
input- the object input to read from- Returns:
- the object instance
- Throws:
IOException- if an I/O error occursClassNotFoundException- if a class could not be found
-
getClasses
-
getSupportedPrivateClasses
Returns an immutable Set that contains all of the private classes (e.g. java.util.Collections$EmptyList) that are supported by this Externalizer. This method is to be used by external sources if these private classes need additional processing to be available.- Returns:
- immutable set of the private classes
-
getPrivateSynchronizedListClass
-
getPrivateSingletonSetClass
-
getPrivateSynchronizedSetClass
-