All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.yahoo.vespa.hosted.controller.api.integration.entity.EntityService Maven / Gradle / Ivy

There is a newer version: 8.253.3
Show newest version
// Copyright Vespa.ai. Licensed under the terms of the Apache 2.0 license. See LICENSE in the project root.
package com.yahoo.vespa.hosted.controller.api.integration.entity;

import com.yahoo.vespa.hosted.controller.api.identifiers.Property;
import com.yahoo.vespa.hosted.controller.api.identifiers.PropertyId;

import java.util.List;
import java.util.Map;
import java.util.Optional;

/**
 * A service which provides access to business-specific entities.
 *
 * @author mpolden
 */
public interface EntityService {

    /** List all properties known by the service */
    Map listProperties();

    /** List all nodes owned by this system's property */
    List listNodes();

    Optional findNode(String hostname);

}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy