public class TiStore extends Object implements Serializable
Constructor and Description |
---|
TiStore(Metapb.Store store) |
Modifier and Type | Method and Description |
---|---|
boolean |
equals(Object obj) |
String |
getAddress() |
long |
getId() |
Metapb.Store |
getProxyStore() |
Metapb.Store |
getStore() |
boolean |
isReachable() |
boolean |
isTiFlash() |
boolean |
isValid() |
void |
markInvalid() |
void |
markReachable() |
void |
markUnreachable() |
TiStore |
withProxy(Metapb.Store proxyStore) |
public TiStore(Metapb.Store store)
public TiStore withProxy(Metapb.Store proxyStore)
public void markUnreachable()
public void markReachable()
public boolean isReachable()
public boolean isValid()
public void markInvalid()
public Metapb.Store getStore()
public String getAddress()
public Metapb.Store getProxyStore()
public long getId()
public boolean isTiFlash()
Copyright © 2024 PingCAP. All rights reserved.