Interface IdentifiedDataSerializable

All Superinterfaces:
DataSerializable
All Known Subinterfaces:
ScheduledTaskStatistics
All Known Implementing Classes:
AbstractCacheConfig, com.hazelcast.spi.impl.merge.AbstractSplitBrainMergePolicy, AbstractWanPublisherConfig, Address, AliasedDiscoveryConfig, AttributeConfig, AwsConfig, AzureConfig, BitmapIndexOptions, BTreeIndexConfig, CacheConfig, CachePartitionLostListenerConfig, CacheSimpleConfig, CacheSimpleConfig.ExpiryPolicyFactoryConfig, CacheSimpleConfig.ExpiryPolicyFactoryConfig.DurationConfig, CacheSimpleConfig.ExpiryPolicyFactoryConfig.TimedExpiryPolicyFactoryConfig, CacheSimpleEntryListenerConfig, CardinalityEstimatorConfig, CollectionConfig, DAG, DataConnectionConfig, DataPersistenceConfig, DeltaJobConfig, DiscardMergePolicy, DiscoveryConfig, DiscoveryStrategyConfig, DiskTierConfig, DurableExecutorConfig, Edge, EdgeConfig, EntryListenerConfig, EurekaConfig, EventJournalConfig, EvictionConfig, ExecutorConfig, ExpirationTimeMergePolicy, FlakeIdGeneratorConfig, GcpConfig, HazelcastExpiryPolicy, HigherHitsMergePolicy, HotRestartConfig, HyperLogLogMergePolicy, IndexConfig, ItemListenerConfig, JobConfig, JobMetrics, JobStatusEvent, KubernetesConfig, LatestAccessMergePolicy, LatestUpdateMergePolicy, ListConfig, ListenerConfig, MapConfig, MapPartitionLostListenerConfig, MapStoreConfig, Measurement, MemberVersion, MemoryTierConfig, MergePolicyConfig, MerkleTreeConfig, MultiMapConfig, NearCacheConfig, NearCachePreloaderConfig, PartitioningAttributeConfig, PartitioningStrategyConfig, PassThroughMergePolicy, PermissionConfig, PNCounterConfig, PredicateConfig, ProcessorMetaSupplier.ExpectNothingProcessorSupplier, ProcessorMetaSupplier.RandomMemberPms, ProcessorMetaSupplier.SpecificMemberPms, PutIfAbsentMergePolicy, QueryCacheConfig, QueueConfig, QueueStoreConfig, ReliableTopicConfig, ReplicatedMapConfig, ResourceConfig, RingbufferConfig, RingbufferStoreConfig, ScheduledExecutorConfig, ScheduledTaskHandler, SetConfig, SimpleTokenCredentials, SplitBrainProtectionConfig, SplitBrainProtectionListenerConfig, TieredStoreConfig, TopicConfig, UserCodeNamespaceConfig, UsernamePasswordCredentials, VectorCollectionConfig, VectorIndexConfig, Version, Vertex, WanBatchPublisherConfig, WanConsumerConfig, WanCustomPublisherConfig, WanReplicationConfig, WanReplicationRef, WanSyncConfig

public interface IdentifiedDataSerializable extends DataSerializable
IdentifiedDataSerializable is an extension to DataSerializable to avoid reflection during de-serialization.

Each IdentifiedDataSerializable is created by a registered DataSerializableFactory.

See Also:
  • Method Summary

    Modifier and Type
    Method
    Description
    int
    Returns type identifier for this class.
    int
    Returns DataSerializableFactory factory ID for this class.

    Methods inherited from interface com.hazelcast.nio.serialization.DataSerializable

    readData, writeData
  • Method Details

    • getFactoryId

      int getFactoryId()
      Returns DataSerializableFactory factory ID for this class.
      Returns:
      factory ID
    • getClassId

      int getClassId()
      Returns type identifier for this class. It should be unique per DataSerializableFactory.
      Returns:
      type ID