@PublicEvolving public abstract class TypeSerializerConfigSnapshot extends VersionedIOReadableWritable
TypeSerializerConfigSnapshot
is a point-in-time view of a TypeSerializer's
configuration.
The configuration snapshot of a serializer is persisted along with checkpoints of the managed state that the
serializer is registered to.
The persisted configuration may later on be used by new serializers to ensure serialization compatibility for the same managed state. In order for new serializers to be able to ensure this, the configuration snapshot should encode sufficient information about:
NOTE: Implementations must contain the default empty nullary constructor. This is required to be able to deserialize the configuration snapshot from its binary form.
Constructor and Description |
---|
TypeSerializerConfigSnapshot() |
Modifier and Type | Method and Description |
---|---|
abstract boolean |
equals(Object obj) |
ClassLoader |
getUserCodeClassLoader()
Returns the user code class loader.
|
abstract int |
hashCode() |
void |
setUserCodeClassLoader(ClassLoader userCodeClassLoader)
Set the user code class loader.
|
getCompatibleVersions, getReadVersion, read, write
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
getVersion
@Internal public final void setUserCodeClassLoader(ClassLoader userCodeClassLoader)
This method is not part of the public user-facing API, and cannot be overriden.
userCodeClassLoader
- user code class loader.@Internal public final ClassLoader getUserCodeClassLoader()
Copyright © 2014–2020 The Apache Software Foundation. All rights reserved.