public class InvalidationsQueue extends Object
All invalidations added are accumulated (from multiple threads), then returned when asked for.
Modifier and Type | Field and Description |
---|---|
String |
name
used for debugging
|
Invalidations |
queue |
Constructor and Description |
---|
InvalidationsQueue(String name) |
Modifier and Type | Method and Description |
---|---|
void |
addInvalidations(Invalidations invalidations)
Adds invalidations.
|
Invalidations |
getInvalidations()
Gets the queued invalidations and resets the queue.
|
String |
toString() |
public Invalidations queue
public final String name
public InvalidationsQueue(String name)
public void addInvalidations(Invalidations invalidations)
May be called asynchronously from multiple threads.
public Invalidations getInvalidations()
Copyright © 2011 Nuxeo SA. All Rights Reserved.