blob: 19ff51f4cc4a0519cef479da87e03869da44f6c8 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
|
// Copyright Yahoo. Licensed under the terms of the Apache 2.0 license. See LICENSE in the project root.
//
package com.yahoo.vespa.clustercontroller.core;
import com.yahoo.vdslib.distribution.GroupVisitor;
public interface HierarchicalGroupVisiting {
/** Returns true if the group contains more than one (leaf) group. */
boolean isHierarchical();
/**
* Invoke the visitor for each leaf group of an implied group. If the group is non-hierarchical
* (flat), the visitor will not be invoked.
*/
void visit(GroupVisitor visitor);
}
|