Class JGroupsBroadcastMethod
java.lang.Object
de.hybris.platform.cluster.AbstractBroadcastMethod
de.hybris.platform.cluster.jgroups.JGroupsBroadcastMethod
- All Implemented Interfaces:
BroadcastMethod
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidinit(BroadcastService service) Called once when the messaging method has been registeredprotected voidprocessMessage(org.jgroups.Message messageFromChannel) voidsend(RawMessage message) Sends a raw data message to all connected hybris platform nodesvoidshutdown()Called before system shutdownMethods inherited from class de.hybris.platform.cluster.AbstractBroadcastMethod
getListeners, getSettings, notifyMessgageReceived, registerProcessor, unregisterProcessor
-
Field Details
-
BASE_CONFIG_DIR
- See Also:
-
-
Constructor Details
-
JGroupsBroadcastMethod
public JGroupsBroadcastMethod()
-
-
Method Details
-
send
Description copied from interface:BroadcastMethodSends a raw data message to all connected hybris platform nodes -
shutdown
public void shutdown()Description copied from interface:BroadcastMethodCalled before system shutdown- Specified by:
shutdownin interfaceBroadcastMethod- Overrides:
shutdownin classAbstractBroadcastMethod
-
init
Description copied from interface:BroadcastMethodCalled once when the messaging method has been registered- Specified by:
initin interfaceBroadcastMethod- Overrides:
initin classAbstractBroadcastMethod
-
processMessage
protected void processMessage(org.jgroups.Message messageFromChannel)
-