Interface SoftLockFactory

  • All Known Implementing Classes:
    ReadCommittedSoftLockFactory

    public interface SoftLockFactory
    A factory of soft-locks supporting a specific isolation level.
    Author:
    Chris Dennis
    • Method Detail

      • newSoftLock

        SoftLock newSoftLock​(SoftLockManager manager,
                             java.lang.Object key)
        Construct a new softlock to be managed by the given manager for a specific key.
        Parameters:
        manager - soft lock manager
        key - key to generate against
        Returns:
        a new soft lock