Index
B C D E N O S Z
All Classes All Packages
All Classes All Packages
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 specifiedCuratorFramework
and ZNode path. - builder(CuratorFramework, String) - Static method in class com.linecorp.armeria.server.zookeeper.ZooKeeperUpdatingListener
-
Returns a
ZooKeeperUpdatingListenerBuilder
with aCuratorFramework
instance and a zNode path.
C
- codec(NodeValueCodec) - Method in class com.linecorp.armeria.client.zookeeper.ZooKeeperEndpointGroupBuilder
-
Sets the
NodeValueCodec
of theZooKeeperEndpointGroup
. - 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 theCuratorFramework
.
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
Endpoint
s. - decodeAll(String) - Method in interface com.linecorp.armeria.common.zookeeper.NodeValueCodec
-
Decodes a zNode value into a set of
Endpoint
s. - 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
Endpoint
s 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
Endpoint
s.
O
- of(String, String) - Static method in class com.linecorp.armeria.client.zookeeper.ZooKeeperEndpointGroup
-
Returns a new
ZooKeeperEndpointGroup
that retrieves theEndpoint
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 theEndpoint
list from the ZNode at the specified path using the specifiedCuratorFramework
. - 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 theZooKeeperEndpointGroup
. - 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
-
Builds a
ZooKeeperEndpointGroup
. - ZooKeeperUpdatingListener - Class in com.linecorp.armeria.server.zookeeper
- ZooKeeperUpdatingListener(String, String, int) - Constructor for class com.linecorp.armeria.server.zookeeper.ZooKeeperUpdatingListener
-
Deprecated.
- ZooKeeperUpdatingListener(String, String, int, Endpoint) - Constructor for class com.linecorp.armeria.server.zookeeper.ZooKeeperUpdatingListener
-
Deprecated.
- 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
-
Deprecated.
- ZooKeeperUpdatingListenerBuilder(CuratorFramework, String) - Constructor for class com.linecorp.armeria.server.zookeeper.ZooKeeperUpdatingListenerBuilder
-
Deprecated.
All Classes All Packages