Package org.infinispan.marshall.exts
Class CollectionExternalizer
java.lang.Object
org.infinispan.marshall.exts.CollectionExternalizer
- All Implemented Interfaces:
Serializable,org.infinispan.commons.marshall.AdvancedExternalizer<Collection>,org.infinispan.commons.marshall.Externalizer<Collection>
public class CollectionExternalizer
extends Object
implements org.infinispan.commons.marshall.AdvancedExternalizer<Collection>
- See Also:
-
Field Summary
Fields inherited from interface org.infinispan.commons.marshall.AdvancedExternalizer
USER_EXT_ID_MIN -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptiongetId()static Class<Collection> static Class<Collection> static Set<Class<Collection>> Returns an immutable Set that contains all of the private classes (e.g.Set<Class<? extends Collection>> readObject(ObjectInput input) voidwriteObject(ObjectOutput output, Collection collection)
-
Constructor Details
-
CollectionExternalizer
public CollectionExternalizer()
-
-
Method Details
-
writeObject
- Specified by:
writeObjectin interfaceorg.infinispan.commons.marshall.Externalizer<Collection>- Throws:
IOException
-
readObject
- Specified by:
readObjectin interfaceorg.infinispan.commons.marshall.Externalizer<Collection>- Throws:
IOExceptionClassNotFoundException
-
getId
- Specified by:
getIdin interfaceorg.infinispan.commons.marshall.AdvancedExternalizer<Collection>
-
getTypeClasses
- Specified by:
getTypeClassesin interfaceorg.infinispan.commons.marshall.AdvancedExternalizer<Collection>
-
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
-
getPrivateSingletonSetClass
-
getPrivateSynchronizedSetClass
-