Package io.ably.lib.liveobjects.message
Interface MapCreate
public interface MapCreate
Payload of a
ObjectOperationAction.MAP_CREATE operation, describing the
initial state of the created LiveMap object.
Spec: MCR*
-
Method Summary
Modifier and TypeMethodDescription@NotNull @Unmodifiable Map<String,ObjectsMapEntry> Returns the initial entries of the created map object, indexed by key.@NotNull ObjectsMapSemanticsReturns the conflict-resolution semantics used by the created map object.
-
Method Details
-
getSemantics
Returns the conflict-resolution semantics used by the created map object.Spec: MCR2a
- Returns:
- the map semantics
-
getEntries
Returns the initial entries of the created map object, indexed by key.Spec: MCR2b
- Returns:
- an unmodifiable map of initial entries
-