com.liferay.portal.kernel.cluster
Interface ClusterExecutor


public interface ClusterExecutor

View Source

Author:
Shuyang Zhou

Method Summary
 java.util.Map<Address,java.util.concurrent.Future<?>> executeMulticastCall(MethodWrapper methodWrapper)
           
 java.util.concurrent.Future<?> executeUnicastCall(Address address, MethodWrapper methodWrapper)
           
 java.util.List<Address> getControlAddresses()
           
 Address getLocalControlAddress()
           
 boolean isEnabled()
           
 boolean isShortcutLocalMethod()
           
 

Method Detail

executeMulticastCall

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

executeUnicastCall

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

getControlAddresses

java.util.List<Address> getControlAddresses()

getLocalControlAddress

Address getLocalControlAddress()

isEnabled

boolean isEnabled()

isShortcutLocalMethod

boolean isShortcutLocalMethod()