public static class ZkOpenRegionCoordination.ZkOpenRegionDetails extends Object implements OpenRegionCoordination.OpenRegionDetails
Modifier and Type | Field and Description |
---|---|
private ServerName |
serverName
Server name the handler is running on.
|
private int |
version |
private int |
versionOfOfflineNode |
Constructor and Description |
---|
ZkOpenRegionCoordination.ZkOpenRegionDetails() |
ZkOpenRegionCoordination.ZkOpenRegionDetails(int versionOfOfflineNode) |
Modifier and Type | Method and Description |
---|---|
ServerName |
getServerName() |
int |
getVersion() |
int |
getVersionOfOfflineNode() |
void |
setServerName(ServerName serverName)
Sets server name on which opening operation is running.
|
void |
setVersion(int version) |
void |
setVersionOfOfflineNode(int versionOfOfflineNode) |
private volatile int version
private volatile int versionOfOfflineNode
private ServerName serverName
public ZkOpenRegionCoordination.ZkOpenRegionDetails()
public ZkOpenRegionCoordination.ZkOpenRegionDetails(int versionOfOfflineNode)
public int getVersionOfOfflineNode()
public void setVersionOfOfflineNode(int versionOfOfflineNode)
public int getVersion()
public void setVersion(int version)
public ServerName getServerName()
getServerName
in interface OpenRegionCoordination.OpenRegionDetails
public void setServerName(ServerName serverName)
OpenRegionCoordination.OpenRegionDetails
setServerName
in interface OpenRegionCoordination.OpenRegionDetails
Copyright © 2007–2019 The Apache Software Foundation. All rights reserved.