No need to validate here.
git-svn-id: svn+ssh://src.earth.threerings.net/vilya/trunk@402 c613c5cb-e716-0410-b11b-feb51c14d237
This commit is contained in:
@@ -79,6 +79,9 @@ public class StatRepository extends DepotRepository
|
|||||||
throws PersistenceException
|
throws PersistenceException
|
||||||
{
|
{
|
||||||
CacheInvalidator invalidator = new CacheInvalidator() {
|
CacheInvalidator invalidator = new CacheInvalidator() {
|
||||||
|
public void validateFlushType (Class<?> pClass) {
|
||||||
|
// no need, we know we're good
|
||||||
|
}
|
||||||
public void invalidate (PersistenceContext ctx) {
|
public void invalidate (PersistenceContext ctx) {
|
||||||
ctx.cacheTraverse(
|
ctx.cacheTraverse(
|
||||||
StatRecord.class.getName(), new CacheEvictionFilter<StatRecord>() {
|
StatRecord.class.getName(), new CacheEvictionFilter<StatRecord>() {
|
||||||
|
|||||||
Reference in New Issue
Block a user