Package org.xj3d.core.loading
Class LoadRequest
java.lang.Object
org.xj3d.core.loading.LoadRequest
A data holder for items that are inserted into a load queue.
Because we want to use this object to check in the various lists and maps for the URL being existing, the equality and hashing values are based on the value of the URL only. Anything else is ignored.
The data holder contains a reference to the cache to use. This is because we might have different caching regimes set up by using different load managers in the same VM instance. This allows each user to specify themselves what sort of caching they want done without restricting them to a first come, first set cache mechanism.
- Version:
- $Revision: 1.2 $
- Author:
- Justin Couch
-
Field Summary
FieldsModifier and TypeFieldDescriptionThe type that describes the sort of node that this request comes from.List of LoadDetails to be loaded for this URL.The class that the thread is to run when it grabs this request object from the load queue.String[]
The URL list that is to be loaded. -
Constructor Summary
Constructors -
Method Summary
-
Field Details
-
url
The URL list that is to be loaded. List is in order as per the normal VRML specification definition. -
loadDetailsList
List of LoadDetails to be loaded for this URL. -
loadConstantsType
The type that describes the sort of node that this request comes from. Used for priority sorting the request queue. Should be one of theLoadConstants
types. -
loadRequestHandler
The class that the thread is to run when it grabs this request object from the load queue.
-
-
Constructor Details
-
LoadRequest
public LoadRequest()Create a new instance of this class.
-
-
Method Details
-
equals
-
hashCode
-