Class ReadCommittedSoftLockFactory

  • All Implemented Interfaces:
    SoftLockFactory

    public class ReadCommittedSoftLockFactory
    extends java.lang.Object
    implements SoftLockFactory
    A factory of read-committed soft locks.
    Author:
    Chris Dennis
    • Constructor Detail

      • ReadCommittedSoftLockFactory

        public ReadCommittedSoftLockFactory()
    • Method Detail

      • newSoftLock

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