com.twitter

server

package server

Twitter Server

Provides a common configuration setup for internal Twitter servers based on com.twitter.app.App.

An HTTP server is bound to a configurable port (default: 9900) to which commands can be sent and information queried. Additional handlers can be provided by adding them to com.twitter.finagle.http.HttpMuxer.

object MyServer extends TwitterServer {
def main() {
  // start my service
}
}

Provided handlers

See com.twitter.server.TwitterServer

Configuration

The default port is set via defaultAdminPort. This can be overridden in the super class or set on the command line with -admin.port.

Linear Supertypes
AnyRef, Any
Ordering
  1. Alphabetic
  2. By inheritance
Inherited
  1. server
  2. AnyRef
  3. Any
  1. Hide All
  2. Show all
Learn more about member selection
Visibility
  1. Public
  2. All

Type Members

  1. trait Admin extends AnyRef

  2. class FlagAnnouncer extends Announcer

  3. class FlagResolver extends Resolver

  4. trait HttpServer extends AnyRef

  5. trait Stats extends AnyRef

  6. trait TwitterServer extends App with Admin with Stats with HttpServer with Logging

Value Members

  1. object announcerMap extends GlobalFlag[Map[String, String]]

  2. package handler

  3. object resolverMap extends GlobalFlag[Map[String, String]]

  4. package util

Inherited from AnyRef

Inherited from Any

Ungrouped