net.sf.ehcache.transaction
Class ReadCommittedSoftLockFactory
java.lang.Object
net.sf.ehcache.transaction.ReadCommittedSoftLockFactory
- All Implemented Interfaces:
- SoftLockFactory
public class ReadCommittedSoftLockFactory
- extends Object
- implements SoftLockFactory
A factory of read-committed soft locks.
- Author:
- Chris Dennis
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ReadCommittedSoftLockFactory
public ReadCommittedSoftLockFactory()
newSoftLock
public ReadCommittedSoftLockImpl newSoftLock(SoftLockManager manager,
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 managerkey
- key to generate against
- Returns:
- a new soft lock
Copyright 2001-2014, Terracotta, Inc.