A CacheDatabaseColumn represents a column of a database table.
It is composed of a DatabaseColumn object and an
ArrayList of cache entries.
author: Emmanuel Cecchet author: Julie Marguerite author: Sara Bouchenak version: 1.0
Two CacheDatabaseColumn are equals if they have the same
DatabaseColumn.
Parameters: other - the object to compare with true if the objects are the same
Invalidates all cache entries depending on this column.
invalidateAllNonUnique
public synchronized void invalidateAllNonUnique()(Code)
Invalidates all cache entries depending on this column that are non
UNIQUE.
invalidateAllNonUniqueAndMarkDirtyUnique
public synchronized void invalidateAllNonUniqueAndMarkDirtyUnique()(Code)
Invalidates all cache entries depending on this column that are non
UNIQUE and mark dirty UNIQUE queries.
invalidateAllUniqueWithValuesAndAllNonUnique
public synchronized void invalidateAllUniqueWithValuesAndAllNonUnique(String val, ArrayList columns, ArrayList values)(Code)
Invalidates all cache entries depending on this column that are either non-
unique or unique and associated with given values.
Parameters: val - a String representing the value of the currentcolumn. Parameters: columns - an ArrayList of CacheDatabaseColumn objects Parameters: values - an ArrayList of String objects representingvalues.
markDirtyAllNonUnique
public synchronized void markDirtyAllNonUnique()(Code)
Marks dirty all valid cache entries depending on this colum that are non
unique.