Package de.calamanari.pk.coarsegrainedlock

  • Class Summary
    Class Description
    Address
    Address - entity in COARSE GRAINED LOCK example
    CoarseGrainedLockTest
    Coarse Grained Lock Test - demonstrates COARSE GRAINED LOCK pattern.
    Customer
    Customer - entity in COARSE GRAINED LOCK example
    InMemoryLockManager
    In-Memory Lock Manager - manages locks in the COARSE GRAINED LOCK example
    In non-distributed scenarios it often makes more sense to leverage an in-memory lock management rather than storing lock information in database tables.
    A big advantage (besides performance) of in-memory management is the fact that the system is always in a clean state after startup (no lock zombies surviving in lock tables).
    InMemoryLockManager.ElementLock
    Implementation of an immutable element lock with metadata and option to wait for release
    Order
    Order - entity in COARSE GRAINED LOCK example
  • Enum Summary
    Enum Description
    InMemoryLockManager.LockType
    Enumeration of supported lock types