Module io.github.bucket4j.hazelcast
Class HazelcastEntryProcessorSerializer
- java.lang.Object
-
- io.github.bucket4j.grid.hazelcast.serialization.HazelcastEntryProcessorSerializer
-
- All Implemented Interfaces:
com.hazelcast.nio.serialization.Serializer,com.hazelcast.nio.serialization.StreamSerializer<HazelcastEntryProcessor>,com.hazelcast.nio.serialization.TypedStreamDeserializer<HazelcastEntryProcessor>
public class HazelcastEntryProcessorSerializer extends Object implements com.hazelcast.nio.serialization.StreamSerializer<HazelcastEntryProcessor>, com.hazelcast.nio.serialization.TypedStreamDeserializer<HazelcastEntryProcessor>
-
-
Constructor Summary
Constructors Constructor Description HazelcastEntryProcessorSerializer()HazelcastEntryProcessorSerializer(int typeId)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voiddestroy()Class<HazelcastEntryProcessor>getSerializableType()intgetTypeId()HazelcastEntryProcessorread(com.hazelcast.nio.ObjectDataInput in)HazelcastEntryProcessorread(com.hazelcast.nio.ObjectDataInput in, Class aClass)voidwrite(com.hazelcast.nio.ObjectDataOutput out, HazelcastEntryProcessor serializable)
-
-
-
Method Detail
-
getSerializableType
public Class<HazelcastEntryProcessor> getSerializableType()
-
getTypeId
public int getTypeId()
- Specified by:
getTypeIdin interfacecom.hazelcast.nio.serialization.Serializer
-
destroy
public void destroy()
- Specified by:
destroyin interfacecom.hazelcast.nio.serialization.Serializer
-
write
public void write(com.hazelcast.nio.ObjectDataOutput out, HazelcastEntryProcessor serializable) throws IOException- Specified by:
writein interfacecom.hazelcast.nio.serialization.StreamSerializer<HazelcastEntryProcessor>- Throws:
IOException
-
read
public HazelcastEntryProcessor read(com.hazelcast.nio.ObjectDataInput in) throws IOException
- Specified by:
readin interfacecom.hazelcast.nio.serialization.StreamSerializer<HazelcastEntryProcessor>- Throws:
IOException
-
read
public HazelcastEntryProcessor read(com.hazelcast.nio.ObjectDataInput in, Class aClass) throws IOException
- Specified by:
readin interfacecom.hazelcast.nio.serialization.TypedStreamDeserializer<HazelcastEntryProcessor>- Throws:
IOException
-
-