@Documented
@Retention(value=RUNTIME)
@Target(value=METHOD)
public @interface Clusterable
com.liferay.portal.spring.aop.AopInvocationHandler
, are invoked
across the cluster. By default the methods are invoked on all active nodes in
the cluster.
All Liferay aspect annotations are aware of their scope. Interface aspect
annotations can be overwritten by their implementations. Class level aspect
annotations can be overwritten by method annotations.Modifier and Type | Optional Element and Description |
---|---|
Class<? extends ClusterInvokeAcceptor> |
acceptor
Returns a
ClusterInvokeAcceptor that can filter out invocation on
members of the node in case they are not ready or capable of handling the
invocation. |
boolean |
onMaster
Whether the affected methods should only be invoked on the master node.
|
public abstract Class<? extends ClusterInvokeAcceptor> acceptor
ClusterInvokeAcceptor
that can filter out invocation on
members of the node in case they are not ready or capable of handling the
invocation.