示例#1
0
 public boolean hasUnassignedShards() {
   return !unassignedShards.isEmpty();
 }
示例#2
0
 /**
  * Returns <code>true</code> iff this {@link RoutingNodes} instance has any unassigned shards even
  * if the shards are marked as temporarily ignored.
  *
  * @see UnassignedShards#isEmpty()
  * @see UnassignedShards#isIgnoredEmpty()
  */
 public boolean hasUnassignedShards() {
   return unassignedShards.isEmpty() == false || unassignedShards.isIgnoredEmpty() == false;
 }