public class ClusterableInvokerUtil
extends Object
Constructor and Description |
---|
ClusterableInvokerUtil() |
Modifier and Type | Method and Description |
---|---|
static MethodHandler |
createMethodHandler(Class<? extends ClusterInvokeAcceptor> clusterInvokeAcceptorClass,
Object targetObject,
Method method,
Object[] arguments) |
static void |
invokeOnCluster(Class<? extends ClusterInvokeAcceptor> clusterInvokeAcceptorClass,
Object targetObject,
Method method,
Object[] arguments) |
static Object |
invokeOnMaster(Class<? extends ClusterInvokeAcceptor> clusterInvokeAcceptorClass,
Object targetObject,
Method method,
Object[] arguments) |
public static MethodHandler createMethodHandler(Class<? extends ClusterInvokeAcceptor> clusterInvokeAcceptorClass, Object targetObject, Method method, Object[] arguments)
public static void invokeOnCluster(Class<? extends ClusterInvokeAcceptor> clusterInvokeAcceptorClass, Object targetObject, Method method, Object[] arguments) throws Throwable
Throwable
public static Object invokeOnMaster(Class<? extends ClusterInvokeAcceptor> clusterInvokeAcceptorClass, Object targetObject, Method method, Object[] arguments) throws Throwable
Throwable