public class HALeaseManagementModule
extends com.google.inject.AbstractModule
| Constructor and Description |
|---|
HALeaseManagementModule() |
HALeaseManagementModule(long leasePeriodInMs,
String tsoLeasePath,
String currentTsoPath,
String zkCluster,
String zkNamespace) |
| Modifier and Type | Method and Description |
|---|---|
protected void |
configure() |
String |
getCurrentTsoPath() |
long |
getLeasePeriodInMs() |
String |
getTsoLeasePath() |
String |
getZkCluster() |
String |
getZkNamespace() |
void |
setCurrentTsoPath(String currentTsoPath) |
void |
setLeasePeriodInMs(long leasePeriodInMs) |
void |
setTsoLeasePath(String tsoLeasePath) |
void |
setZkCluster(String zkCluster) |
void |
setZkNamespace(String zkNamespace) |
addError, addError, addError, bind, bind, bind, bindConstant, binder, bindInterceptor, bindListener, bindScope, configure, convertToTypes, currentStage, getMembersInjector, getMembersInjector, getProvider, getProvider, install, requestInjection, requestStaticInjection, requireBinding, requireBindingprotected void configure()
configure in class com.google.inject.AbstractModulepublic String getCurrentTsoPath()
public void setCurrentTsoPath(String currentTsoPath)
public long getLeasePeriodInMs()
public void setLeasePeriodInMs(long leasePeriodInMs)
public String getTsoLeasePath()
public void setTsoLeasePath(String tsoLeasePath)
public String getZkCluster()
public void setZkCluster(String zkCluster)
public String getZkNamespace()
public void setZkNamespace(String zkNamespace)
Copyright © 2011–2020 Apache Software Foundation. All rights reserved.