2.8.5. Distributed Coordination

Lock

distributed recursive unfair lock

Semaphore

distributed semaphore

Atomic Long

distributed counter

Atomic Reference

distributed atomic object storage (not quite reference)

Positive Negative Counter

distributed counter with relaxed consistency

Countdown Latch

distributed counter with wait for zero support

ID Generator

cluster wide unique identifier generator (for long integers)

  • embeds node identity to avoid communication

  • provides rough time ordering (k-ordering)