public interface MarshallerContext
| Modifier and Type | Method and Description |
|---|---|
Class |
getClass(int typeId,
ClassLoader ldr)
Gets class for provided type ID.
|
String |
getClassName(byte platformId,
int typeId)
Gets class name for provided (platformId, typeId) pair.
|
boolean |
isSystemType(String typeName)
Checks whether the given type is a system one - JDK class or Ignite class.
|
boolean |
registerClassName(byte platformId,
int typeId,
String clsName)
Registers class with provided type ID.
|
boolean registerClassName(byte platformId,
int typeId,
String clsName)
throws IgniteCheckedException
typeId - Type ID.platformId - id of a platform to register class.clsName - class name.IgniteCheckedException - In case of error.Class getClass(int typeId, ClassLoader ldr) throws ClassNotFoundException, IgniteCheckedException
typeId - Type ID.ldr - Class loader.ClassNotFoundException - If class was not found.IgniteCheckedException - In case of any other error.String getClassName(byte platformId, int typeId) throws ClassNotFoundException, IgniteCheckedException
platformId - id of a platform the class was registered for.typeId - Type ID.ClassNotFoundException - If class was not found.IgniteCheckedException - In case of any other error.boolean isSystemType(String typeName)
typeName - Type name.true if the type is a system one, false otherwise.
Follow @ApacheIgnite
Ignite Fabric : ver. 2.0.0 Release Date : April 30 2017