corda / net.corda.node.services.transactions / DistributedImmutableMap / <init>

# <init>

`DistributedImmutableMap(db: Database, tableName: String)`

A distributed map state machine that doesn't allow overriding values. The state machine is replicated across a Copycat Raft cluster.

The map contents are backed by a JDBC table. State re-synchronisation is achieved by periodically persisting snapshots to disk, and sharing them across the cluster. A new node joining the cluster will have to obtain and install a snapshot containing the entire JDBC table contents.