Class InvocationUtil

java.lang.Object
me.ehp246.aufjms.core.util.InvocationUtil

public class InvocationUtil
extends java.lang.Object
Author:
Lei Yang
  • Method Summary

    Modifier and Type Method Description
    static <V> V invoke​(java.util.concurrent.Callable<V> callable)  
    static <V> V invoke​(java.util.concurrent.Callable<V> callable, V def)  

    Methods inherited from class java.lang.Object

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

    • invoke

      public static <V> V invoke​(java.util.concurrent.Callable<V> callable)
    • invoke

      public static <V> V invoke​(java.util.concurrent.Callable<V> callable, V def)