org.jppf.server.node
Class JPPFContainer.ObjectDeserializationTask

java.lang.Object
  extended by org.jppf.server.node.JPPFContainer.ObjectDeserializationTask
All Implemented Interfaces:
Callable<Object>
Enclosing class:
JPPFContainer

protected class JPPFContainer.ObjectDeserializationTask
extends Object
implements Callable<Object>

Instances of this class are used to deserialize objects from an incoming message in parallel.


Constructor Summary
JPPFContainer.ObjectDeserializationTask(DataLocation dl, int index)
          Initialize this task with the specified data buffer.
 
Method Summary
 Object call()
          Execute this task.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

JPPFContainer.ObjectDeserializationTask

public JPPFContainer.ObjectDeserializationTask(DataLocation dl,
                                               int index)
Initialize this task with the specified data buffer.

Parameters:
dl - the data read from the network connection, stored in a meomory-sensitive location.
index - index of the object to deserialize in the incoming IO message; used for debugging purposes.
Method Detail

call

public Object call()
Execute this task.

Specified by:
call in interface Callable<Object>
Returns:
a deserialized object.
See Also:
Callable.call()


Copyright © 2005-2010 JPPF Team.