|
Nuxeo ECM Projects 5.4.3-SNAPSHOT | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.nuxeo.ecm.core.storage.sql.Invalidations
public class Invalidations
A set of invalidations.
Records both modified and deleted fragments, as well as "parents modified" fragments.
Nested Class Summary | |
---|---|
static class |
Invalidations.InvalidationsPair
|
Field Summary | |
---|---|
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 Summary | |
---|---|
Invalidations()
|
Method Summary | |
---|---|
void |
add(Invalidations other)
|
void |
add(Serializable id,
String[] tableNames,
int kind)
|
void |
addDeleted(RowId rowId)
|
void |
addDeleted(Set<RowId> rowIds)
|
void |
addModified(RowId rowId)
|
void |
addModified(Set<RowId> rowIds)
|
void |
clear()
|
boolean |
contains(RowId rowId)
|
Set<RowId> |
getKindSet(int kind)
only call this if it's to add at least one element in the set |
boolean |
isEmpty()
|
String |
toString()
|
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Field Detail |
---|
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 Set<RowId> modified
public Set<RowId> deleted
Constructor Detail |
---|
public Invalidations()
Method Detail |
---|
public boolean isEmpty()
public void clear()
public boolean contains(RowId rowId)
public Set<RowId> getKindSet(int kind)
public void add(Invalidations other)
public void addModified(RowId rowId)
public void addModified(Set<RowId> rowIds)
public void addDeleted(RowId rowId)
public void addDeleted(Set<RowId> rowIds)
public void add(Serializable id, String[] tableNames, int kind)
public String toString()
toString
in class Object
|
Nuxeo ECM Projects 5.4.3-SNAPSHOT | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |