Class CacheProxy

java.lang.Object
io.microconfig.utils.CacheProxy
All Implemented Interfaces:
java.lang.reflect.InvocationHandler

public class CacheProxy
extends java.lang.Object
implements java.lang.reflect.InvocationHandler
  • Constructor Summary

    Constructors 
    Constructor Description
    CacheProxy()  
  • Method Summary

    Modifier and Type Method Description
    static <T> T cache​(T delegate)  
    java.lang.Object invoke​(java.lang.Object proxy, java.lang.reflect.Method method, java.lang.Object[] args)  

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Constructor Details

  • Method Details

    • cache

      public static <T> T cache​(T delegate)
    • invoke

      public java.lang.Object invoke​(java.lang.Object proxy, java.lang.reflect.Method method, java.lang.Object[] args)
      Specified by:
      invoke in interface java.lang.reflect.InvocationHandler