DataItem (cloudsim 3.1-SNAPSHOT API)

org.cloudbus.cloudsim.workflow

## Class DataItem

- java.lang.Object
- - org.cloudbus.cloudsim.workflow.DataItem

-     public class DataItem
      extends Object

  This class represents data that is generated by a DAG task.

- - ### Constructor Summary

    Constructors
    Constructor and Description
    `DataItem(int id, int ownerId, String name, long size)`

  - ### Method Summary

    Methods
    Modifier and Type | Method and Description
    --- | ---
    `void` | `addLocation(int locationId)`
    `int` | `getId()`
    `String` | `getName()`
    `int` | `getOwnerId()`
    `long` | `getSize()`
    `boolean` | `isAvailableAt(int locationId)`
    `void` | `removeLocation(int locationId)`

    - ### Methods inherited from class java.lang.Object

      `clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

- - ### Constructor Detail

    - #### DataItem

          public DataItem(int id,
                  int ownerId,
                  String name,
                  long size)

  - ### Method Detail

    - #### getId

          public int getId()

    - #### getOwnerId

          public int getOwnerId()

    - #### getName

          public String getName()

    - #### getSize

          public long getSize()

    - #### addLocation

          public void addLocation(int locationId)

    - #### removeLocation

          public void removeLocation(int locationId)

    - #### isAvailableAt

          public boolean isAvailableAt(int locationId)

Copyright © 2013 The Cloud Computing and Distributed Systems (CLOUDS) Laboratory, The University of Melbourne. All Rights Reserved.