public class CacheInvalidationTopiaEntityListener extends Object implements org.nuiton.topia.persistence.event.TopiaEntityListener, org.nuiton.topia.persistence.event.TopiaTransactionListener
| Modifier and Type | Field and Description |
|---|---|
protected com.google.common.cache.Cache<BoatsFilterValuesCacheKey,BoatsFilterValues> |
boatsFilterValuesCache |
protected Set<String> |
dirtyBoatIds |
protected Set<String> |
dirtyContactIds |
protected Set<String> |
dirtySampleRowIds |
protected boolean |
invalidateAllBoats |
protected boolean |
invalidateAllContacts |
protected boolean |
invalidateAllSampleRows |
protected com.google.common.cache.Cache<SamplingPlanCacheKey,SamplingPlan> |
samplingPlansCache |
protected com.google.common.cache.Cache<ContactsFilter,Synthesis> |
synthesesCache |
| Constructor and Description |
|---|
CacheInvalidationTopiaEntityListener(com.google.common.cache.Cache<SamplingPlanCacheKey,SamplingPlan> samplingPlansCache,
com.google.common.cache.Cache<BoatsFilterValuesCacheKey,BoatsFilterValues> boatsFilterValuesCache,
com.google.common.cache.Cache<ContactsFilter,Synthesis> synthesesCache) |
| Modifier and Type | Method and Description |
|---|---|
protected void |
clear() |
void |
commit(org.nuiton.topia.persistence.event.TopiaTransactionEvent event) |
void |
create(org.nuiton.topia.persistence.event.TopiaEntityEvent event) |
void |
delete(org.nuiton.topia.persistence.event.TopiaEntityEvent event) |
void |
load(org.nuiton.topia.persistence.event.TopiaEntityEvent event) |
void |
rollback(org.nuiton.topia.persistence.event.TopiaTransactionEvent event) |
void |
update(org.nuiton.topia.persistence.event.TopiaEntityEvent event) |
protected com.google.common.cache.Cache<SamplingPlanCacheKey,SamplingPlan> samplingPlansCache
protected com.google.common.cache.Cache<BoatsFilterValuesCacheKey,BoatsFilterValues> boatsFilterValuesCache
protected com.google.common.cache.Cache<ContactsFilter,Synthesis> synthesesCache
protected boolean invalidateAllSampleRows
protected boolean invalidateAllBoats
protected boolean invalidateAllContacts
public CacheInvalidationTopiaEntityListener(com.google.common.cache.Cache<SamplingPlanCacheKey,SamplingPlan> samplingPlansCache, com.google.common.cache.Cache<BoatsFilterValuesCacheKey,BoatsFilterValues> boatsFilterValuesCache, com.google.common.cache.Cache<ContactsFilter,Synthesis> synthesesCache)
public void create(org.nuiton.topia.persistence.event.TopiaEntityEvent event)
create in interface org.nuiton.topia.persistence.event.TopiaEntityListenerpublic void load(org.nuiton.topia.persistence.event.TopiaEntityEvent event)
load in interface org.nuiton.topia.persistence.event.TopiaEntityListenerpublic void update(org.nuiton.topia.persistence.event.TopiaEntityEvent event)
update in interface org.nuiton.topia.persistence.event.TopiaEntityListenerpublic void delete(org.nuiton.topia.persistence.event.TopiaEntityEvent event)
delete in interface org.nuiton.topia.persistence.event.TopiaEntityListenerpublic void commit(org.nuiton.topia.persistence.event.TopiaTransactionEvent event)
commit in interface org.nuiton.topia.persistence.event.TopiaTransactionListenerpublic void rollback(org.nuiton.topia.persistence.event.TopiaTransactionEvent event)
rollback in interface org.nuiton.topia.persistence.event.TopiaTransactionListenerprotected void clear()
Copyright © 2009–2014 Ifremer. All rights reserved.