public interface CacheObjectPortableProcessor extends IgniteCacheObjectProcessor
GridComponent.DiscoveryDataExchangeType| Modifier and Type | Method and Description |
|---|---|
void |
addMeta(int typeId,
PortableMetadata newMeta) |
PortableBuilder |
builder(int typeId) |
PortableBuilder |
builder(PortableObject portableObj)
Creates builder initialized by existing portable object.
|
PortableBuilder |
builder(String clsName) |
Object |
marshalToPortable(Object obj) |
Collection<PortableMetadata> |
metadata() |
Map<Integer,PortableMetadata> |
metadata(Collection<Integer> typeIds) |
PortableMetadata |
metadata(int typeId) |
IgnitePortables |
portables() |
void |
updateMetaData(int typeId,
String typeName,
String affKeyFieldName,
Map<String,Integer> fieldTypeIds) |
contextForCache, field, hasField, immutable, isPortableEnabled, isPortableObject, marshal, onUtilityCacheStarted, prepareForCache, toCacheKeyObject, toCacheObject, toCacheObject, toCacheObject, typeId, typeId, unmarshal, unwrapTemporarycollectDiscoveryData, discoveryDataType, onDisconnected, onDiscoveryDataReceived, onKernalStart, onKernalStop, onReconnected, printMemoryStats, start, stop, validateNodePortableBuilder builder(int typeId)
typeId - Type ID.PortableBuilder builder(String clsName)
clsName - Class name.PortableBuilder builder(PortableObject portableObj)
portableObj - Portable object to edit.void addMeta(int typeId,
PortableMetadata newMeta)
throws IgniteException
typeId - Type ID.newMeta - New meta data.IgniteException - In case of error.void updateMetaData(int typeId,
String typeName,
@Nullable
String affKeyFieldName,
Map<String,Integer> fieldTypeIds)
throws IgniteException
typeId - Type ID.typeName - Type name.affKeyFieldName - Affinity key field name.fieldTypeIds - Fields map.IgniteException - In case of error.@Nullable PortableMetadata metadata(int typeId) throws IgniteException
typeId - Type ID.IgniteException - In case of error.Map<Integer,PortableMetadata> metadata(Collection<Integer> typeIds) throws IgniteException
typeIds - Type ID.IgniteException - In case of error.Collection<PortableMetadata> metadata() throws IgniteException
IgniteException - In case of error.IgnitePortables portables() throws IgniteException
IgniteException - If failed.Object marshalToPortable(Object obj) throws IgniteException
obj - Original object.IgniteException - If failed.
Follow @ApacheIgnite
Ignite Fabric : ver. 1.4.0 Release Date : September 24 2015