com.guidewire.tools.chronos.client.api

v2

package v2

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

Type Members

  1. final class Chronos4J extends AnyRef

  2. case class Counter(name: String, count: BigDecimal) extends Product with Serializable

  3. case class Gauge(name: String, value: BigDecimal) extends Product with Serializable

  4. case class Histogram(name: String, count: BigDecimal, max: BigDecimal, mean: BigDecimal, min: BigDecimal, p50: BigDecimal, p75: BigDecimal, p95: BigDecimal, p98: BigDecimal, p99: BigDecimal, p999: BigDecimal, stddev: BigDecimal) extends Product with Serializable

  5. sealed case class Job(name: String, command: String, epsilon: ReadablePeriod = ..., successCount: Long = 0L, errorCount: Long = 0L, executor: String = "", executorFlags: String = "", retries: Int = 2, owner: String = "", lastSuccess: OptionalDateTime = ..., lastError: OptionalDateTime = ..., async: Boolean = false, cpus: FrequencyUnit = ..., disk: DataUnit = ..., mem: DataUnit = ..., disabled: Boolean = false, uris: Seq[URI] = ..., errorsSinceLastSuccess: Option[Long] = scala.Some.apply[Long](0L), parents: Option[Set[String]] = scala.None, schedule: Option[Schedule] = scala.None) extends Product with Serializable

  6. case class Meter(name: String, count: BigDecimal, m15_rate: BigDecimal, m1_rate: BigDecimal, m5_rate: BigDecimal, mean_rate: BigDecimal, units: String) extends Product with Serializable

  7. sealed case class Schedule(recurrences: Long, starting: ReadableDateTime, period: ReadablePeriod) extends Product with Serializable

  8. case class ServerMetrics(version: String, gauges: Seq[Gauge], counters: Seq[Counter], histograms: Seq[Histogram], meters: Seq[Meter], timers: Seq[Timer]) extends Product with Serializable

  9. sealed case class TaskCompleted(statusCode: Int = 0) extends Product with Serializable

  10. case class Timer(name: String, count: BigDecimal, max: BigDecimal, mean: BigDecimal, min: BigDecimal, p50: BigDecimal, p75: BigDecimal, p95: BigDecimal, p98: BigDecimal, p99: BigDecimal, p999: BigDecimal, stddev: BigDecimal, m15_rate: BigDecimal, m1_rate: BigDecimal, m5_rate: BigDecimal, mean_rate: BigDecimal, duration_units: String, rate_units: String) extends Product with Serializable

