public class NamedLockProvider extends Object
Constructor and Description |
---|
NamedLockProvider() |
public ReentrantLock forName(String name)
name
- The name of the lock to getReentrantLock
matching the provided
name. One is created if it doesn't already exist. Note that the returned ReentrantLock
should still be aquired and released by the client
calling this method.Copyright © GigaSpaces.