ehcache

net.sf.ehcache.transaction
Interface SoftLockFactory

All Known Implementing Classes:
ReadCommittedSoftLockFactory

public interface SoftLockFactory

A factory of soft-locks supporting a specific isolation level.

Author:
Chris Dennis

Method Summary
 SoftLock newSoftLock(SoftLockManager manager, Object key)
          Construct a new softlock to be managed by the given manager for a specific key.
 

Method Detail

newSoftLock

SoftLock newSoftLock(SoftLockManager manager,
                     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

ehcache

Copyright 2001-2015, Terracotta, Inc.