Class ProcessBulkUpdateRequest
- java.lang.Object
-
- com.broadleafcommerce.bulk.messaging.ProcessBulkUpdateRequest
-
- All Implemented Interfaces:
com.broadleafcommerce.common.messaging.Securable,Serializable
public class ProcessBulkUpdateRequest extends Object implements com.broadleafcommerce.common.messaging.Securable, Serializable
A message representing a request to perform (actually apply) aBulkUpdate.This message should always be consumed by the same microservice (though not necessarily the same node/instance of that microservice) that produces it. Bulk updates can be computationally heavy tasks, and this allows each bulk update to be processed by a different node than the one that originally created it. As a result, it avoids a situation where a single node is responsible for processing lots of bulk updates.
- Author:
- Samarth Dhruva (samarthd)
- See Also:
ProcessBulkUpdateRequestProducer,ProcessBulkUpdateRequestConsumer,BulkUpdate, Serialized Form
-
-
Constructor Summary
Constructors Constructor Description ProcessBulkUpdateRequest(String bulkUpdateId)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected booleancanEqual(Object other)booleanequals(Object o)StringgetBulkUpdateId()The ID of theBulkUpdatethat needs to be processed.StringgetToken()inthashCode()voidsetToken(String token)StringtoString()
-
-
-
Constructor Detail
-
ProcessBulkUpdateRequest
public ProcessBulkUpdateRequest(String bulkUpdateId)
-
-
Method Detail
-
getBulkUpdateId
public String getBulkUpdateId()
The ID of theBulkUpdatethat needs to be processed.- See Also:
BulkUpdate.id
-
getToken
public String getToken()
- Specified by:
getTokenin interfacecom.broadleafcommerce.common.messaging.Securable
-
canEqual
protected boolean canEqual(Object other)
-
setToken
public void setToken(String token)
- Specified by:
setTokenin interfacecom.broadleafcommerce.common.messaging.Securable
-
-