public class RegisterLockDAOImpl extends EsDAO implements IRegisterLockDAO
| Constructor and Description |
|---|
RegisterLockDAOImpl(ElasticSearchClient client,
int timeout) |
| Modifier and Type | Method and Description |
|---|---|
void |
releaseLock(Scope scope) |
int |
tryLockAndIncrement(Scope scope) |
queryBuildgetClientpublic RegisterLockDAOImpl(ElasticSearchClient client, int timeout)
public int tryLockAndIncrement(Scope scope)
tryLockAndIncrement in interface IRegisterLockDAOpublic void releaseLock(Scope scope)
releaseLock in interface IRegisterLockDAOCopyright © 2019 The Apache Software Foundation. All rights reserved.