Package org.infinispan.globalstate.impl
Class CacheState.Externalizer
- java.lang.Object
-
- org.infinispan.globalstate.impl.CacheState.Externalizer
-
- All Implemented Interfaces:
Serializable
,org.infinispan.commons.marshall.AdvancedExternalizer<CacheState>
,org.infinispan.commons.marshall.Externalizer<CacheState>
- Enclosing class:
- CacheState
public static class CacheState.Externalizer extends Object implements org.infinispan.commons.marshall.AdvancedExternalizer<CacheState>
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description Externalizer()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Integer
getId()
Set<Class<? extends CacheState>>
getTypeClasses()
CacheState
readObject(ObjectInput input)
void
writeObject(ObjectOutput output, CacheState state)
-
-
-
Method Detail
-
writeObject
public void writeObject(ObjectOutput output, CacheState state) throws IOException
- Specified by:
writeObject
in interfaceorg.infinispan.commons.marshall.Externalizer<CacheState>
- Throws:
IOException
-
readObject
public CacheState readObject(ObjectInput input) throws IOException, ClassNotFoundException
- Specified by:
readObject
in interfaceorg.infinispan.commons.marshall.Externalizer<CacheState>
- Throws:
IOException
ClassNotFoundException
-
getTypeClasses
public Set<Class<? extends CacheState>> getTypeClasses()
- Specified by:
getTypeClasses
in interfaceorg.infinispan.commons.marshall.AdvancedExternalizer<CacheState>
-
getId
public Integer getId()
- Specified by:
getId
in interfaceorg.infinispan.commons.marshall.AdvancedExternalizer<CacheState>
-
-