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

org.apache.pekko.management.javadsl.ManagementRouteProvider.scala Maven / Gradle / Ivy

The newest version!
/*
 * Licensed to the Apache Software Foundation (ASF) under one or more
 * license agreements; and to You under the Apache License, version 2.0:
 *
 *   https://www.apache.org/licenses/LICENSE-2.0
 *
 * This file is part of the Apache Pekko project, which was derived from Akka.
 */

/*
 * Copyright (C) 2017-2021 Lightbend Inc. 
 */

package org.apache.pekko.management.javadsl

import org.apache.pekko
import pekko.actor.Extension
import pekko.http.javadsl.server.Route

/** Extend this trait in your extension in order to allow it to contribute routes to Pekko Management starts its HTTP endpoint */
trait ManagementRouteProvider extends Extension {

  /** Routes to be exposed by Pekko cluster management */
  def routes(settings: ManagementRouteProviderSettings): Route

}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy