public final class StrategyUtils
extends java.lang.Object
Constructor and Description |
---|
StrategyUtils() |
Modifier and Type | Method and Description |
---|---|
static com.google.common.collect.ImmutableMap<java.util.UUID,JobNode> |
buildNodeMap(java.lang.Iterable<JobNode> nodes) |
static com.google.common.collect.ImmutableList<Objects> |
filterChunks(java.lang.Iterable<Objects> objectsList)
Filters out chunks that have already been completed.
|
static Ds3Client |
getClient(com.google.common.collect.ImmutableMap<java.util.UUID,JobNode> nodeMap,
java.util.UUID nodeId,
Ds3Client mainClient) |
public static Ds3Client getClient(com.google.common.collect.ImmutableMap<java.util.UUID,JobNode> nodeMap, java.util.UUID nodeId, Ds3Client mainClient)
public static com.google.common.collect.ImmutableMap<java.util.UUID,JobNode> buildNodeMap(java.lang.Iterable<JobNode> nodes)
public static com.google.common.collect.ImmutableList<Objects> filterChunks(java.lang.Iterable<Objects> objectsList)
objectsList
- The list to be filtered