Class JGroupsBroadcastMethod
- java.lang.Object
-
- de.hybris.platform.cluster.AbstractBroadcastMethod
-
- de.hybris.platform.cluster.jgroups.JGroupsBroadcastMethod
-
- All Implemented Interfaces:
BroadcastMethod
public class JGroupsBroadcastMethod extends AbstractBroadcastMethod
-
-
Field Summary
Fields Modifier and Type Field Description static java.lang.StringBASE_CONFIG_DIR
-
Constructor Summary
Constructors Constructor Description JGroupsBroadcastMethod()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidinit(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 shutdown-
Methods inherited from class de.hybris.platform.cluster.AbstractBroadcastMethod
getListeners, getSettings, notifyMessgageReceived, registerProcessor, unregisterProcessor
-
-
-
-
Field Detail
-
BASE_CONFIG_DIR
public static final java.lang.String BASE_CONFIG_DIR
- See Also:
- Constant Field Values
-
-
Method Detail
-
send
public void send(RawMessage message)
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
public void init(BroadcastService service)
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)
-
-