Packages

o

com.twitter.util.tunable.linter

ConfigurationLinter

object ConfigurationLinter extends App

Linear Supertypes
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. ConfigurationLinter
  2. App
  3. CloseAwaitably
  4. CloseAwaitably0
  5. Awaitable
  6. Closable
  7. AnyRef
  8. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Value Members

  1. final def !=(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  2. final def ##(): Int
    Definition Classes
    AnyRef → Any
  3. final def ==(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  4. final val MinGrace: Duration

    Minimum duration to allow for exits to be processed.

    Minimum duration to allow for exits to be processed.

    Definition Classes
    App
  5. def allowUndefinedFlags: Boolean

    Whether or not to accept undefined flags

    Whether or not to accept undefined flags

    Attributes
    protected
    Definition Classes
    App
  6. def args: Array[String]

    The remaining, unparsed arguments

    The remaining, unparsed arguments

    Definition Classes
    App
  7. final def asInstanceOf[T0]: T0
    Definition Classes
    Any
  8. def clone(): AnyRef
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @native() @throws( ... )
  9. final def close(deadline: Time): Future[Unit]

    Notify the application that it may stop running.

    Notify the application that it may stop running. Returns a Future that is satisfied when the App has been torn down or errors at the deadline.

    Definition Classes
    AppClosable
  10. def close(after: Duration): Future[Unit]

    Close the resource with the given timeout.

    Close the resource with the given timeout. This timeout is advisory, giving the callee some leeway, for example to drain clients or finish up other tasks.

    Definition Classes
    Closable
  11. final def close(): Future[Unit]

    Close the resource.

    Close the resource. The returned Future is completed when the resource has been fully relinquished.

    Definition Classes
    Closable
  12. def closeAwaitably(f: ⇒ Future[Unit]): Future[Unit]

    closeAwaitably is intended to be used as a wrapper for close.

    closeAwaitably is intended to be used as a wrapper for close. The underlying f will be called at most once.

    Attributes
    protected
    Definition Classes
    CloseAwaitably0
  13. final def closeOnExit(closable: Closable): Unit

    Close closable when shutdown is requested.

    Close closable when shutdown is requested. Closables are closed in parallel.

    Definition Classes
    App
  14. final def closeOnExitLast(closable: Closable): Unit

    Register a closable to be closed on application shutdown after those registered via closeOnExit.

    Register a closable to be closed on application shutdown after those registered via closeOnExit.

    Definition Classes
    App
    Note

    Application shutdown occurs in two sequential phases to allow explicit encoding of resource lifecycle relationships. Concretely this is useful for encoding that a monitoring resource should outlive a monitored resource. In all cases, the close deadline is enforced.

  15. def defaultCloseGracePeriod: Duration

    Default amount of time to wait for shutdown.

    Default amount of time to wait for shutdown. This value is not used as a default if close() is called without parameters. It simply provides a default value to be passed as close(grace).

    Definition Classes
    App
  16. final def eq(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  17. def equals(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  18. def exitOnError(reason: String): Unit
    Attributes
    protected
    Definition Classes
    App
  19. def failfastOnFlagsNotParsed: Boolean

    Users of this code should override this to true so that you fail-fast instead of being surprised at runtime by code that is reading from flags before they have been parsed.

    Users of this code should override this to true so that you fail-fast instead of being surprised at runtime by code that is reading from flags before they have been parsed.

    Ideally this would default to true, however, in order to avoid breaking existing users, it was introduced using false.

    Attributes
    protected
    Definition Classes
    App
  20. def finalize(): Unit
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  21. val flag: Flags

    The com.twitter.app.Flags instance associated with this application

    The com.twitter.app.Flags instance associated with this application

    Definition Classes
    App
  22. final def getClass(): Class[_]
    Definition Classes
    AnyRef → Any
    Annotations
    @native()
  23. def hashCode(): Int
    Definition Classes
    AnyRef → Any
    Annotations
    @native()
  24. final def init(f: ⇒ Unit): Unit

    Invoke f before anything else (including flag parsing).

    Invoke f before anything else (including flag parsing).

    Attributes
    protected
    Definition Classes
    App
  25. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  26. def isReady(implicit permit: CanAwait): Boolean

    Is this Awaitable ready? In other words: would calling Awaitable.ready block?

    Is this Awaitable ready? In other words: would calling Awaitable.ready block?

    Definition Classes
    CloseAwaitably0 → Awaitable
  27. def main(): Unit
  28. final def main(args: Array[String]): Unit
    Definition Classes
    App
  29. val name: String

    The name of the application, based on the classname

    The name of the application, based on the classname

    Definition Classes
    App
  30. final def ne(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  31. final def nonExitingMain(args: Array[String]): Unit
    Definition Classes
    App
  32. final def notify(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  33. final def notifyAll(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  34. final def onExit(f: ⇒ Unit): Unit

    Invoke f when shutdown is requested.

    Invoke f when shutdown is requested. Exit hooks run in parallel and are executed after all postmains complete. The thread resumes when all exit hooks complete or closeDeadline expires.

    Attributes
    protected
    Definition Classes
    App
  35. final def postmain(f: ⇒ Unit): Unit

    Invoke f after the user's main has exited.

    Invoke f after the user's main has exited.

    Attributes
    protected
    Definition Classes
    App
  36. final def premain(f: ⇒ Unit): Unit

    Invoke f right before the user's main is invoked.

    Invoke f right before the user's main is invoked.

    Attributes
    protected
    Definition Classes
    App
  37. def ready(timeout: Duration)(implicit permit: CanAwait): ConfigurationLinter.this.type

    Support for Await.ready.

    Support for Await.ready. The use of the implicit permit is an access control mechanism: only Await.ready may call this method.

    Definition Classes
    CloseAwaitably0 → Awaitable
  38. def result(timeout: Duration)(implicit permit: CanAwait): Unit

    Support for Await.result.

    Support for Await.result. The use of the implicit permit is an access control mechanism: only Await.result may call this method.

    Definition Classes
    CloseAwaitably0 → Awaitable
  39. lazy val shutdownTimer: Timer
    Attributes
    protected
    Definition Classes
    App
  40. final def synchronized[T0](arg0: ⇒ T0): T0
    Definition Classes
    AnyRef
  41. def toString(): String
    Definition Classes
    AnyRef → Any
  42. final def wait(): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  43. final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  44. final def wait(arg0: Long): Unit
    Definition Classes
    AnyRef
    Annotations
    @native() @throws( ... )

Inherited from App

Inherited from CloseAwaitably

Inherited from CloseAwaitably0[Unit]

Inherited from Awaitable[Unit]

Inherited from Closable

Inherited from AnyRef

Inherited from Any

Ungrouped