Value Members

  1. object Chronos

  2. object Debug

  3. implicit val JobFormat: OFormat[Job]

    Serializes and deserializes instances of com.guidewire.tools.chronos.client.api.v2.Job for use with play's JSON API.

  4. object Jobs

  5. object Metrics

  6. object NonScalaApi

    Java-accessible API.

  7. implicit val PeriodFormat: Format[ReadablePeriod]

    Serializes and deserializes instances of org.joda.time.ReadablePeriod for use with play's JSON API.

  8. object Schedule extends Serializable

  9. implicit val ScheduleFormat: Format[Schedule]

    Serializes and deserializes instances of com.guidewire.tools.chronos.client.api.v2.Schedule for use with play's JSON API.

  10. object Scheduler

  11. implicit val SeqCountersFormat: Format[Seq[Counter]]

    Takes objects of the form

    Takes objects of the form

      "jobs.run.failure.1f81d2d6-7e7d-4716-a92f-f8118e98412a": {
        "count": 0
      },
      "jobs.run.failure.21a36042-87e0-429e-bdc2-8f5f092fe0b7": {
        "count": 0
      },
      "jobs.run.failure.3c0bfafc-7cad-41ba-b1d5-e574e668cacb": {
        "count": 0
      }
    

    and converts them into a scala.collection.Seq of com.guidewire.tools.chronos.client.api.v2.Counter instances.

  12. implicit val SeqGaugesFormat: Format[Seq[Gauge]]

    Takes objects of the form

    Takes objects of the form

      "com.airbnb.scheduler.jobs.TaskManager.queueSize": {
        "value": 0
      },
      "org.eclipse.jetty.servlet.ServletContextHandler.percent-4xx-15m": {
        "value": 0.0024705335221899927
      },
      "org.eclipse.jetty.servlet.ServletContextHandler.percent-4xx-1m": {
        "value": 2.344873328164291e-9
      }
    

    and converts them into a scala.collection.Seq of com.guidewire.tools.chronos.client.api.v2.Gauge instances.

  13. implicit val SeqHistogramsFormat: Format[Seq[Histogram]]

    Takes objects of the form

    Takes objects of the form

      "jobs.run.time.1f81d2d6-7e7d-4716-a92f-f8118e98412a": {
        "count": 5,
        "max": 4345,
        "mean": 2739.6,
        "min": 1327,
        "p50": 2335,
        "p75": 4340.5,
        "p95": 4345,
        "p98": 4345,
        "p99": 4345,
        "p999": 4345,
        "stddev": 1516.7448038480302
      },
      "jobs.run.time.21a36042-87e0-429e-bdc2-8f5f092fe0b7": {
        "count": 5,
        "max": 5759,
        "mean": 4354.2,
        "min": 1762,
        "p50": 4763,
        "p75": 5755.5,
        "p95": 5759,
        "p98": 5759,
        "p99": 5759,
        "p999": 5759,
        "stddev": 1673.1209460167547
      }
    

    and converts them into a scala.collection.Seq of com.guidewire.tools.chronos.client.api.v2.Histogram instances.

  14. implicit val SeqMetersFormat: Format[Seq[Meter]]

    Takes objects of the form

    Takes objects of the form

      "org.eclipse.jetty.servlet.ServletContextHandler.1xx-responses": {
        "count": 0,
        "m15_rate": 0,
        "m1_rate": 0,
        "m5_rate": 0,
        "mean_rate": 0,
        "units": "events/second"
      },
      "org.eclipse.jetty.servlet.ServletContextHandler.2xx-responses": {
        "count": 150448,
        "m15_rate": 0.40003332116933116,
        "m1_rate": 0.40708949330864214,
        "m5_rate": 0.40554015224827816,
        "mean_rate": 0.10333925669798737,
        "units": "events/second"
      }
    

    and converts them into a scala.collection.Seq of com.guidewire.tools.chronos.client.api.v2.Meter instances.

  15. implicit val SeqTimersFormat: Format[Seq[Timer]]

    Takes objects of the form

    Takes objects of the form

      "com.airbnb.scheduler.api.DependentJobResource.post": {
        "count": 0,
        "max": 0,
        "mean": 0,
        "min": 0,
        "p50": 0,
        "p75": 0,
        "p95": 0,
        "p98": 0,
        "p99": 0,
        "p999": 0,
        "stddev": 0,
        "m15_rate": 0,
        "m1_rate": 0,
        "m5_rate": 0,
        "mean_rate": 0,
        "duration_units": "seconds",
        "rate_units": "calls/second"
      },
      "com.airbnb.scheduler.api.DependentJobResource.put": {
        "count": 0,
        "max": 0,
        "mean": 0,
        "min": 0,
        "p50": 0,
        "p75": 0,
        "p95": 0,
        "p98": 0,
        "p99": 0,
        "p999": 0,
        "stddev": 0,
        "m15_rate": 0,
        "m1_rate": 0,
        "m5_rate": 0,
        "mean_rate": 0,
        "duration_units": "seconds",
        "rate_units": "calls/second"
      }
    

    and converts them into a scala.collection.Seq of com.guidewire.tools.chronos.client.api.v2.Timer instances.

  16. implicit val ServerMetricsFormat: OFormat[ServerMetrics]

    Serializes and deserializes instances of com.guidewire.tools.chronos.client.api.v2.ServerMetrics for use with play's JSON API.

  17. implicit val TaskCompletedFormat: OFormat[TaskCompleted]

    Serializes and deserializes instances of com.guidewire.tools.chronos.client.api.v2.TaskCompleted for use with play's JSON API.

  18. implicit def schedule2Option(schedule: Schedule): Option[Schedule]

Inherited from AnyRef

Inherited from Any

Ungrouped