Package de.hybris.platform.task.impl
Class RepollEvent
java.lang.Object
java.util.EventObject
org.springframework.context.ApplicationEvent
de.hybris.platform.servicelayer.event.events.AbstractEvent
de.hybris.platform.task.impl.RepollEvent
- All Implemented Interfaces:
ClusterAwareEvent,TransactionAwareEvent,Serializable
- See Also:
-
Constructor Summary
Constructors -
Method Summary
Methods inherited from class de.hybris.platform.servicelayer.event.events.AbstractEvent
getScope, getSource, isFromCluster, setFromCluster, setScope, toStringMethods inherited from class org.springframework.context.ApplicationEvent
getTimestampMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface de.hybris.platform.servicelayer.event.ClusterAwareEvent
canPublish
-
Constructor Details
-
RepollEvent
-
-
Method Details
-
publish
public boolean publish(int sourceNodeId, int targetNodeId) Always returnstrue(publish to all nodes).- Specified by:
publishin interfaceClusterAwareEvent- Returns:
trueif event should be published from source cluster node to target cluster node- See Also:
-
getNodeGroupId
-
getNodeId
-
getId
Always returnsthis.- Specified by:
getIdin interfaceTransactionAwareEvent- Returns:
- the id
- See Also:
-
publishOnCommitOnly
public boolean publishOnCommitOnly()Always returnstrue(on commit only).- Specified by:
publishOnCommitOnlyin interfaceTransactionAwareEvent- See Also:
-