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.server.zookeeper.ZooKeeperUpdatingListenerBuilder
-
Returns a newly-created
ZooKeeperUpdatingListener
instance that registers the server to ZooKeeper when the server starts.
C
- close() - Method in class com.linecorp.armeria.client.zookeeper.ZooKeeperEndpointGroup
- com.linecorp.armeria.client.zookeeper - package com.linecorp.armeria.client.zookeeper
-
ZooKeeper-based
EndpointGroup
implementation. - com.linecorp.armeria.common.zookeeper - package com.linecorp.armeria.common.zookeeper
-
Common classes will be used by Server and Client implementations.
- com.linecorp.armeria.server.zookeeper - package com.linecorp.armeria.server.zookeeper
-
/** Automatic service registration and discovery with ZooKeeper.
- 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).
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
-
Default
NodeValueCodec
implementation which assumes zNode value is a comma-separated string.
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.server.zookeeper.ZooKeeperUpdatingListener
-
Creates a ZooKeeper server listener, which registers server into ZooKeeper.
S
- 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. - ZooKeeperEndpointGroup(String, String, int) - Constructor for class com.linecorp.armeria.client.zookeeper.ZooKeeperEndpointGroup
-
Create a ZooKeeper-based
EndpointGroup
, endpoints will be retrieved from a node's all children's node value usingNodeValueCodec
. - ZooKeeperEndpointGroup(String, String, int, NodeValueCodec) - Constructor for class com.linecorp.armeria.client.zookeeper.ZooKeeperEndpointGroup
-
Create a ZooKeeper-based
EndpointGroup
, endpoints will be retrieved from a node's all children's node value usingNodeValueCodec
. - ZooKeeperEndpointGroup(CuratorFramework, String, NodeValueCodec) - Constructor for class com.linecorp.armeria.client.zookeeper.ZooKeeperEndpointGroup
-
Create a ZooKeeper-based
EndpointGroup
, endpoints will be retrieved from a node's all children's node value usingNodeValueCodec
. - ZooKeeperUpdatingListener - Class in com.linecorp.armeria.server.zookeeper
-
A ZooKeeper Server Listener.
- 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
-
Creates a
ZooKeeperUpdatingListenerBuilder
with a ZooKeeper connection string and a zNode path. - ZooKeeperUpdatingListenerBuilder(CuratorFramework, String) - Constructor for class com.linecorp.armeria.server.zookeeper.ZooKeeperUpdatingListenerBuilder
-
Creates a
ZooKeeperUpdatingListenerBuilder
with aCuratorFramework
instance and a zNode path.
All Classes All Packages