Package | Description |
---|---|
org.apache.hadoop.hbase |
Modifier and Type | Field and Description |
---|---|
static List<ServerName> |
ServerName.EMPTY_SERVER_LIST |
Modifier and Type | Method and Description |
---|---|
static ServerName |
ServerName.parseServerName(String str)
Parse a ServerName from a string
|
static ServerName |
ServerName.parseVersionedServerName(byte[] versionedBytes)
Use this method instantiating a
ServerName from bytes gotten from a call to
getVersionedBytes() . |
static ServerName |
ServerName.valueOf(Address address,
long startCode)
Retrieve an instance of
ServerName . |
static ServerName |
ServerName.valueOf(String serverName)
Retrieve an instance of ServerName.
|
static ServerName |
ServerName.valueOf(String hostname,
int port,
long startCode)
Retrieve an instance of ServerName.
|
static ServerName |
ServerName.valueOf(String hostAndPort,
long startCode)
Retrieve an instance of ServerName.
|
Modifier and Type | Method and Description |
---|---|
int |
ServerName.compareTo(ServerName other) |
static boolean |
ServerName.isSameAddress(ServerName left,
ServerName right)
Compare two addresses
|
Copyright © 2007–2020 The Apache Software Foundation. All rights reserved.