-
Notifications
You must be signed in to change notification settings - Fork 141
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merging 2.1.6 code with beta branch (#828)
- Loading branch information
1 parent
089061b
commit 9258636
Showing
39 changed files
with
1,476 additions
and
612 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,43 @@ | ||
export class NetworkStatsbeat { | ||
|
||
public time: number; | ||
|
||
public lastTime: number; | ||
|
||
public endpoint: number; | ||
|
||
public host: string; | ||
|
||
public totalRequestCount: number; | ||
|
||
public lastRequestCount: number; | ||
|
||
public totalSuccesfulRequestCount: number; | ||
|
||
public totalFailedRequestCount: number; | ||
|
||
public retryCount: number; | ||
|
||
public exceptionCount: number; | ||
|
||
public throttleCount: number; | ||
|
||
public intervalRequestExecutionTime: number; | ||
|
||
public lastIntervalRequestExecutionTime: number; | ||
|
||
constructor(endpoint: number, host: string) { | ||
this.endpoint = endpoint; | ||
this.host = host; | ||
this.totalRequestCount = 0; | ||
this.totalSuccesfulRequestCount = 0; | ||
this.totalFailedRequestCount = 0; | ||
this.retryCount = 0; | ||
this.exceptionCount = 0; | ||
this.throttleCount = 0; | ||
this.intervalRequestExecutionTime = 0; | ||
this.lastIntervalRequestExecutionTime = 0; | ||
this.lastTime = +new Date; | ||
this.lastRequestCount = 0; | ||
} | ||
} |
Oops, something went wrong.