public class TabletLocationState extends Object
Modifier and Type | Class and Description |
---|---|
static class |
TabletLocationState.BadLocationStateException |
Modifier and Type | Field and Description |
---|---|
boolean |
chopped |
TServerInstance |
current |
KeyExtent |
extent |
TServerInstance |
future |
TServerInstance |
last |
Collection<Collection<String>> |
walogs |
Constructor and Description |
---|
TabletLocationState(KeyExtent extent,
TServerInstance future,
TServerInstance current,
TServerInstance last,
Collection<Collection<String>> walogs,
boolean chopped) |
Modifier and Type | Method and Description |
---|---|
TServerInstance |
getServer() |
TabletState |
getState(Set<TServerInstance> liveServers) |
String |
toString() |
public final KeyExtent extent
public final TServerInstance future
public final TServerInstance current
public final TServerInstance last
public final Collection<Collection<String>> walogs
public final boolean chopped
public TabletLocationState(KeyExtent extent, TServerInstance future, TServerInstance current, TServerInstance last, Collection<Collection<String>> walogs, boolean chopped) throws TabletLocationState.BadLocationStateException
public TServerInstance getServer()
public TabletState getState(Set<TServerInstance> liveServers)
Copyright © 2011–2018 The Apache Software Foundation. All rights reserved.