Package org.nuxeo.ecm.core.storage
Class InvalidationsQueue<T extends SerializableAccumulableInvalidations>
java.lang.Object
org.nuxeo.ecm.core.storage.InvalidationsQueue<T>
- Type Parameters:
 T- the invalidations type
- Direct Known Subclasses:
 DBSInvalidationsQueue,VCSInvalidationsQueue
public abstract class InvalidationsQueue<T extends SerializableAccumulableInvalidations>
extends Object
Queue of invalidations.
 
All invalidations added are accumulated (from multiple threads), then returned when asked for.
- Since:
 - 11.1
 
- 
Field Summary
Fields - 
Constructor Summary
Constructors - 
Method Summary
Modifier and TypeMethodDescriptionvoidaddInvalidations(T invalidations) Adds invalidations.Gets the queued invalidations and resets the queue.abstract TConstructs new empty invalidations, of typeInvalidationsQueue.toString() 
- 
Field Details
- 
queue
 - 
name
used for debugging 
 - 
 - 
Constructor Details
- 
InvalidationsQueue
 
 - 
 - 
Method Details
- 
newInvalidations
Constructs new empty invalidations, of typeInvalidationsQueue. - 
addInvalidations
Adds invalidations.May be called asynchronously from multiple threads.
 - 
getInvalidations
Gets the queued invalidations and resets the queue. - 
toString
 
 -