Package org.infinispan.marshall.exts
Class ReplicableCommandExternalizer
java.lang.Object
org.infinispan.commons.marshall.AbstractExternalizer<ReplicableCommand>
org.infinispan.marshall.exts.ReplicableCommandExternalizer
- All Implemented Interfaces:
Serializable,org.infinispan.commons.marshall.AdvancedExternalizer<ReplicableCommand>,org.infinispan.commons.marshall.Externalizer<ReplicableCommand>
public class ReplicableCommandExternalizer
extends org.infinispan.commons.marshall.AbstractExternalizer<ReplicableCommand>
ReplicableCommandExternalizer.
- Since:
- 4.0
- Author:
- Galder ZamarreƱo
- See Also:
-
Field Summary
Fields inherited from interface org.infinispan.commons.marshall.AdvancedExternalizer
USER_EXT_ID_MIN -
Constructor Summary
ConstructorsConstructorDescriptionReplicableCommandExternalizer(RemoteCommandsFactory cmdFactory, GlobalComponentRegistry gcr) -
Method Summary
Modifier and TypeMethodDescriptionprotected CacheRpcCommandfromStream(byte id, byte type, ByteString cacheName) getId()Set<Class<? extends ReplicableCommand>> readObject(ObjectInput input) protected voidwriteCommandHeader(ObjectOutput output, ReplicableCommand command) protected voidwriteCommandParameters(ObjectOutput output, ReplicableCommand command) voidwriteObject(ObjectOutput output, ReplicableCommand command)
-
Constructor Details
-
ReplicableCommandExternalizer
-
-
Method Details
-
writeObject
- Throws:
IOException
-
writeCommandParameters
protected void writeCommandParameters(ObjectOutput output, ReplicableCommand command) throws IOException - Throws:
IOException
-
writeCommandHeader
protected void writeCommandHeader(ObjectOutput output, ReplicableCommand command) throws IOException - Throws:
IOException
-
readObject
- Throws:
IOExceptionClassNotFoundException
-
fromStream
-
getId
- Specified by:
getIdin interfaceorg.infinispan.commons.marshall.AdvancedExternalizer<ReplicableCommand>- Overrides:
getIdin classorg.infinispan.commons.marshall.AbstractExternalizer<ReplicableCommand>
-
getTypeClasses
-