com.hazelcast.nio.serialization
Interface IdentifiedDataSerializable

All Superinterfaces:
DataSerializable
All Known Subinterfaces:
CacheEventData
All Known Implementing Classes:
AbstractAlterOperation, AbstractAlterOperation, AbstractMutatingCacheOperation, AbstractWebDataEntryProcessor, AcceptAllSupplier, AcquireBackupOperation, AcquireOperation, AddAllBackupOperation, AddAllOperation, AddAndGetOperation, AddBackupOperation, Address, AddSessionEntryProcessor, AlterAndGetOperation, AlterAndGetOperation, AlterOperation, AlterOperation, ApplyOperation, ApplyOperation, AtomicLongBackupAwareOperation, AtomicLongBaseOperation, AtomicLongReplicationOperation, AtomicReferenceBackupAwareOperation, AtomicReferenceBaseOperation, AtomicReferenceReplicationOperation, AvailableOperation, AvgTuple, AwaitBackupOperation, AwaitOperation, AwaitOperation, BeforeAwaitBackupOperation, BeforeAwaitOperation, BinaryOperationFactory, BindMessage, CacheBackupEntryProcessorOperation, CacheClearBackupOperation, CacheClearOperation, CacheClearOperationFactory, CacheClearResponse, CacheContainsKeyOperation, CacheCreateConfigOperation, CacheDestroyOperation, CacheEntryProcessorOperation, CacheEventDataImpl, CacheEventSet, CacheGetAllOperation, CacheGetAllOperationFactory, CacheGetAndRemoveOperation, CacheGetAndReplaceOperation, CacheGetConfigOperation, CacheGetOperation, CacheKeyIteratorOperation, CacheKeyIteratorResult, CacheListenerRegistrationOperation, CacheLoadAllOperation, CacheLoadAllOperationFactory, CacheManagementConfigOperation, CachePutAllBackupOperation, CachePutBackupOperation, CachePutIfAbsentOperation, CachePutOperation, CacheRemoveAllBackupOperation, CacheRemoveAllOperation, CacheRemoveAllOperationFactory, CacheRemoveBackupOperation, CacheRemoveOperation, CacheReplaceOperation, CacheSizeOperation, CacheSizeOperationFactory, CallableTaskOperation, CallTimeoutResponse, CancelJobSupervisorOperation, CheckAndEvictOperation, ClearBackupOperation, ClearBackupOperation, ClearOperation, ClearOperation, ClientMembershipEvent, ClientResponse, CollectionAddAllBackupOperation, CollectionAddAllOperation, CollectionAddBackupOperation, CollectionAddOperation, CollectionBackupAwareOperation, CollectionClearBackupOperation, CollectionClearOperation, CollectionCompareAndRemoveOperation, CollectionContainsOperation, CollectionEvent, CollectionEventFilter, CollectionGetAllOperation, CollectionIsEmptyOperation, CollectionItem, CollectionOperation, CollectionPrepareBackupOperation, CollectionPrepareOperation, CollectionRemoveBackupOperation, CollectionRemoveOperation, CollectionReplicationOperation, CollectionReserveAddOperation, CollectionReserveRemoveOperation, CollectionRollbackBackupOperation, CollectionRollbackOperation, CollectionSizeOperation, CollectionTransactionRollbackOperation, CollectionTxnAddBackupOperation, CollectionTxnAddOperation, CollectionTxnRemoveBackupOperation, CollectionTxnRemoveOperation, CombinerResultList, CompareAndRemoveBackupOperation, CompareAndRemoveOperation, CompareAndSetOperation, CompareAndSetOperation, ConfigCheck, ContainsEntryOperation, ContainsOperation, ContainsOperation, CountDownLatchBackupOperation, CountDownLatchReplicationOperation, CountDownOperation, CountOperation, DeadMemberBackupOperation, DestroySessionEntryProcessor, DrainBackupOperation, DrainBackupOperation, DrainOperation, DrainOperation, EntrySetOperation, EventServiceImpl.EventPacket, FireNotificationOperation, GetAllOperation, GetAndAddOperation, GetAndAlterOperation, GetAndAlterOperation, GetAndSetOperation, GetAndSetOperation, GetCountOperation, GetLockCountOperation, GetOperation, GetOperation, GetOperation, GetRemainingLeaseTimeOperation, GetResultOperation, HashMapAdapter, HazelcastExpiryPolicy, HeartbeatOperation, InitBackupOperation, InitOperation, IntermediateChunkNotification, InvalidateSessionAttributesEntryProcessor, IsEmptyOperation, IsLockedOperation, IsNullOperation, IteratorOperation, KeyPredicateSupplier, KeysAssignmentOperation, KeysAssignmentResult, KeySetOperation, KeyValueJobOperation, LastChunkNotification, ListAddAllOperation, ListAddOperation, ListGetOperation, ListIndexOfOperation, ListKeyValueSource, ListRemoveOperation, ListReplicationOperation, ListSetBackupOperation, ListSetOperation, ListSubOperation, LocalLockCleanupOperation, LockBackupOperation, LockOperation, LockReplicationOperation, MapEntrySet, MapKeySet, MapKeyValueSource, MapReduceNotification, MapValueCollection, MemberAwareMapReduceNotification, MemberCallableTaskOperation, MemberImpl, MultiMapBackupAwareOperation, MultiMapKeyBasedOperation, MultiMapKeyValueSource, MultiMapOperation, MultiReplicationMessage, NormalResponse, NotifyRemoteExceptionOperation, OfferBackupOperation, OfferOperation, PartitionIteratingOperation, PartitionIteratingOperation.PartitionResponse, PartitionsResponse, PeekOperation, PollBackupOperation, PollOperation, PostPonePartitionProcessing, PredicateSupplier, ProcessingOperation, ProcessStatsUpdateOperation, PublishOperation, PutBackupOperation, PutBackupOperation, PutOperation, PutOperation, QueryResultEntryImpl, QueryResultSet, QueueBackupAwareOperation, QueueContainer, QueueEvent, QueueEventFilter, QueueItem, QueueOperation, QueueReplicationOperation, QueueTransactionRollbackOperation, ReduceBackupOperation, ReduceOperation, ReducingFinishedNotification, ReferenceSessionEntryProcessor, ReleaseBackupOperation, ReleaseOperation, RemainingCapacityOperation, RemoveAllBackupOperation, RemoveAllOperation, RemoveBackupOperation, RemoveBackupOperation, RemoveBackupOperation, RemoveOperation, RemoveOperation, RemoveOperation, ReplicatedMapClearOperation, ReplicatedMapInitChunkOperation, ReplicatedMapPostJoinOperation, ReplicatedRecord, ReplicationMessage, RequestMemberIdAssignment, RequestPartitionMapping, RequestPartitionProcessed, RequestPartitionReducing, RequestPartitionResult, Response, RunnableAdapter, SemaphoreDeadMemberOperation, SemaphoreReplicationOperation, SerializableCollection, SessionAttributePredicate, SetAdapter, SetAndGetOperation, SetBackupOperation, SetBackupOperation, SetCountOperation, SetKeyValueSource, SetOperation, SetOperation, SetReplicationOperation, SignalBackupOperation, SignalOperation, SimpleEntryView, SizeOperation, SizeOperation, StartProcessingJobOperation, TopicEvent, TxCollectionItem, TxnCommitBackupOperation, TxnCommitOperation, TxnGenerateRecordIdOperation, TxnLockAndGetOperation, TxnOfferBackupOperation, TxnOfferOperation, TxnPeekOperation, TxnPollBackupOperation, TxnPollOperation, TxnPrepareBackupOperation, TxnPrepareBackupOperation, TxnPrepareOperation, TxnPrepareOperation, TxnPutBackupOperation, TxnPutOperation, TxnRemoveAllBackupOperation, TxnRemoveAllOperation, TxnRemoveBackupOperation, TxnRemoveOperation, TxnReserveOfferBackupOperation, TxnReserveOfferOperation, TxnReservePollBackupOperation, TxnReservePollOperation, TxnRollbackBackupOperation, TxnRollbackBackupOperation, TxnRollbackOperation, TxnRollbackOperation, TxQueueItem, UnlockBackupOperation, UnlockIfLeaseExpiredOperation, UnlockOperation, ValuesOperation, VectorClockTimestamp

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:
DataSerializable, Portable, DataSerializableFactory

Method Summary
 int getFactoryId()
          Returns DataSerializableFactory factory id for this class.
 int getId()
          Returns type identifier for this class.
 
Methods inherited from interface com.hazelcast.nio.serialization.DataSerializable
readData, writeData
 

Method Detail

getFactoryId

int getFactoryId()
Returns DataSerializableFactory factory id for this class.

Returns:
factory id

getId

int getId()
Returns type identifier for this class. Id should be unique per DataSerializableFactory.

Returns:
type id


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