public class MultiIndexerLock extends Object
A re-entrant lock that allows callers to query whether the lock is held by a particular indexer.
| Constructor and Description |
|---|
MultiIndexerLock(ReentrantLock globalLock) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
isLockedBy(String indexerId) |
void |
lock(String indexerId) |
void |
unlock(String indexerId) |
public MultiIndexerLock(ReentrantLock globalLock)
Copyright © 2012–2020 JBoss by Red Hat. All rights reserved.