public class LockManager extends Object
| Constructor and Description |
|---|
LockManager(org.apache.kylin.common.KylinConfig config,
String lockRootPath) |
LockManager(String lockRootPath) |
| Modifier and Type | Method and Description |
|---|---|
void |
close() |
ResourceLock |
getLock(String name) |
String |
getLockPath(String resourceName) |
void |
releaseLock(ResourceLock lock) |
public ResourceLock getLock(String name) throws Exception
Exceptionpublic void releaseLock(ResourceLock lock) throws IOException
IOExceptionpublic void close()
Copyright © 2014–2017 Apache Software Foundation. All rights reserved.