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:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description CollectionExternalizer()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description Integer
getId()
static Class<Collection>
getPrivateSingletonSetClass()
static Class<Collection>
getPrivateSynchronizedSetClass()
Set<Class<? extends Collection>>
getTypeClasses()
Collection
readObject(ObjectInput input)
void
writeObject(ObjectOutput output, Collection collection)
-
-
-
Method Detail
-
writeObject
public void writeObject(ObjectOutput output, Collection collection) throws IOException
- Specified by:
writeObject
in interfaceorg.infinispan.commons.marshall.Externalizer<Collection>
- Throws:
IOException
-
readObject
public Collection readObject(ObjectInput input) throws IOException, ClassNotFoundException
- Specified by:
readObject
in interfaceorg.infinispan.commons.marshall.Externalizer<Collection>
- Throws:
IOException
ClassNotFoundException
-
getId
public Integer getId()
- Specified by:
getId
in interfaceorg.infinispan.commons.marshall.AdvancedExternalizer<Collection>
-
getTypeClasses
public Set<Class<? extends Collection>> getTypeClasses()
- Specified by:
getTypeClasses
in interfaceorg.infinispan.commons.marshall.AdvancedExternalizer<Collection>
-
getPrivateSingletonSetClass
public static Class<Collection> getPrivateSingletonSetClass()
-
getPrivateSynchronizedSetClass
public static Class<Collection> getPrivateSynchronizedSetClass()
-
-