public class CacheInvalidateEvent extends Object implements Serializable
Modifier and Type | Class and Description |
---|---|
static class |
CacheInvalidateEvent.CacheType |
Constructor and Description |
---|
CacheInvalidateEvent(long regionId,
long storeId,
boolean updateRegion,
boolean updateStore,
CacheInvalidateEvent.CacheType type) |
Modifier and Type | Method and Description |
---|---|
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 © 2024 PingCAP. All rights reserved.