Package de.hybris.platform.cluster
Class InvalidationBroadcastHandler
java.lang.Object
de.hybris.platform.cluster.InvalidationBroadcastHandler
- All Implemented Interfaces:
BroadcastMessageListener
Sends and receives invalidation messages to and from a hybris platform cluster.
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionprotected static class -
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoiddestroy()static InvalidationBroadcastHandlerprotected Patternprotected StringobjectToString(Object object) protected voidbooleanprocessMessage(RawMessage message) voidsendMessage(Tenant tenant, Object[] topic, Object[] key, int invalidationType) protected ObjectstringToObject(String string) protected byte[]toBinaryMessage(Tenant tenant, Object[] topic, Object[] key, int invalidationType, long number)
-
Field Details
-
TOPIC_DELIMITER
- See Also:
-
KEY_DELIMITER
- See Also:
-
INVTYPE_DELIMITER
- See Also:
-
NR_DELIMITER
- See Also:
-
KEY_ELEMENT_DELIMITER
-
KIND_INVALIDATION
public static final int KIND_INVALIDATION- See Also:
-
invalidationEventRegExpPattern
-
-
Constructor Details
-
InvalidationBroadcastHandler
-
-
Method Details
-
getInstance
-
sendMessage
-
processMessage
- Specified by:
processMessagein interfaceBroadcastMessageListener
-
processInvalidation
protected void processInvalidation(InvalidationBroadcastHandler.InvalidationEvent event, RawMessage message) -
toBinaryMessage
-
getInvalidationEventPattern
-
stringToObject
-
objectToString
-
destroy
public void destroy()
-