Package org.jppf.io

Class OffloadableObject<T>

java.lang.Object
org.jppf.io.OffloadableObject<T>
Type Parameters:
T - the type of of object to handle.
All Implemented Interfaces:
Serializable, JPPFSerializable<T>

public class OffloadableObject<T> extends Object implements JPPFSerializable<T>
Author:
Laurent Cohen
See Also:
  • Constructor Details

    • OffloadableObject

      public OffloadableObject()
    • OffloadableObject

      public OffloadableObject(T object)
      Initialize with the specified object.
      Parameters:
      object - the handled object.
  • Method Details

    • get

      public T get()
      Specified by:
      get in interface JPPFSerializable<T>
      Returns:
      the deserialized result.
    • set

      public void set(T object)
      Description copied from interface: JPPFSerializable
      Set the handled object.
      Specified by:
      set in interface JPPFSerializable<T>
      Parameters:
      object - the object to set.