Interface StorageEntityMarkMonitor

  • All Superinterfaces:
    one.microstream.persistence.types.PersistenceObjectIdAcceptor
    All Known Implementing Classes:
    StorageEntityMarkMonitor.Default

    public interface StorageEntityMarkMonitor
    extends one.microstream.persistence.types.PersistenceObjectIdAcceptor
    Central instance serving as a locking instance (concurrency monitor) for concurrently marking entities. Via the indirection over a pure OID (long primitives) mark queue, the actual marking, sweeping and concurrency management associated with it is strictly thread local, like the rest of the storage implementation is. Without that centralization and indirection, absolute concurrency correctness is hard to achieve and much more coding effort.