Package org.apache.storm.utils

## Class TupleUtils

- java.lang.Object
- - org.apache.storm.utils.TupleUtils

-     public final class TupleUtils
      extends Object

- - ### Method Summary

    All Methods Static Methods Concrete Methods
    Modifier and Type | Method | Description
    --- | --- | ---
    `static <T> int` | `chooseTaskIndex​(List<T> keys, int numTasks)` |
    `static boolean` | `isTick​(Tuple tuple)` |
    `static Map<String,​Object>` | `putTickFrequencyIntoComponentConfig​(Map<String,​Object> conf, int tickFreqSecs)` |

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

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

- - ### Method Detail

    - #### isTick

          public static boolean isTick​(Tuple tuple)

    - #### chooseTaskIndex

          public static <T> int chooseTaskIndex​(List<T> keys,
                                                int numTasks)

    - #### putTickFrequencyIntoComponentConfig

          public static Map<String,​Object> putTickFrequencyIntoComponentConfig​(Map<String,​Object> conf,
                                                                                     int tickFreqSecs)