Options
All
  • Public
  • Public/Protected
  • All
Menu

Container of local client statistics. These statistics are passed to the HiveJS option's HiveRenderStatsCallback via HiveJSOptions.renderStatsCallback

Hierarchy

  • HiveClientStats

Index

Properties

cdnRequests

cdnRequests: number = 0

Number of requests made to CDN.

cdnResponseBytes

cdnResponseBytes: number = 0

Number of received bytes from CDN.

cdnResponseErrors

cdnResponseErrors: number = 0

Number of error responses (4xx, etc) received from CDN.

cdnResponses

cdnResponses: number = 0

Number of successful responses received from CDN.

p2pPartnerTotalSentBytes

p2pPartnerTotalSentBytes: number = 0

Number of bytes sent to other viewers

p2pRequests

p2pRequests: number = 0

Number of requests to P2P network.

p2pResponseBytes

p2pResponseBytes: number = 0

Number of received bytes from P2P network.

p2pResponseErrors

p2pResponseErrors: number = 0

Number of error responses (timeouts, etc) received from P2P network.

p2pResponses

p2pResponses: number = 0

Number of responses from P2P network.

partners

partners: PartnerStatsMap

An object containing information about the current session's involvement with the P2P network. Each key represents a unique peering partner.

savings

savings: number = 0

Percent savings, defined as p2pResponseBytes / (cdnResponseBytes + p2pResponseBytes)

uuid

uuid: string

Current client's persistent uuid

Legend

  • Module
  • Object literal
  • Variable
  • Function
  • Function with type parameter
  • Index signature
  • Type alias
  • Type alias with type parameter
  • Enumeration
  • Enumeration member
  • Property
  • Method
  • Interface
  • Interface with type parameter
  • Constructor
  • Property
  • Method
  • Index signature
  • Class
  • Class with type parameter
  • Constructor
  • Property
  • Method
  • Accessor
  • Index signature
  • Inherited constructor
  • Inherited property
  • Inherited method
  • Inherited accessor
  • Protected property
  • Protected method
  • Protected accessor
  • Private property
  • Private method
  • Private accessor
  • Static property
  • Static method

Generated using TypeDoc