|
Nuxeo Enterprise Platform 5.4 | |||||||||
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 | |
---|---|
java.util.Set<RowId> |
deleted
null when empty |
static int |
DELETED
|
java.util.Set<RowId> |
modified
null when empty |
static int |
MODIFIED
|
static java.lang.String |
PARENT
Pseudo-table to use to notify about children invalidated. |
Constructor Summary | |
---|---|
Invalidations()
|
Method Summary | |
---|---|
void |
add(Invalidations other)
|
void |
add(java.io.Serializable id,
java.lang.String[] tableNames,
int kind)
|
void |
addDeleted(RowId rowId)
|
void |
addDeleted(java.util.Set<RowId> rowIds)
|
void |
addModified(RowId rowId)
|
void |
addModified(java.util.Set<RowId> rowIds)
|
void |
clear()
|
boolean |
contains(RowId rowId)
|
java.util.Set<RowId> |
getKindSet(int kind)
only call this if it's to add at least one element in the set |
boolean |
isEmpty()
|
java.lang.String |
toString()
|
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Field Detail |
---|
public static final java.lang.String PARENT
public static final int MODIFIED
public static final int DELETED
public java.util.Set<RowId> modified
public java.util.Set<RowId> deleted
Constructor Detail |
---|
public Invalidations()
Method Detail |
---|
public boolean isEmpty()
public void clear()
public boolean contains(RowId rowId)
public java.util.Set<RowId> getKindSet(int kind)
public void add(Invalidations other)
public void addModified(RowId rowId)
public void addModified(java.util.Set<RowId> rowIds)
public void addDeleted(RowId rowId)
public void addDeleted(java.util.Set<RowId> rowIds)
public void add(java.io.Serializable id, java.lang.String[] tableNames, int kind)
public java.lang.String toString()
toString
in class java.lang.Object
|
Nuxeo Enterprise Platform 5.4 | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |