Top Description Methods
net.sf.ehcache.transaction

public Interface SoftLockFactory

Known Direct Implementers
net.sf.ehcache.transaction.ReadCommittedSoftLockFactory

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

Method Summary

Modifier and TypeMethod and Description
public SoftLock

Returns:

a new soft lock
newSoftLock
(SoftLockManager
soft lock manager
manager
,
Object
key to generate against
key
)

Construct a new softlock to be managed by the given manager for a specific key.

Method Detail

newSoftLockback to summary
public SoftLock newSoftLock(SoftLockManager manager, Object key)

Construct a new softlock to be managed by the given manager for a specific key.

Parameters
manager:SoftLockManager

soft lock manager

key:Object

key to generate against

Returns:SoftLock

a new soft lock