com.hazelcast.crdt

## Class CRDTReplicationContainer

- java.lang.Object
- - com.hazelcast.crdt.CRDTReplicationContainer

-     public class CRDTReplicationContainer
      extends Object

  A container for a CRDT replication operation. It addition to the operation, it contains additional information that may allow a specific CRDT implementation service to optimise further replication operation contents. For instance, the next replication operation may choose to replicate only CRDT states which have changed from the previous replication operation.

- - ### Constructor Summary

    Constructors
    Constructor and Description
    `CRDTReplicationContainer(Operation operation, Map<String,com.hazelcast.cluster.impl.VectorClock> vectorClocks)`

  - ### Method Summary

    All Methods Instance Methods Concrete Methods
    Modifier and Type | Method and Description
    --- | ---
    `Operation` | `getOperation()` Returns the CRDT replication operation.
    `Map<String,com.hazelcast.cluster.impl.VectorClock>` | `getVectorClocks()` Returns the vector clocks for the CRDTs replicated by the replication operation.

    - ### Methods inherited from class java.lang.Object

      `clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

- - ### Constructor Detail

    - #### CRDTReplicationContainer

          public CRDTReplicationContainer(Operation operation,
                                          Map<String,com.hazelcast.cluster.impl.VectorClock> vectorClocks)

  - ### Method Detail

    - #### getOperation

          public Operation getOperation()

      Returns the CRDT replication operation.

    - #### getVectorClocks

          public Map<String,com.hazelcast.cluster.impl.VectorClock> getVectorClocks()

      Returns the vector clocks for the CRDTs replicated by the replication operation.

Copyright © 2019. All rights reserved.