org.apache.pekko.management.javadsl.ManagementRouteProvider.scala Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of pekko-management_2.12 Show documentation
Show all versions of pekko-management_2.12 Show documentation
Apache Pekko Management is a suite of tools for operating Apache Pekko Clusters.
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
}