Class ProcedureCache
java.lang.Object
org.openspaces.persistency.support.ProcedureCache
Cache for holding fast reflection based getters/setters/constructors. Instance will be created on
demand and only once.
- Since:
- 9.1.1
- Author:
- Dan Kilman
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionconstructorFor(Constructor<Object> constructor) getterMethodFor(Method getterMethod) setterMethodFor(Method setterMethod)
-
Constructor Details
-
ProcedureCache
public ProcedureCache()
-
-
Method Details
-
getterMethodFor
- Parameters:
getterMethod- TheMethodinstance that matches a property getter.- Returns:
- A matching
IGetterMethodfor this getter method.
-
setterMethodFor
- Parameters:
setterMethod- TheMethodinstance that matches a property setter.- Returns:
- A matching
ISetterMethodfor this setter method.
-
constructorFor
- Parameters:
constructor- The default no-argsConstructormatching a POJO type- Returns:
- A matching
IConstructorfor this contructor.
-