Package org.apache.bookkeeper.net
package org.apache.bookkeeper.net
Network-related classes.
-
ClassDescriptionThis is a base class for DNS to Switch mappings.This is an identifier for a BookieID.Bookie Node implementation.This is a data wrapper class that is an InetSocketAddress, it would use the hostname provided in constructors directly.A cached implementation of DNSToSwitchMapping that takes an raw DNSToSwitchMapping and stores the resolved network location in a cache.Common Configuration Keys.A class that provides direct and reverse lookup functionalities, allowing the querying of specific network interfaces or nameservers.An interface that must be implemented to allow pluggable DNS-name/IP-address to RackID resolvers.Network Utilities.Network Topology Interface.The class represents a cluster of computer with a tree hierarchical network topology.InnerNode represents a switch/router of a data center or rack.A marker for an InvalidTopology Exception.The interface defines a node in a network topology.A base class that implements interface Node.This class implements the
DNSToSwitchMappinginterface using a script configured via theCommonConfigurationKeys.NET_TOPOLOGY_SCRIPT_FILE_NAME_KEYoption.This is going to provide a stabilize network topology regarding to flapping zookeeper registration.