Package com.tangosol.io.pof
Interface PortableObject
- All Known Subinterfaces:
EvolvablePortableObject
- All Known Implementing Classes:
AbstractAggregator
,AbstractBigDecimalAggregator
,AbstractCoherenceBasedCompleteConfiguration
,AbstractComparableAggregator
,AbstractCompositeExtractor
,AbstractDoubleAggregator
,AbstractEvolvableProcessor
,AbstractKeyBasedMap.DeferredCacheEvent
,AbstractLongAggregator
,AbstractPofPath
,AbstractPriorityTask
,AbstractScript
,AllFilter
,AlwaysFilter
,AndFilter
,AnyFilter
,ArrayFilter
,BetweenFilter
,BigDecimalAverage
,BigDecimalMax
,BigDecimalMin
,BigDecimalSum
,CacheEvent
,CacheEventFilter
,ChainedComparator
,ChainedExtractor
,ChainedFragmentExtractor
,ChainedParameterResolver
,CoherenceEntryProcessorResult
,ComparableMax
,ComparableMin
,ComparisonFilter
,ComparisonValueExtractor
,CompositeAggregator
,CompositeAggregator.Parallel
,CompositeKey
,CompositeProcessor
,CompositeUpdater
,ConditionalExtractor
,ConditionalProcessor
,ConditionalPut
,ConditionalPutAll
,ConditionalRemove
,ContainsAllFilter
,ContainsAnyFilter
,ContainsFilter
,ContextJCacheStatistics
,ConverterCollections.ConverterCacheEvent
,ConverterCollections.ConverterMapEvent
,Count
,DefaultVersionedPartitions
,DeserializationAccelerator
,DistinctValues
,DoubleAverage
,DoubleMax
,DoubleMin
,DoubleSum
,EntryComparator
,EntryExtractor
,EqualsFilter
,ExtractorComparator
,ExtractorEventTransformer
,ExtractorFilter
,ExtractorProcessor
,FilterTrigger
,Fragment
,FragmentExtractor
,GreaterEqualsFilter
,GreaterFilter
,GroupAggregator
,GroupAggregator.Parallel
,IdentityExtractor
,InFilter
,InKeySetFilter
,InstanceBuilder
,InverseComparator
,IsNotNullFilter
,IsNullFilter
,JCacheEntryMetaInf
,JCacheIdentifier
,KeyAssociatedFilter
,KeyExtractor
,LessEqualsFilter
,LessFilter
,LikeFilter
,LimitFilter
,LiteralExpression
,LocalCacheAsynchronousMapListener.NonSyntheticEntryFilter
,LocalCacheConfiguration
,LockOwner
,LongMax
,LongMin
,LongSum
,MapEvent
,MapEventFilter
,MapEventTransformerFilter
,MapListenerSupport.FilterEvent
,MethodInvocationProcessor
,MultiExtractor
,NeverFilter
,NonSyntheticEntryFilter
,NotEqualsFilter
,NotFilter
,NullFilter
,NullImplementation.NullEntryProcessor
,NullImplementation.NullMap
,NullImplementation.NullObservableMap
,NullImplementation.NullSet
,NullImplementation.NullValueExtractor
,NullParameterResolver
,NumberIncrementor
,NumberMultiplier
,OrFilter
,OverflowMap.HistoricCacheEvent
,Ownership
,Parameter
,ParameterMacroExpression
,PartitionedCacheAsynchronousMapListener.NonSyntheticEntryFilter
,PartitionedCacheConfiguration
,PartitionedCacheSyntheticDeleteMapListener.JCacheExpiryEntryFilter
,PartitionedFilter
,PartitionedJCacheStatistics.CacheStatisticsExtractor
,PartitionedJCacheStatistics.PartitionedCacheStatisticsAggregator
,PartitionedJCacheStatistics.PartitionedCacheStatisticsClear
,PartitionSet
,PassThroughFilterAdapter
,PermissionInfo
,PermitAcquirer
,PofExtractor
,PofUpdater
,PortableException
,PredicateFilter
,PreloadRequest
,PresentFilter
,PriorityAggregator
,PriorityFilter
,PriorityProcessor
,PropertyManipulator
,PropertyProcessor
,PropertySet
,PropertySpec
,Publisher.FailOnFull
,Publisher.OrderBy
,Publisher.OrderById
,Publisher.OrderByNone
,Publisher.OrderByRoundRobin
,Publisher.OrderByThread
,Publisher.OrderByValue
,QueryRecorder
,ReducerAggregator
,ReflectionExtractor
,ReflectionUpdater
,RegexFilter
,RemoteCacheConfiguration
,RequestIncompleteException
,RequestPolicyException
,RequestTimeoutException
,ResolvableParameterList
,SafeComparator
,SamplingEventTransformer
,ScopedParameterResolver
,ScriptAggregator
,ScriptFilter
,ScriptProcessor
,ScriptValueExtractor
,SemiLiteEventTransformer
,SimpleDocument
,SimpleElement
,SimpleHolder
,SimpleParameterList
,SimplePartitionKey
,SimplePofPath
,SimpleQueryRecord
,SimpleQueryRecord.PartialResult
,SimpleQueryRecord.PartialResult.AbstractRecordableStep
,SimpleQueryRecord.PartialResult.ExplainStep
,SimpleQueryRecord.PartialResult.IndexLookupRecord
,SimpleQueryRecord.PartialResult.Step
,SimpleQueryRecord.PartialResult.TraceStep
,SimpleValue
,StaticContent
,StaticFactoryInstanceBuilder
,Subscriber.CommitResult
,Subscriber.CompleteOnEmpty
,Subscriber.Convert
,Subscriber.Filtered
,Subscriber.Name
,TopNAggregator
,TopNAggregator.PartialResult
,TouchProcessor
,UID
,UniversalExtractor
,UniversalManipulator
,UniversalUpdater
,UpdaterProcessor
,UUID
,ValueChangeEventFilter
,ValueMacroExpression
,VersionedOwnership
,VersionedPut
,VersionedPutAll
,XorFilter
public interface PortableObject
The PortableObject interface is implemented by Java classes that can self-
serialize and deserialize their state to and from a POF data stream.
The readExternal(com.tangosol.io.pof.PofReader)
and writeExternal(com.tangosol.io.pof.PofWriter)
methods of the
PortableObject interface are implemented by a class to give the class
complete control its own POF serialization and deserialization.
- Since:
- Coherence 3.2
- Author:
- cp/jh 2006.07.13
- See Also:
-
Method Summary
Modifier and TypeMethodDescriptionvoid
Restore the contents of a user type instance by reading its state using the specified PofReader object.void
writeExternal
(PofWriter out) Save the contents of a POF user type instance by writing its state using the specified PofWriter object.
-
Method Details
-
readExternal
Restore the contents of a user type instance by reading its state using the specified PofReader object.- Parameters:
in
- the PofReader from which to read the object's state- Throws:
IOException
- if an I/O error occurs
-
writeExternal
Save the contents of a POF user type instance by writing its state using the specified PofWriter object.- Parameters:
out
- the PofWriter to which to write the object's state- Throws:
IOException
- if an I/O error occurs
-