Package com.caplin.motif.datasource
Class CacheOperations
java.lang.Object
com.caplin.motif.datasource.CacheOperations
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionstatic void
copyFieldsInto
(com.caplin.datasource.messaging.Message oldMessage, com.caplin.datasource.messaging.Message newMessage) Overwrites the fields in the old message with fields in the new message
-
Constructor Details
-
CacheOperations
public CacheOperations()
-
-
Method Details
-
copyFieldsInto
public static void copyFieldsInto(com.caplin.datasource.messaging.Message oldMessage, com.caplin.datasource.messaging.Message newMessage) Overwrites the fields in the old message with fields in the new message- Parameters:
oldMessage
- The message which contains the old data. It will contain the intersection of old and new message afterwards.newMessage
- The message which contains new data. It will remain intact afterwards.
-