Toggle navigation
Home
org.apache.ignite.internal.processors.cache.portable.PortableMetaDataKey to java.lang.Integer
No. of Instances - 3
No. of Commits - 1
No. of Projects - {'ignite'}
Hierarchy/Composition: SIBLING
Primitive Info: -
NameSpace: Internal -> Jdk
Mapping:
Add or Remove Method invocation
key.typeId()
to
oldMeta0
checkMeta(oldMeta0,oldMeta,newMeta,null)
to
checkMeta(key,oldMeta0,newMeta,null)
key.typeId()
to
key0
key0
to
key
key.typeId()
to
oldMeta0
checkMeta(oldMeta0,oldMeta,newMeta,null)
to
checkMeta(key,oldMeta0,newMeta,null)
Cascading Type Change (Similar)
PortableMetaDataKey
to
Integer
ConcurrentHashMap8<PortableMetaDataKey,BinaryType>
to
ConcurrentHashMap8<Integer,BinaryTypeImpl>
Cascading Type Change (Different)
ConcurrentHashMap8.BiFun<PortableMetaDataKey,BinaryType,BinaryType>
to
ConcurrentHashMap8.BiFun<Integer,BinaryTypeImpl,BinaryTypeImpl>
BinaryType
to
BinaryTypeImpl
Update Anonymous class
{ @Override public BinaryType apply( PortableMetaDataKey key, BinaryType oldMeta){ BinaryType res; try { res=checkMeta(key.typeId(),oldMeta,newMeta,null) ? newMeta : oldMeta; } catch ( BinaryObjectException e) { res=oldMeta; } return res; } }
to
{ @Override public BinaryTypeImpl apply( Integer key, BinaryTypeImpl oldMeta){ BinaryMetadata res; BinaryMetadata oldMeta0=oldMeta != null ? oldMeta.metadata() : null; try { res=checkMeta(key,oldMeta0,newMeta,null) ? newMeta : oldMeta0; } catch ( BinaryObjectException e) { res=oldMeta0; } return res != null ? res.wrap(portableCtx) : null; } }
Other
new PortableMetaDataKey(typeId)
to
typeId