protected class BackgroundLoadSave.TransactionQueueLoader
extends java.lang.Object
implements java.lang.Runnable
Constructor and Description |
---|
BackgroundLoadSave.TransactionQueueLoader(java.lang.String name,
FileRequestQueue queue)
Class constructor
|
Modifier and Type | Method and Description |
---|---|
void |
addTransaction(java.lang.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(java.lang.String name, FileRequestQueue queue)
name
- Stringqueue
- FileRequestQueuepublic final void shutdownRequest()
public final void addTransaction(java.lang.String name)
name
- Stringpublic final boolean isLoading()
public void run()
run
in interface java.lang.Runnable
Copyright © 2005 - 2010 Alfresco Software, Inc. All Rights Reserved.