Package net.sf.ehcache.transaction
Class ReadCommittedSoftLockFactory
- java.lang.Object
-
- net.sf.ehcache.transaction.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 Summary
Constructors Constructor Description ReadCommittedSoftLockFactory()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ReadCommittedSoftLockImplnewSoftLock(SoftLockManager manager, java.lang.Object key)Construct a new softlock to be managed by the given manager for a specific key.
-
-
-
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:
newSoftLockin interfaceSoftLockFactory- Parameters:
manager- soft lock managerkey- key to generate against- Returns:
- a new soft lock
-
-