public interface MarshallerContext
| Modifier and Type | Method and Description |
|---|---|
Class |
getClass(int id,
ClassLoader ldr)
Gets class for provided type ID.
|
boolean |
isSystemType(String typeName)
Checks whether the given type is a system one - JDK class or Ignite class.
|
boolean |
registerClass(int id,
Class cls)
Registers class with provided type ID.
|
boolean registerClass(int id,
Class cls)
throws IgniteCheckedException
id - Type ID.cls - Class.IgniteCheckedException - In case of error.Class getClass(int id, ClassLoader ldr) throws ClassNotFoundException, IgniteCheckedException
id - Type ID.ldr - Class loader.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. 1.5.11 Release Date : April 8 2016