public interface TranslationSaveQueue
Modifier and Type | Method and Description |
---|---|
java.util.concurrent.ConcurrentLinkedQueue<TranslationUpdate> |
getUpdateQueue() |
void |
registerUpdate()
Forces this service to evaluate the queue and determine if the queues contents exceed the batch limits
|
void |
saveQueue()
Saves every element in the queue with the JCR session
|
void |
saveQueue(int numberOfUpdates)
Saves up to the number of elements passed from the queue
|
java.util.concurrent.ConcurrentLinkedQueue<TranslationUpdate> getUpdateQueue()
void saveQueue()
void saveQueue(int numberOfUpdates)
numberOfUpdates
- Number of updates (maximum) to processvoid registerUpdate()
"Copyright © 2010 - 2020 Adobe Systems Incorporated. All Rights Reserved"