protected class BackgroundLoadSave.TransactionQueueLoader extends Object implements Runnable
Constructor and Description |
---|
BackgroundLoadSave.TransactionQueueLoader(String name,
FileRequestQueue queue)
Class constructor
|
Modifier and Type | Method and Description |
---|---|
void |
addTransaction(String name)
Add a transaction to the queue, wakeup the transaction loader if required
|
boolean |
isLoading()
Check if there is a transaction file request record load in progress
|
void |
run()
Run the thread
|
void |
shutdownRequest()
Request the worker thread to shutdown
|
public BackgroundLoadSave.TransactionQueueLoader(String name, FileRequestQueue queue)
name
- Stringqueue
- FileRequestQueuepublic final void shutdownRequest()
public final void addTransaction(String name)
name
- Stringpublic final boolean isLoading()
Copyright © 2005–2018 Alfresco Software. All rights reserved.