|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface IResourceBackgroundQueue
| Nested Class Summary | |
|---|---|
static interface |
IResourceBackgroundQueue.IListener
|
static interface |
IResourceBackgroundQueue.INotificationQueue
|
static interface |
IResourceBackgroundQueue.IQueuedNotification
|
static interface |
IResourceBackgroundQueue.IRequest
|
static interface |
IResourceBackgroundQueue.IRequestQueue
|
static interface |
IResourceBackgroundQueue.IRequestTicketMap
|
| Method Summary | |
|---|---|
boolean |
_doNextQueuedBackgroundProcess()
Process a single queued background operation. |
void |
_fireOnFrameCallbacks()
Fires all the queued events for background loaded resources. |
void |
_initThread()
Initialise processing for a background thread. |
void |
_queueFireBackgroundLoadingComplete(IResource res)
Queue the firing of the 'background loading complete' event to a event. |
void |
_queueFireBackgroundPreparingComplete(IResource res)
Queue the firing of the 'background preparing complete' event to a event. |
boolean |
getStartBackgroundThread()
Gets whether or not a thread should be created and started to handle the background loading, or whether a user thread will call the appropriate hooks. |
void |
initialise()
Initialise the background queue system. |
long |
initialiseAllResourceGroups(IResourceBackgroundQueue.IListener listener)
Initialise all resource groups which are yet to be initialised in the background. |
long |
initialiseResourceGroup(java.lang.String name,
IResourceBackgroundQueue.IListener listener)
Initialise a resource group in the background. |
boolean |
isProcessComplete(long ticket)
Returns whether a previously queued process has completed or not. |
long |
load(java.lang.String resType,
java.lang.String name,
java.lang.String group,
boolean isManual,
IManualResourceLoader loader,
INameValuePairList loadParams,
IResourceBackgroundQueue.IListener listener)
Load a single resource in the background. |
long |
loadResourceGroup(java.lang.String name,
IResourceBackgroundQueue.IListener listener)
Loads a resource group in the background. |
long |
prepare(java.lang.String resType,
java.lang.String name,
java.lang.String group,
boolean isManual,
IManualResourceLoader loader,
INameValuePairList loadParams,
IResourceBackgroundQueue.IListener listener)
Prepare a single resource in the background. |
long |
prepareResourceGroup(java.lang.String name,
IResourceBackgroundQueue.IListener listener)
Prepares a resource group in the background. |
void |
setStartBackgroundThread(boolean startThread)
Sets whether or not a thread should be created and started to handle the background loading, or whether a user thread will call the appropriate hooks. |
void |
shutdown()
Shut down the background queue system. |
long |
unload(java.lang.String resType,
long handle,
IResourceBackgroundQueue.IListener listener)
Unload a single resource in the background. |
long |
unload(java.lang.String resType,
java.lang.String name,
IResourceBackgroundQueue.IListener listener)
Unload a single resource in the background. |
long |
unloadResourceGroup(java.lang.String name,
IResourceBackgroundQueue.IListener listener)
Unloads a resource group in the background. |
| Methods inherited from interface org.xbig.base.INativeObject |
|---|
delete, disconnectFromNativeObject, getInstancePointer, setInstancePointer, setInstancePointer, setInstancePointer |
| Method Detail |
|---|
void setStartBackgroundThread(boolean startThread)
boolean getStartBackgroundThread()
void initialise()
void shutdown()
long initialiseResourceGroup(java.lang.String name,
IResourceBackgroundQueue.IListener listener)
long initialiseAllResourceGroups(IResourceBackgroundQueue.IListener listener)
long prepareResourceGroup(java.lang.String name,
IResourceBackgroundQueue.IListener listener)
long loadResourceGroup(java.lang.String name,
IResourceBackgroundQueue.IListener listener)
long unload(java.lang.String resType,
java.lang.String name,
IResourceBackgroundQueue.IListener listener)
long unload(java.lang.String resType,
long handle,
IResourceBackgroundQueue.IListener listener)
long unloadResourceGroup(java.lang.String name,
IResourceBackgroundQueue.IListener listener)
long prepare(java.lang.String resType,
java.lang.String name,
java.lang.String group,
boolean isManual,
IManualResourceLoader loader,
INameValuePairList loadParams,
IResourceBackgroundQueue.IListener listener)
long load(java.lang.String resType,
java.lang.String name,
java.lang.String group,
boolean isManual,
IManualResourceLoader loader,
INameValuePairList loadParams,
IResourceBackgroundQueue.IListener listener)
boolean isProcessComplete(long ticket)
boolean _doNextQueuedBackgroundProcess()
void _initThread()
void _queueFireBackgroundPreparingComplete(IResource res)
void _queueFireBackgroundLoadingComplete(IResource res)
void _fireOnFrameCallbacks()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||