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