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

    All Methods Instance Methods Concrete Methods
    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 Detail

    - #### VersionedData

          public VersionedData​(int version,
                               D data)

  - ### Method Detail

    - #### getVersion

          public int getVersion()

    - #### getData

          public D getData()