Class CacheObjectBinaryProcessorImpl.TestBinaryContext
- java.lang.Object
-
- org.apache.ignite.internal.binary.BinaryContext
-
- org.apache.ignite.internal.processors.cache.binary.CacheObjectBinaryProcessorImpl.TestBinaryContext
-
- Enclosing class:
- CacheObjectBinaryProcessorImpl
public static class CacheObjectBinaryProcessorImpl.TestBinaryContext extends BinaryContext
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interfaceCacheObjectBinaryProcessorImpl.TestBinaryContext.TestBinaryContextListener
-
Constructor Summary
Constructors Constructor Description TestBinaryContext(BinaryMetadataHandler metaHnd, IgniteConfiguration igniteCfg, IgniteLogger log)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidaddListener(CacheObjectBinaryProcessorImpl.TestBinaryContext.TestBinaryContextListener lsnr)voidclearAllListener()@Nullable BinaryTypemetadata(int typeId)voidupdateMetadata(int typeId, BinaryMetadata meta, boolean failIfUnregistered)-
Methods inherited from class org.apache.ignite.internal.binary.BinaryContext
affinityFieldName, affinityKeyFieldName, collectionType, configuration, configure, configure, createField, defaultIdMapper, defaultMapper, defaultNameMapper, descriptorForClass, descriptorForTypeId, fieldId, identity, isCompactFooter, log, mapType, marshaller, metadata, metadata, metadata0, mustDeserialize, onUndeploy, registerClass, registerClass, registerClassLocally, registerDescriptor, registerPredefinedType, registerPredefinedType, registerUserClassName, registerUserType, registerUserTypesSchema, removeType, schemaRegistry, typeId, unregisterBinarySchemas, unregisterUserTypeDescriptors, userTypeName
-
-
-
-
Constructor Detail
-
TestBinaryContext
public TestBinaryContext(BinaryMetadataHandler metaHnd, IgniteConfiguration igniteCfg, IgniteLogger log)
- Parameters:
metaHnd- Meta handler.igniteCfg- Ignite config.log- Logger.
-
-
Method Detail
-
metadata
@Nullable public @Nullable BinaryType metadata(int typeId) throws BinaryObjectException
- Overrides:
metadatain classBinaryContext- Parameters:
typeId- Type ID.- Returns:
- Meta data.
- Throws:
BinaryObjectException- In case of error.
-
updateMetadata
public void updateMetadata(int typeId, BinaryMetadata meta, boolean failIfUnregistered) throws BinaryObjectException- Overrides:
updateMetadatain classBinaryContext- Parameters:
typeId- Type ID.meta- Meta data.failIfUnregistered- Fail if unregistered.- Throws:
BinaryObjectException- In case of error.
-
addListener
public void addListener(CacheObjectBinaryProcessorImpl.TestBinaryContext.TestBinaryContextListener lsnr)
- Parameters:
lsnr- Listener.
-
clearAllListener
public void clearAllListener()
-
-