com.hazelcast.mapreduce.impl
Class JobPartitionStateSerializerHook

java.lang.Object
  extended by com.hazelcast.mapreduce.impl.JobPartitionStateSerializerHook
All Implemented Interfaces:
SerializerHook<JobPartitionStateImpl>

public class JobPartitionStateSerializerHook
extends Object
implements SerializerHook<JobPartitionStateImpl>

This class is the auto registered serializer hook for a JobPartitionState.


Constructor Summary
JobPartitionStateSerializerHook()
           
 
Method Summary
 Serializer createSerializer()
          Creates a new serializer for the serialization type
 Class<JobPartitionStateImpl> getSerializationType()
          Returns the actual class type of the serialized object
 boolean isOverwritable()
          Defines if this serializer can be overridden by defining a custom serializer in the configurations (codebase or configuration file)
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

JobPartitionStateSerializerHook

public JobPartitionStateSerializerHook()
Method Detail

getSerializationType

public Class<JobPartitionStateImpl> getSerializationType()
Description copied from interface: SerializerHook
Returns the actual class type of the serialized object

Specified by:
getSerializationType in interface SerializerHook<JobPartitionStateImpl>
Returns:
the serialized object type

createSerializer

public Serializer createSerializer()
Description copied from interface: SerializerHook
Creates a new serializer for the serialization type

Specified by:
createSerializer in interface SerializerHook<JobPartitionStateImpl>
Returns:
a new serializer instance

isOverwritable

public boolean isOverwritable()
Description copied from interface: SerializerHook
Defines if this serializer can be overridden by defining a custom serializer in the configurations (codebase or configuration file)

Specified by:
isOverwritable in interface SerializerHook<JobPartitionStateImpl>
Returns:
if the serializer is overwritable


Copyright © 2015 Hazelcast, Inc.. All Rights Reserved.