com.liferay.portal.cluster
Class ClusterExecutorImpl
java.lang.Object
com.liferay.portal.cluster.ClusterBase
com.liferay.portal.cluster.ClusterExecutorImpl
- All Implemented Interfaces:
- com.liferay.portal.kernel.cluster.ClusterExecutor
public class ClusterExecutorImpl
- extends ClusterBase
- implements com.liferay.portal.kernel.cluster.ClusterExecutor
View Source
- Author:
- Tina Tian
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Methods inherited from interface com.liferay.portal.kernel.cluster.ClusterExecutor |
isEnabled |
ClusterExecutorImpl
public ClusterExecutorImpl()
destroy
public void destroy()
- Specified by:
destroy
in class ClusterBase
executeMulticastCall
public java.util.Map<com.liferay.portal.kernel.cluster.Address,java.util.concurrent.Future<?>> executeMulticastCall(com.liferay.portal.kernel.util.MethodWrapper methodWrapper)
- Specified by:
executeMulticastCall
in interface com.liferay.portal.kernel.cluster.ClusterExecutor
executeUnicastCall
public java.util.concurrent.Future<?> executeUnicastCall(com.liferay.portal.kernel.cluster.Address address,
com.liferay.portal.kernel.util.MethodWrapper methodWrapper)
- Specified by:
executeUnicastCall
in interface com.liferay.portal.kernel.cluster.ClusterExecutor
getControlAddresses
public java.util.List<com.liferay.portal.kernel.cluster.Address> getControlAddresses()
- Specified by:
getControlAddresses
in interface com.liferay.portal.kernel.cluster.ClusterExecutor
getLocalControlAddress
public com.liferay.portal.kernel.cluster.Address getLocalControlAddress()
- Specified by:
getLocalControlAddress
in interface com.liferay.portal.kernel.cluster.ClusterExecutor
isShortcutLocalMethod
public boolean isShortcutLocalMethod()
- Specified by:
isShortcutLocalMethod
in interface com.liferay.portal.kernel.cluster.ClusterExecutor
setShortcutLocalMethod
public void setShortcutLocalMethod(boolean shortcutLocalMethod)
initChannels
protected void initChannels()
throws org.jgroups.ChannelException
- Specified by:
initChannels
in class ClusterBase
- Throws:
org.jgroups.ChannelException
runLocalMethod
protected FutureResult<java.lang.Object> runLocalMethod(com.liferay.portal.kernel.util.MethodWrapper methodWrapper)