public class Invalidations extends Object implements Serializable
Records both modified and deleted fragments, as well as "parents modified" fragments.
Modifier and Type | Class and Description |
---|---|
static class |
Invalidations.InvalidationsPair |
Modifier and Type | Field and Description |
---|---|
boolean |
all
used locally when invalidating everything
|
Set<RowId> |
deleted
null when empty
|
static int |
DELETED |
Set<RowId> |
modified
null when empty
|
static int |
MODIFIED |
static String |
PARENT
Pseudo-table for children invalidation.
|
static String |
SERIES_PROXIES
Pseudo-table for series proxies invalidation.
|
static String |
TARGET_PROXIES
Pseudo-table for target proxies invalidation.
|
Constructor and Description |
---|
Invalidations() |
Invalidations(boolean all) |
Modifier and Type | Method and Description |
---|---|
void |
add(Invalidations other) |
void |
add(Serializable id,
String[] tableNames,
int kind) |
void |
addDeleted(RowId rowId) |
void |
addModified(RowId rowId) |
void |
clear() |
Set<RowId> |
getKindSet(int kind)
only call this if it's to add at least one element in the set
|
boolean |
isEmpty() |
String |
toString() |
public static final String PARENT
public static final String SERIES_PROXIES
public static final String TARGET_PROXIES
public static final int MODIFIED
public static final int DELETED
public boolean all
public Invalidations()
public Invalidations(boolean all)
public boolean isEmpty()
public void clear()
public Set<RowId> getKindSet(int kind)
public void add(Invalidations other)
public void addModified(RowId rowId)
public void addDeleted(RowId rowId)
public void add(Serializable id, String[] tableNames, int kind)
Copyright © 2013 Nuxeo SA. All Rights Reserved.