Package de.hybris.platform.cluster
Interface BroadcastService
- All Known Implementing Classes:
DefaultBroadcastService
public interface BroadcastService
TODO apidoc
-
Method Summary
Modifier and TypeMethodDescriptionbooleanaccept(RawMessage message) Returnstrueif the given message is by the current broadcast service acceptedgetBroadcastMethod(String methodName) TODO apidocTODO apidoclongTODO apidocvoidregisterBroadcastListener(BroadcastMessageListener listener, boolean remoteMessagesOnly) TODO apidocvoidsend(RawMessage message) TODO apidocvoidTODO apidoc
-
Method Details
-
send
TODO apidoc- Parameters:
message-
-
registerBroadcastListener
TODO apidoc- Parameters:
listener-remoteMessagesOnly-
-
unregisterBroadcastListener
TODO apidoc- Parameters:
listener-
-
getDynamicClusterNodeID
long getDynamicClusterNodeID()TODO apidoc- Returns:
- the dynamic cluster node id
-
getBroadcastMethod
TODO apidoc- Parameters:
methodName-- Returns:
- BroadcastMethod
-
getBroadcastMethodNames
TODO apidoc- Returns:
- Set
-
accept
Returnstrueif the given message is by the current broadcast service accepted- Parameters:
message- the message to check- Returns:
falseif not
-