com.hazelcast.nio.serialization
Interface DataSerializable

All Known Subinterfaces:
CacheEventData, EventData, EventRegistration, IdentifiedDataSerializable, KeyAwareTransactionLog, MapMergePolicy, Member, ObjectNamespace, OperationFactory, TransactionLog
All Known Implementing Classes:
AbstractAlterOperation, AbstractAlterOperation, AbstractCacheRecord, AbstractMapOperation, AbstractMutatingCacheOperation, AbstractNamedOperation, AbstractOperation, AbstractReplicatedMapOperation, AbstractWebDataEntryProcessor, AcceptAllSupplier, AcquireBackupOperation, AcquireOperation, AddAllBackupOperation, AddAllOperation, AddAndGetOperation, AddBackupOperation, AddIndexOperation, AddIndexOperationFactory, AddInterceptorOperation, AddInterceptorOperationFactory, Address, AddSessionEntryProcessor, AlterAndGetOperation, AlterAndGetOperation, AlterOperation, AlterOperation, ApplyOperation, ApplyOperation, AssignPartitions, AtomicLongBackupAwareOperation, AtomicLongBaseOperation, AtomicLongReplicationOperation, AtomicReferenceBackupAwareOperation, AtomicReferenceBaseOperation, AtomicReferenceReplicationOperation, AuthenticationFailureOperation, AuthorizationOperation, AvailableOperation, AvgTuple, AwaitBackupOperation, AwaitOperation, AwaitOperation, BaseMigrationOperation, BasePutOperation, BaseRemoveOperation, BeforeAwaitBackupOperation, BeforeAwaitOperation, BeginTxBackupOperation, BinaryOperationFactory, BindMessage, BroadcastTxRollbackOperation, CacheBackupEntryProcessorOperation, CacheClearBackupOperation, CacheClearOperation, CacheClearOperationFactory, CacheClearResponse, CacheConfig, CacheConfigReadOnly, CacheContainsKeyOperation, CacheCreateConfigOperation, CacheDataRecord, CacheDestroyOperation, CacheEntryProcessorOperation, CacheEventDataImpl, CacheEventSet, CacheEvictionConfig, CacheEvictionConfigReadOnly, CacheGetAllOperation, CacheGetAllOperationFactory, CacheGetAndRemoveOperation, CacheGetAndReplaceOperation, CacheGetConfigOperation, CacheGetOperation, CacheKeyIteratorOperation, CacheKeyIteratorResult, CacheListenerRegistrationOperation, CacheLoadAllOperation, CacheLoadAllOperationFactory, CacheManagementConfigOperation, CacheObjectRecord, CachePutAllBackupOperation, CachePutBackupOperation, CachePutIfAbsentOperation, CachePutOperation, CacheRemoveAllBackupOperation, CacheRemoveAllOperation, CacheRemoveAllOperationFactory, CacheRemoveBackupOperation, CacheRemoveOperation, CacheReplaceOperation, CacheReplicationOperation, CacheSizeOperation, CacheSizeOperationFactory, CacheStatisticsImpl, CallableTaskOperation, CallTimeoutResponse, CancelJobSupervisorOperation, CancellationOperation, CheckAndEvictOperation, CheckReplicaVersion, ClearBackupOperation, ClearBackupOperation, ClearBackupOperation, ClearExpiredOperation, ClearOperation, ClearOperation, ClearOperation, ClearOperationFactory, ClientDisconnectionOperation, ClientMembershipEvent, ClientReAuthOperation, ClientResponse, CollectionAddAllBackupOperation, CollectionAddAllOperation, CollectionAddBackupOperation, CollectionAddOperation, CollectionBackupAwareOperation, CollectionClearBackupOperation, CollectionClearOperation, CollectionCompareAndRemoveOperation, CollectionContainer, CollectionContainsOperation, CollectionEvent, CollectionEventFilter, CollectionGetAllOperation, CollectionIsEmptyOperation, CollectionItem, CollectionOperation, CollectionPrepareBackupOperation, CollectionPrepareOperation, CollectionRemoveBackupOperation, CollectionRemoveOperation, CollectionReplicationOperation, CollectionReserveAddOperation, CollectionReserveRemoveOperation, CollectionRollbackBackupOperation, CollectionRollbackOperation, CollectionSizeOperation, CollectionTransactionLog, CollectionTransactionRollbackOperation, CollectionTxnAddBackupOperation, CollectionTxnAddOperation, CollectionTxnRemoveBackupOperation, CollectionTxnRemoveOperation, CombinerResultList, CompareAndRemoveBackupOperation, CompareAndRemoveOperation, CompareAndSetOperation, CompareAndSetOperation, ConfigCheck, ConfigMismatchOperation, ContainsEntryOperation, ContainsKeyOperation, ContainsOperation, ContainsOperation, ContainsValueOperation, ContainsValueOperationFactory, CountDownLatchBackupOperation, CountDownLatchInfo, CountDownLatchReplicationOperation, CountDownOperation, CountOperation, DeadMemberBackupOperation, DefaultObjectNamespace, DeleteOperation, DestroySessionEntryProcessor, DistributedObjectEventPacket, DrainBackupOperation, DrainBackupOperation, DrainOperation, DrainOperation, Echo, EntryBackupOperation, EntryEventData, EntryEventFilter, EntryOperation, EntrySetOperation, EntrySetOperationFactory, EntrySetResponse, EventServiceImpl.DeregistrationOperation, EventServiceImpl.EmptyFilter, EventServiceImpl.EventPacket, EventServiceImpl.PostJoinRegistrationOperation, EventServiceImpl.Registration, EventServiceImpl.RegistrationOperation, EventServiceImpl.SendEventOperation, EvictAllBackupOperation, EvictAllOperation, EvictAllOperationFactory, EvictOperation, FinalizeJoinOperation, FireNotificationOperation, GetAllOperation, GetAllOperation, GetAndAddOperation, GetAndAlterOperation, GetAndAlterOperation, GetAndSetOperation, GetAndSetOperation, GetCountOperation, GetEntryViewOperation, GetLockCountOperation, GetMapConfigOperation, GetOperation, GetOperation, GetOperation, GetRemainingLeaseTimeOperation, GetResultOperation, GetResultOperationFactory, GroupMismatchOperation, HashMapAdapter, HasOngoingMigration, HazelcastExpiryPolicy, HeartbeatOperation, HigherHitsMapMergePolicy, InitBackupOperation, InitOperation, IntermediateChunkNotification, InternalLockNamespace, InvalidateNearCacheOperation, InvalidateSessionAttributesEntryProcessor, Invalidation, IsEmptyOperation, IsEmptyOperationFactory, IsLockedOperation, IsNullOperation, IsReplicaVersionSync, IsStillExecutingOperation, IteratorOperation, JoinCheckOperation, JoinMessage, JoinRequest, JoinRequestOperation, KeyBasedMapOperation, KeyPredicateSupplier, KeysAssignmentOperation, KeysAssignmentResult, KeySetOperation, KeyValueJobOperation, LastChunkNotification, LatestUpdateMapMergePolicy, ListAddAllOperation, ListAddOperation, ListContainer, ListGetOperation, ListIndexOfOperation, ListKeyValueSource, ListRemoveOperation, ListReplicationOperation, ListSetBackupOperation, ListSetOperation, ListSubOperation, LoadAllOperation, LocalLockCleanupOperation, LockAwareOperation, LockBackupOperation, LockOperation, LockReplicationOperation, LockStoreImpl, MapConfigAdapter, MapEntrySet, MapEntrySetOperation, MapEventData, MapFlushOperation, MapFlushOperationFactory, MapGetAllOperationFactory, MapIsEmptyOperation, MapKeySet, MapKeySetOperation, MapKeySetOperationFactory, MapKeyValueSource, MapLoadAllOperationFactory, MapPutAllOperationFactory, MapReduceNotification, MapReplicationOperation, MapReplicationRemove, MapReplicationUpdate, MapSizeOperation, MapTransactionLog, MapValueCollection, MapValuesOperation, MapValuesOperationFactory, MasterClaimOperation, MasterConfirmationOperation, MasterDiscoveryOperation, MaxSizeConfig, MaxSizeConfigReadOnly, MemberAttributeChange, MemberAttributeChangedOperation, MemberAttributeEvent, MemberAttributeServiceEvent, MemberAwareMapReduceNotification, MemberCallableTaskOperation, MemberImpl, MemberInfo, MemberInfoUpdateOperation, MemberRemoveOperation, MemcacheEntry, MergeClustersOperation, MergeOperation, MigrationEvent, MigrationInfo, MigrationOperation, MigrationRequestOperation, MultiMapBackupAwareOperation, MultiMapEventFilter, MultiMapKeyBasedOperation, MultiMapKeyValueSource, MultiMapMigrationOperation, MultiMapOperation, MultiMapOperationFactory, MultiMapRecord, MultiMapResponse, MultiMapTransactionLog, MultipleEntryBackupOperation, MultipleEntryOperation, MultipleEntryOperationFactory, MultiReplicationMessage, NearCacheConfig, NearCacheConfigReadOnly, NearCacheKeySetInvalidationOperation, NormalResponse, NotifyRemoteExceptionOperation, OfferBackupOperation, OfferOperation, Operation, OperationFactoryWrapper, PagingPredicate, PartitionAwareKey, PartitionCheckIfLoadedOperation, PartitionCheckIfLoadedOperationFactory, PartitionIteratingOperation, PartitionIteratingOperation.PartitionResponse, PartitionRuntimeState, PartitionsResponse, PartitionStateOperation, PartitionWideEntryBackupOperation, PartitionWideEntryOperation, PartitionWideEntryOperationFactory, PartitionWideEntryWithPredicateBackupOperation, PartitionWideEntryWithPredicateOperation, PartitionWideEntryWithPredicateOperationFactory, PassThroughMergePolicy, PeekOperation, Permit, PollBackupOperation, PollOperation, PostJoinClientOperation, PostJoinMapOperation, PostJoinOperation, PostPonePartitionProcessing, PredicateBuilder, Predicates.AbstractPredicate, Predicates.AndPredicate, Predicates.BetweenPredicate, Predicates.EqualPredicate, Predicates.GreaterLessPredicate, Predicates.ILikePredicate, Predicates.InPredicate, Predicates.LikePredicate, Predicates.NotEqualPredicate, Predicates.NotPredicate, Predicates.OrPredicate, Predicates.RegexPredicate, PredicateSupplier, PrepareMergeOperation, ProcessingOperation, ProcessStatsUpdateOperation, ProxyServiceImpl.DistributedObjectDestroyOperation, ProxyServiceImpl.PostJoinProxyOperation, PublishOperation, PurgeTxBackupOperation, PutAllBackupOperation, PutAllOperation, PutBackupOperation, PutBackupOperation, PutFromLoadAllBackupOperation, PutFromLoadAllOperation, PutIfAbsentMapMergePolicy, PutIfAbsentOperation, PutOperation, PutOperation, PutTransientOperation, QueryEventFilter, QueryOperation, QueryPartitionOperation, QueryResult, QueryResultEntryImpl, QueryResultSet, QueueBackupAwareOperation, QueueContainer, QueueEvent, QueueEventFilter, QueueItem, QueueOperation, QueueReplicationOperation, QueueTransactionLog, QueueTransactionRollbackOperation, RecordInfo, RecordReplicationInfo, RecordStatistics, RecoveredTransaction, RecoverTxnOperation, ReduceBackupOperation, ReduceOperation, ReducingFinishedNotification, ReferenceSessionEntryProcessor, ReleaseBackupOperation, ReleaseOperation, RemainingCapacityOperation, RemoveAllBackupOperation, RemoveAllOperation, RemoveBackupOperation, RemoveBackupOperation, RemoveBackupOperation, RemoveIfSameOperation, RemoveInterceptorOperation, RemoveInterceptorOperationFactory, RemoveOperation, RemoveOperation, RemoveOperation, ReplaceIfSameOperation, ReplaceOperation, ReplicaSyncRequest, ReplicaSyncResponse, ReplicaSyncRetryResponse, ReplicatedMapClearOperation, ReplicatedMapInitChunkOperation, ReplicatedMapPostJoinOperation, ReplicatedMapPostJoinOperation.MemberMapPair, ReplicatedRecord, ReplicateTxOperation, ReplicationMessage, RequestMemberIdAssignment, RequestPartitionMapping, RequestPartitionProcessed, RequestPartitionReducing, RequestPartitionResult, Response, RestValue, RollbackTxBackupOperation, RunnableAdapter, SafeStateCheckOperation, ScriptExecutorOperation, SemaphoreBackupAwareOperation, SemaphoreBackupOperation, SemaphoreDeadMemberOperation, SemaphoreOperation, SemaphoreReplicationOperation, SerializableCollection, SerializableXID, SessionAttributePredicate, SetAdapter, SetAndGetOperation, SetBackupOperation, SetBackupOperation, SetContainer, SetCountOperation, SetKeyValueSource, SetMasterOperation, SetOperation, SetOperation, SetOperation, SetReplicationOperation, ShutdownOperation, SignalBackupOperation, SignalOperation, SimpleEntryView, SizeOperation, SizeOperation, SizeOperationFactory, SqlPredicate, StartProcessingJobOperation, SyntheticEventFilter, ThreadDumpOperation, Timestamp, TopicEvent, TraceableIsStillExecutingOperation, TransactionOptions, TruePredicate, TryPutOperation, TryRemoveOperation, TxCollectionItem, TxnCommitBackupOperation, TxnCommitOperation, TxnDeleteOperation, TxnGenerateRecordIdOperation, TxnLockAndGetOperation, TxnLockAndGetOperation, TxnOfferBackupOperation, TxnOfferOperation, TxnPeekOperation, TxnPollBackupOperation, TxnPollOperation, TxnPrepareBackupOperation, TxnPrepareBackupOperation, TxnPrepareBackupOperation, TxnPrepareOperation, TxnPrepareOperation, TxnPrepareOperation, TxnPutBackupOperation, TxnPutOperation, TxnRemoveAllBackupOperation, TxnRemoveAllOperation, TxnRemoveBackupOperation, TxnRemoveOperation, TxnReserveOfferBackupOperation, TxnReserveOfferOperation, TxnReservePollBackupOperation, TxnReservePollOperation, TxnRollbackBackupOperation, TxnRollbackBackupOperation, TxnRollbackBackupOperation, TxnRollbackOperation, TxnRollbackOperation, TxnRollbackOperation, TxnSetOperation, TxnUnlockBackupOperation, TxnUnlockOperation, TxQueueItem, UnlockBackupOperation, UnlockIfLeaseExpiredOperation, UnlockOperation, UpdateManagementCenterUrlOperation, UpdateMapConfigOperation, ValuesOperation, VectorClockTimestamp, VersionAwareMapMergePolicy, VersionedValue, WanOriginatedDeleteOperation, WanReplicationEvent

public interface DataSerializable

DataSerializable is a serialization method as an alternative to standard Java serialization. DataSerializable is very similar to Externalizable and relies on reflection to create instances using classnames.

See Also:
IdentifiedDataSerializable, Portable, VersionedPortable

Method Summary
 void readData(ObjectDataInput in)
          Reads fields from the input stream
 void writeData(ObjectDataOutput out)
          Writes object fields to output stream
 

Method Detail

writeData

void writeData(ObjectDataOutput out)
               throws IOException
Writes object fields to output stream

Parameters:
out - output
Throws:
IOException

readData

void readData(ObjectDataInput in)
              throws IOException
Reads fields from the input stream

Parameters:
in - input
Throws:
IOException


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