Interface InstantiatorGenerator
- All Known Implementing Classes:
AsmInstantiatorGenerator
public interface InstantiatorGenerator
Factory that generates
Instantiator
classes to improve instantiation of
custom types.-
Method Summary
Modifier and TypeMethodDescriptionorg.apache.geode.Instantiator
getInstantiator
(Class<? extends org.apache.geode.DataSerializable> clazz, int classId) Returns a (potentially new) Instantiator that optimizes the instantiation of the given types.
-
Method Details
-
getInstantiator
org.apache.geode.Instantiator getInstantiator(Class<? extends org.apache.geode.DataSerializable> clazz, int classId) Returns a (potentially new) Instantiator that optimizes the instantiation of the given types.- Parameters:
clazz
- class produced by the instantiatorclassId
- instantiator class id- Returns:
- an instantiator optimized for the given type.
-