MCPcopy Create free account
hub / github.com/apache/fory / register

Method register

java/fory-core/src/main/java/org/apache/fory/BaseFory.java:45–45  ·  view source on GitHub ↗

Register class and allocate an auto-grown ID for this class. NOTE : The registration order is important. If registration order is inconsistent, the allocated ID will be different, and the deserialization will failed !!! @param cls class to register.

(Class<?> cls)

Source from the content-addressed store, hash-verified

43 * @param cls class to register.
44 */
45 void register(Class<?> cls);
46
47 /**
48 * register class with given id.

Callers 15

compile_functionFunction · 0.65
registerMethod · 0.65
_register_byte_sequenceFunction · 0.65
_register_int32_payloadFunction · 0.65
ThreadSafeExampleClass · 0.65
ObjectStreamExampleClass · 0.65
ExceptionExampleClass · 0.65
ExampleClass · 0.65
BenchmarkClass · 0.65

Implementers 1

Foryjava/fory-core/src/main/java/org/apach

Calls

no outgoing calls