blob: 50aad175cb3ff171af5e8e034cbea0eec6581e85 [file] [log] [blame]
Charles Chan5bdaf102020-08-10 16:34:32 -07001/*
2 * Copyright 2020-present Open Networking Foundation
3 *
4 * Licensed under the Apache License, Version 2.0 (the "License");
5 * you may not use this file except in compliance with the License.
6 * You may obtain a copy of the License at
7 *
8 * http://www.apache.org/licenses/LICENSE-2.0
9 *
10 * Unless required by applicable law or agreed to in writing, software
11 * distributed under the License is distributed on an "AS IS" BASIS,
12 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13 * See the License for the specific language governing permissions and
14 * limitations under the License.
15 */
16package org.onosproject.cluster;
17
18import java.util.List;
19
20/**
21 * Monitors the status of OSGi components.
22 */
23public interface ComponentsMonitorService {
24 /**
25 * Checks if all given OSGi features are ready.
26 *
27 * @param features list of feature name in string
28 * @return true if all features are ready, false otherwise.
29 */
30 boolean isFullyStarted(List<String> features);
31}