|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.apache.hadoop.service.AbstractService org.apache.hadoop.service.CompositeService org.apache.hadoop.registry.client.impl.zk.CuratorService org.apache.hadoop.registry.client.impl.zk.RegistryOperationsService org.apache.hadoop.registry.client.impl.RegistryOperationsClient
@InterfaceAudience.Public @InterfaceStability.Evolving public class RegistryOperationsClient
This is the client service for applications to work with the registry. It does not set up the root paths for the registry, is bonded to a user, and can be set to use SASL, anonymous or id:pass auth. For SASL, the client must be operating in the context of an authed user. For id:pass the client must have the relevant id & password, SASL is not used even if the client has credentials. For anonymous, nothing is used. Any SASL-authed client also has the ability to add one or more authentication id:pass pair on all future writes, and to reset them later.
Field Summary |
---|
Fields inherited from class org.apache.hadoop.service.CompositeService |
---|
STOP_ONLY_STARTED_SERVICES |
Constructor Summary | |
---|---|
RegistryOperationsClient(String name)
|
|
RegistryOperationsClient(String name,
RegistryBindingSource bindingSource)
|
Method Summary |
---|
Methods inherited from class org.apache.hadoop.registry.client.impl.zk.RegistryOperationsService |
---|
bind, delete, exists, getClientAcls, list, mknode, resolve, stat, validatePath |
Methods inherited from class org.apache.hadoop.registry.client.impl.zk.CuratorService |
---|
addWriteAccessor, bindingDiagnosticDetails, buildConnectionString, buildSecurityDiagnostics, clearWriteAccessors, createEnsembleProvider, createFullPath, dumpPath, dumpRegistryRobustly, getBindingSource, getRegistrySecurity, isSecure, maybeCreate, operationFailure, operationFailure, serviceInit, serviceStart, serviceStop, supplyBindingInformation, toString, zkCreate, zkDelete, zkGetACLS, zkList, zkMkParentPath, zkMkPath, zkPathExists, zkPathMustExist, zkRead, zkSet, zkStat, zkUpdate |
Methods inherited from class org.apache.hadoop.service.CompositeService |
---|
addIfService, addService, getServices, removeService |
Methods inherited from class org.apache.hadoop.service.AbstractService |
---|
close, getBlockers, getConfig, getFailureCause, getFailureState, getLifecycleHistory, getName, getServiceState, getStartTime, init, isInState, noteFailure, putBlocker, registerGlobalListener, registerServiceListener, removeBlocker, setConfig, start, stop, unregisterGlobalListener, unregisterServiceListener, waitForServiceToStop |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Methods inherited from interface org.apache.hadoop.registry.client.api.RegistryOperations |
---|
addWriteAccessor, clearWriteAccessors |
Methods inherited from interface org.apache.hadoop.service.Service |
---|
close, getBlockers, getConfig, getFailureCause, getFailureState, getLifecycleHistory, getName, getServiceState, getStartTime, init, isInState, registerServiceListener, start, stop, unregisterServiceListener, waitForServiceToStop |
Constructor Detail |
---|
public RegistryOperationsClient(String name)
public RegistryOperationsClient(String name, RegistryBindingSource bindingSource)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |