Class CacheOperations


  • public class CacheOperations
    extends java.lang.Object
    • Constructor Summary

      Constructors 
      Constructor Description
      CacheOperations()  
    • Method Summary

      All Methods Static Methods Concrete Methods 
      Modifier and Type Method Description
      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
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • CacheOperations

        public CacheOperations()
    • Method Detail

      • 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.