ehcache

net.sf.ehcache.transaction
Class ReadCommittedSoftLockFactory

java.lang.Object
  extended by 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

Constructor Summary
ReadCommittedSoftLockFactory()
           
 
Method Summary
 ReadCommittedSoftLockImpl newSoftLock(SoftLockManager manager, Object key)
          Construct a new softlock to be managed by the given manager for a specific key.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ReadCommittedSoftLockFactory

public ReadCommittedSoftLockFactory()
Method Detail

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 manager
key - key to generate against
Returns:
a new soft lock

ehcache

Copyright 2001-2017, Terracotta, Inc.