Package org.apache.storm.cluster

# Class VersionedData<D>

java.lang.Object
org.apache.storm.cluster.VersionedData<D>

public class VersionedData<D> extends Object

- ## Constructor Summary

  Constructors
  Constructor
  Description
  `VersionedData(int version, D data)`

- ## Method Summary

  Modifier and Type
  Method
  Description
  `D`
  `getData()`
  `int`
  `getVersion()`

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

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

- ## Constructor Details

  - ### VersionedData

    public VersionedData(int version, D data)

- ## Method Details

  - ### getVersion

    public int getVersion()

  - ### getData

    public D getData()