public abstract class DistributedCollectionConfig<C extends DistributedCollectionConfig<C>> extends CachedPrimitiveConfig<C>
| Constructor and Description |
|---|
DistributedCollectionConfig() |
| Modifier and Type | Method and Description |
|---|---|
C |
addExtraType(Class<?> extraType)
Adds an extra serializable type.
|
Class<?> |
getElementType()
Returns the element type.
|
List<Class<?>> |
getExtraTypes()
Returns the extra serializable types.
|
boolean |
isCompatibleSerialization()
Returns whether compatible serialization is enabled.
|
boolean |
isRegistrationRequired()
Returns whether registration is required for serializable types.
|
C |
setCompatibleSerialization(boolean compatibleSerialization)
Sets whether compatible serialization is enabled.
|
C |
setElementType(Class<?> elementType)
Sets the collection element type.
|
C |
setExtraTypes(List<Class<?>> extraTypes)
Sets the extra serializable types.
|
C |
setRegistrationRequired(boolean registrationRequired)
Sets whether registration is required for serializable types.
|
getCacheConfig, setCacheConfiggetName, getNamespaceConfig, getProtocolConfig, isReadOnly, setName, setNamespaceConfig, setProtocolConfig, setReadOnly, setReadOnlyequals, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgetTypepublic Class<?> getElementType()
public C setElementType(Class<?> elementType)
elementType - the collection element typepublic List<Class<?>> getExtraTypes()
public C setExtraTypes(List<Class<?>> extraTypes)
extraTypes - the extra serializable typespublic C addExtraType(Class<?> extraType)
extraType - the extra type to addpublic boolean isRegistrationRequired()
public C setRegistrationRequired(boolean registrationRequired)
registrationRequired - whether registration is required for serializable typespublic boolean isCompatibleSerialization()
public C setCompatibleSerialization(boolean compatibleSerialization)
compatibleSerialization - whether compatible serialization is enabledCopyright © 2013–2018. All rights reserved.