public class ZooKeeperHiveLock extends HiveLock
Constructor and Description |
---|
ZooKeeperHiveLock(String path,
HiveLockObject obj,
HiveLockMode mode) |
Modifier and Type | Method and Description |
---|---|
boolean |
equals(Object o) |
HiveLockMode |
getHiveLockMode() |
HiveLockObject |
getHiveLockObject() |
String |
getPath() |
void |
setHiveLockMode(HiveLockMode mode) |
void |
setHiveLockObject(HiveLockObject obj) |
void |
setPath(String path) |
public ZooKeeperHiveLock(String path, HiveLockObject obj, HiveLockMode mode)
public String getPath()
public void setPath(String path)
public HiveLockObject getHiveLockObject()
getHiveLockObject
in class HiveLock
public void setHiveLockObject(HiveLockObject obj)
public HiveLockMode getHiveLockMode()
getHiveLockMode
in class HiveLock
public void setHiveLockMode(HiveLockMode mode)
Copyright © 2017 The Apache Software Foundation. All rights reserved.