public class CacheInvalidateEvent extends Object implements Serializable
| 限定符和类型 | 类和说明 |
|---|---|
static class |
CacheInvalidateEvent.CacheType |
| 构造器和说明 |
|---|
CacheInvalidateEvent(TiRegion region,
boolean updateRegion,
boolean updateStore,
CacheInvalidateEvent.CacheType type) |
| 限定符和类型 | 方法和说明 |
|---|---|
boolean |
equals(Object obj) |
CacheInvalidateEvent.CacheType |
getCacheType() |
TiRegion |
getRegion() |
long |
getStoreId() |
int |
hashCode() |
void |
invalidateRegion() |
void |
invalidateStore() |
boolean |
shouldUpdateRegion() |
boolean |
shouldUpdateStore() |
String |
toString() |
public CacheInvalidateEvent(TiRegion region, boolean updateRegion, boolean updateStore, CacheInvalidateEvent.CacheType type)
public TiRegion getRegion()
public long getStoreId()
public void invalidateRegion()
public void invalidateStore()
public boolean shouldUpdateRegion()
public boolean shouldUpdateStore()
public CacheInvalidateEvent.CacheType getCacheType()
Copyright © 2022 PingCAP. All rights reserved.