Index

B C D E N O S Z 
All Classes All Packages

B

build() - Method in class com.linecorp.armeria.client.zookeeper.ZooKeeperEndpointGroupBuilder
Returns a new ZooKeeperEndpointGroup created with the properties set so far.
build() - Method in class com.linecorp.armeria.server.zookeeper.ZooKeeperUpdatingListenerBuilder
Returns a newly-created ZooKeeperUpdatingListener instance that registers the server to ZooKeeper when the server starts.
builder(String, String) - Static method in class com.linecorp.armeria.client.zookeeper.ZooKeeperEndpointGroup
Returns a new ZooKeeperEndpointGroupBuilder created with the specified ZooKeeper connection string and ZNode path.
builder(String, String) - Static method in class com.linecorp.armeria.server.zookeeper.ZooKeeperUpdatingListener
Returns a ZooKeeperUpdatingListenerBuilder with a ZooKeeper connection string and a zNode path.
builder(CuratorFramework, String) - Static method in class com.linecorp.armeria.client.zookeeper.ZooKeeperEndpointGroup
Returns a new ZooKeeperEndpointGroupBuilder created with the specified CuratorFramework and ZNode path.
builder(CuratorFramework, String) - Static method in class com.linecorp.armeria.server.zookeeper.ZooKeeperUpdatingListener
Returns a ZooKeeperUpdatingListenerBuilder with a CuratorFramework instance and a zNode path.

C

codec(NodeValueCodec) - Method in class com.linecorp.armeria.client.zookeeper.ZooKeeperEndpointGroupBuilder
com.linecorp.armeria.client.zookeeper - package com.linecorp.armeria.client.zookeeper
ZooKeeper-based EndpointGroup for automatic service discovery.
com.linecorp.armeria.common.zookeeper - package com.linecorp.armeria.common.zookeeper
ZooKeeper-related common classes.
com.linecorp.armeria.server.zookeeper - package com.linecorp.armeria.server.zookeeper
ZooKeeper-based automatic service registration.
connectTimeout(Duration) - Method in class com.linecorp.armeria.server.zookeeper.ZooKeeperUpdatingListenerBuilder
Sets the connect timeout.
connectTimeoutMillis(long) - Method in class com.linecorp.armeria.server.zookeeper.ZooKeeperUpdatingListenerBuilder
Sets the connect timeout (in ms).
customizer(Consumer<? super CuratorFrameworkFactory.Builder>) - Method in class com.linecorp.armeria.client.zookeeper.ZooKeeperEndpointGroupBuilder
Specifies the Consumer that customizes the CuratorFramework.

D

decode(byte[]) - Method in interface com.linecorp.armeria.common.zookeeper.NodeValueCodec
Decodes a zNode value to a Endpoint.
decode(String) - Method in interface com.linecorp.armeria.common.zookeeper.NodeValueCodec
Decodes a zNode value to a Endpoint.
decodeAll(byte[]) - Method in interface com.linecorp.armeria.common.zookeeper.NodeValueCodec
Decodes a zNode value into a set of Endpoints.
decodeAll(String) - Method in interface com.linecorp.armeria.common.zookeeper.NodeValueCodec
Decodes a zNode value into a set of Endpoints.
DEFAULT - Static variable in interface com.linecorp.armeria.common.zookeeper.NodeValueCodec
Deprecated.
doCloseAsync(CompletableFuture<?>) - Method in class com.linecorp.armeria.client.zookeeper.ZooKeeperEndpointGroup
 

E

encode(Endpoint) - Method in interface com.linecorp.armeria.common.zookeeper.NodeValueCodec
Encodes a single Endpoint into a byte array representation.
encodeAll(Iterable<Endpoint>) - Method in interface com.linecorp.armeria.common.zookeeper.NodeValueCodec
Encodes a set of Endpoints into a byte array representation.
endpoint(Endpoint) - Method in class com.linecorp.armeria.server.zookeeper.ZooKeeperUpdatingListenerBuilder
Sets the Endpoint to register.

N

nodeValueCodec(NodeValueCodec) - Method in class com.linecorp.armeria.server.zookeeper.ZooKeeperUpdatingListenerBuilder
Sets the NodeValueCodec to encode or decode ZooKeeper data.
NodeValueCodec - Interface in com.linecorp.armeria.common.zookeeper
Decode and encode between list of zNode value strings and list of Endpoints.

O

of(String, String) - Static method in class com.linecorp.armeria.client.zookeeper.ZooKeeperEndpointGroup
Returns a new ZooKeeperEndpointGroup that retrieves the Endpoint list from the ZNode at the specified connection string and path.
of(String, String) - Static method in class com.linecorp.armeria.server.zookeeper.ZooKeeperUpdatingListener
Creates a ZooKeeper server listener, which registers server into ZooKeeper.
of(CuratorFramework, String) - Static method in class com.linecorp.armeria.client.zookeeper.ZooKeeperEndpointGroup
Returns a new ZooKeeperEndpointGroup that retrieves the Endpoint list from the ZNode at the specified path using the specified CuratorFramework.
ofDefault() - Static method in interface com.linecorp.armeria.common.zookeeper.NodeValueCodec
Returns the default NodeValueCodec implementation which assumes zNode value is a comma-separated string.

S

selectionStrategy(EndpointSelectionStrategy) - Method in class com.linecorp.armeria.client.zookeeper.ZooKeeperEndpointGroupBuilder
Sets the EndpointSelectionStrategy of the ZooKeeperEndpointGroup.
serverStarted(Server) - Method in class com.linecorp.armeria.server.zookeeper.ZooKeeperUpdatingListener
 
serverStopping(Server) - Method in class com.linecorp.armeria.server.zookeeper.ZooKeeperUpdatingListener
 
sessionTimeout(Duration) - Method in class com.linecorp.armeria.server.zookeeper.ZooKeeperUpdatingListenerBuilder
Sets the session timeout.
sessionTimeoutMillis(long) - Method in class com.linecorp.armeria.server.zookeeper.ZooKeeperUpdatingListenerBuilder
Sets the session timeout (in ms).

Z

ZooKeeperEndpointGroup - Class in com.linecorp.armeria.client.zookeeper
A ZooKeeper-based EndpointGroup implementation.
ZooKeeperEndpointGroupBuilder - Class in com.linecorp.armeria.client.zookeeper
ZooKeeperUpdatingListener - Class in com.linecorp.armeria.server.zookeeper
A ServerListener which registers the current Server to ZooKeeper as an ephemeral node.
ZooKeeperUpdatingListener(String, String, int) - Constructor for class com.linecorp.armeria.server.zookeeper.ZooKeeperUpdatingListener
ZooKeeperUpdatingListener(String, String, int, Endpoint) - Constructor for class com.linecorp.armeria.server.zookeeper.ZooKeeperUpdatingListener
ZooKeeperUpdatingListenerBuilder - Class in com.linecorp.armeria.server.zookeeper
Builds a new ZooKeeperUpdatingListener, which registers the server to a ZooKeeper cluster.
ZooKeeperUpdatingListenerBuilder(String, String) - Constructor for class com.linecorp.armeria.server.zookeeper.ZooKeeperUpdatingListenerBuilder
ZooKeeperUpdatingListenerBuilder(CuratorFramework, String) - Constructor for class com.linecorp.armeria.server.zookeeper.ZooKeeperUpdatingListenerBuilder
B C D E N O S Z 
All Classes All Packages