| Package | Description |
|---|---|
| org.apache.twill.zookeeper |
This package provides functionality for ZooKeeper interactions.
|
| Modifier and Type | Class and Description |
|---|---|
class |
ForwardingZKClientService |
| Modifier and Type | Method and Description |
|---|---|
ZKClientService |
ZKClientService.Builder.build()
Creates an instance of
ZKClientService with the settings of this builder. |
static ZKClientService |
ZKClientServices.delegate(ZKClient client)
Creates a
ZKClientService from the given ZKClient if the given ZKClient is an instance of
ZKClientService or is a ForwardingZKClient that eventually trace back to a delegate of type
ZKClientService. |
static ZKClientService |
ZKClientServices.delegate(ZKClient client,
ZKClientService clientService)
Creates a
ZKClientService that for all ZKClient methods would be delegated to another
ZKClient, while methods for ZKClientService would be delegated to another ZKClientService,
which the given ZKClient and ZKClientService could be different instances. |
| Modifier and Type | Method and Description |
|---|---|
static ZKClientService |
ZKClientServices.delegate(ZKClient client,
ZKClientService clientService)
Creates a
ZKClientService that for all ZKClient methods would be delegated to another
ZKClient, while methods for ZKClientService would be delegated to another ZKClientService,
which the given ZKClient and ZKClientService could be different instances. |
| Constructor and Description |
|---|
ForwardingZKClientService(ZKClientService delegate) |
Copyright © 2013-2016 The Apache Software Foundation. All rights reserved.