GigaSpaces XAP 9.7.2 API

org.openspaces.persistency.support
Class ProcedureCache

java.lang.Object
  extended by org.openspaces.persistency.support.ProcedureCache

public class ProcedureCache
extends Object

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
ProcedureCache()
           
 
Method Summary
 com.gigaspaces.internal.reflection.IConstructor<Object> constructorFor(Constructor<Object> constructor)
           
 com.gigaspaces.internal.reflection.IGetterMethod<Object> getterMethodFor(Method getterMethod)
           
 com.gigaspaces.internal.reflection.ISetterMethod<Object> setterMethodFor(Method setterMethod)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ProcedureCache

public ProcedureCache()
Method Detail

getterMethodFor

public com.gigaspaces.internal.reflection.IGetterMethod<Object> getterMethodFor(Method getterMethod)
Parameters:
getterMethod - The Method instance that matches a property getter.
Returns:
A matching IGetterMethod for this getter method.

setterMethodFor

public com.gigaspaces.internal.reflection.ISetterMethod<Object> setterMethodFor(Method setterMethod)
Parameters:
setterMethod - The Method instance that matches a property setter.
Returns:
A matching ISetterMethod for this setter method.

constructorFor

public com.gigaspaces.internal.reflection.IConstructor<Object> constructorFor(Constructor<Object> constructor)
Parameters:
constructor - The default no-args Constructor matching a POJO type
Returns:
A matching IConstructor for this contructor.

GigaSpaces XAP 9.7.2 API

Copyright © GigaSpaces.