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 IntegergetId()Set<Class<? extends CacheState>>getTypeClasses()CacheStatereadObject(ObjectInput input)voidwriteObject(ObjectOutput output, CacheState state)
-
-
-
Method Detail
-
writeObject
public void writeObject(ObjectOutput output, CacheState state) throws IOException
- Specified by:
writeObjectin interfaceorg.infinispan.commons.marshall.Externalizer<CacheState>- Throws:
IOException
-
readObject
public CacheState readObject(ObjectInput input) throws IOException, ClassNotFoundException
- Specified by:
readObjectin interfaceorg.infinispan.commons.marshall.Externalizer<CacheState>- Throws:
IOExceptionClassNotFoundException
-
getTypeClasses
public Set<Class<? extends CacheState>> getTypeClasses()
- Specified by:
getTypeClassesin interfaceorg.infinispan.commons.marshall.AdvancedExternalizer<CacheState>
-
getId
public Integer getId()
- Specified by:
getIdin interfaceorg.infinispan.commons.marshall.AdvancedExternalizer<CacheState>
-
-