public static class ZkCloseRegionCoordination.ZkCloseRegionDetails extends Object implements CloseRegionCoordination.CloseRegionDetails
Modifier and Type | Field and Description |
---|---|
private int |
expectedVersion
The version of znode to compare when RS transitions the znode from
CLOSING state.
|
private boolean |
publishStatusInZk
True if we are to update zk about the region close; if the close
was orchestrated by master, then update zk.
|
Constructor and Description |
---|
ZkCloseRegionCoordination.ZkCloseRegionDetails() |
ZkCloseRegionCoordination.ZkCloseRegionDetails(boolean publishStatusInZk,
int expectedVersion) |
Modifier and Type | Method and Description |
---|---|
int |
getExpectedVersion() |
boolean |
isPublishStatusInZk() |
void |
setExpectedVersion(int expectedVersion) |
void |
setPublishStatusInZk(boolean publishStatusInZk) |
private boolean publishStatusInZk
private int expectedVersion
Copyright © 2007–2019 The Apache Software Foundation. All rights reserved.