public abstract class AbstractEquivalentContentStore extends Object implements EquivalentContentStore
| Constructor and Description |
|---|
AbstractEquivalentContentStore(ContentResolver contentResolver,
EquivalenceGraphStore graphStore) |
| Modifier and Type | Method and Description |
|---|---|
void |
updateContent(ResourceRef ref)
Updates the resource referred to by the reference in its equivalence set.
|
void |
updateEquivalences(EquivalenceGraphUpdate update)
Update equivalence sets as represented by the changes in the provided update.
|
protected abstract void |
updateEquivalences(com.google.common.collect.ImmutableSetMultimap<EquivalenceGraph,Content> graphsAndContent,
EquivalenceGraphUpdate update) |
protected abstract void |
updateInSet(EquivalenceGraph graph,
Content content) |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitresolveIdspublic AbstractEquivalentContentStore(ContentResolver contentResolver, EquivalenceGraphStore graphStore)
public final void updateEquivalences(EquivalenceGraphUpdate update) throws WriteException
EquivalentContentStoreupdateEquivalences in interface EquivalentContentStoreWriteExceptionprotected abstract void updateEquivalences(com.google.common.collect.ImmutableSetMultimap<EquivalenceGraph,Content> graphsAndContent, EquivalenceGraphUpdate update)
public final void updateContent(ResourceRef ref) throws WriteException
EquivalentContentStoreupdateContent in interface EquivalentContentStoreref - - reference to the resource which has changed.WriteException - - if the update fails.protected abstract void updateInSet(EquivalenceGraph graph, Content content)
Copyright © 2014. All rights reserved.