com.realtime.crossfire.jxclient.faces
Class FileCacheFaceQueue.LoadTask

java.lang.Object
  extended by com.realtime.crossfire.jxclient.faces.FileCacheFaceQueue.LoadTask
All Implemented Interfaces:
java.lang.Runnable
Enclosing class:
FileCacheFaceQueue

private class FileCacheFaceQueue.LoadTask
extends java.lang.Object
implements java.lang.Runnable

A thread which loads one face from the caches.


Field Summary
private  Face face
          The face to load.
private  int taskId
          The expected task FileCacheFaceQueue.id.
 
Constructor Summary
private FileCacheFaceQueue.LoadTask(Face face)
          Creates a new instance.
 
Method Summary
 void run()
          
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

face

@NotNull
private final Face face
The face to load.


taskId

private final int taskId
The expected task FileCacheFaceQueue.id. If it does not match the current id, the face is not loaded.

Constructor Detail

FileCacheFaceQueue.LoadTask

private FileCacheFaceQueue.LoadTask(@NotNull
                                    Face face)
Creates a new instance.

Parameters:
face - the face to load
Method Detail

run

public void run()

Specified by:
run in interface java.lang.Runnable