Package 

Class LiveMapUpdate


  • 
    public class LiveMapUpdate
    extends ObjectUpdate
                        

    Represents an update that occurred on a LiveMap object. Contains information about which keys were modified and whether they were updated or removed.

    • Nested Class Summary

      Nested Classes 
      Modifier and Type Class Description
      public enum LiveMapUpdate.Change

      Indicates the type of change that occurred to a map key.

    • Method Summary

      Modifier and Type Method Description
      Map<String, LiveMapUpdate.Change> getUpdate() Gets the map of key changes that occurred in this update.
      String toString() Returns a string representation of this LiveMapUpdate.
      • Methods inherited from class java.lang.Object

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

      • LiveMapUpdate

        LiveMapUpdate()
        Creates a no-op LiveMapUpdate representing no actual change.
      • LiveMapUpdate

        LiveMapUpdate(Map<String, LiveMapUpdate.Change> update)
        Creates a LiveMapUpdate with the specified key changes.
        Parameters:
        update - map of key names to their change types (UPDATED or REMOVED)