com.liferay.portal.kernel.cluster
Class ClusterExecutorUtil

java.lang.Object
  extended by com.liferay.portal.kernel.cluster.ClusterExecutorUtil

public class ClusterExecutorUtil
extends java.lang.Object

View Source

Author:
Tina Tian

Constructor Summary
ClusterExecutorUtil()
           
 
Method Summary
static java.util.Map<Address,java.util.concurrent.Future<?>> executeMulticastCall(MethodWrapper methodWrapper)
           
static java.util.concurrent.Future<?> executeUnicastCall(Address address, MethodWrapper methodWrapper)
           
static Address getAddress(Message message)
           
static ClusterExecutor getClusterExecutor()
           
static java.util.List<Address> getControlAddresses()
           
static Address getLocalControlAddresses()
           
static boolean isShortcutLocalMethod()
           
 void setClusterExecutor(ClusterExecutor clusterExecutor)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ClusterExecutorUtil

public ClusterExecutorUtil()
Method Detail

executeMulticastCall

public static java.util.Map<Address,java.util.concurrent.Future<?>> executeMulticastCall(MethodWrapper methodWrapper)

executeUnicastCall

public static java.util.concurrent.Future<?> executeUnicastCall(Address address,
                                                                MethodWrapper methodWrapper)

getAddress

public static Address getAddress(Message message)

getClusterExecutor

public static ClusterExecutor getClusterExecutor()

getControlAddresses

public static java.util.List<Address> getControlAddresses()

getLocalControlAddresses

public static Address getLocalControlAddresses()

isShortcutLocalMethod

public static boolean isShortcutLocalMethod()

setClusterExecutor

public void setClusterExecutor(ClusterExecutor clusterExecutor)