-
Notifications
You must be signed in to change notification settings - Fork 21
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #33 from petabridge/dev
v0.2.6 Release
- Loading branch information
Showing
61 changed files
with
729 additions
and
570 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,2 @@ | ||
#### 0.2.5 April 14 2019 #### | ||
* Upgraded to Akka.Cluster v1.3.12 | ||
* Upgraded to [Akka.HealthCheck.Cluster v0.2.1](https://github.com/petabridge/akkadotnet-healthcheck/releases/tag/0.2.1) | ||
#### 0.2.6 April 14 2019 #### | ||
* Lengthened throttling window on `DownloadCoordinator` |
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 |
---|---|---|
@@ -1,45 +1,34 @@ | ||
// Copyright 2014-2015 Aaron Stannard, Petabridge LLC | ||
// | ||
// Licensed under the Apache License, Version 2.0 (the "License"); you may not use | ||
// this file except in compliance with the License. You may obtain a copy of the | ||
// License at | ||
// | ||
// http://www.apache.org/licenses/LICENSE-2.0 | ||
// | ||
// Unless required by applicable law or agreed to in writing, software distributed | ||
// under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR | ||
// CONDITIONS OF ANY KIND, either express or implied. See the License for the | ||
// specific language governing permissions and limitations under the License. | ||
// ----------------------------------------------------------------------- | ||
// <copyright file="LighthouseService.cs" company="Petabridge, LLC"> | ||
// Copyright (C) 2015 - 2019 Petabridge, LLC <https://petabridge.com> | ||
// </copyright> | ||
// ----------------------------------------------------------------------- | ||
|
||
using System; | ||
using System.Threading.Tasks; | ||
using Akka.Actor; | ||
using Akka.Cluster; | ||
using Petabridge.Cmd.Cluster; | ||
using Petabridge.Cmd.Host; | ||
|
||
namespace Lighthouse | ||
{ | ||
public class LighthouseService | ||
{ | ||
private ActorSystem _lighthouseSystem; | ||
|
||
public void Start() | ||
{ | ||
_lighthouseSystem = LighthouseHostFactory.LaunchLighthouse(); | ||
} | ||
|
||
/// <summary> | ||
/// Task completes once the Lighthouse <see cref="ActorSystem"/> has terminated. | ||
/// Task completes once the Lighthouse <see cref="ActorSystem" /> has terminated. | ||
/// </summary> | ||
/// <remarks> | ||
/// Doesn't actually invoke termination. Need to call <see cref="StopAsync"/> for that. | ||
/// Doesn't actually invoke termination. Need to call <see cref="StopAsync" /> for that. | ||
/// </remarks> | ||
public Task TerminationHandle => _lighthouseSystem.WhenTerminated; | ||
|
||
public void Start() | ||
{ | ||
_lighthouseSystem = LighthouseHostFactory.LaunchLighthouse(); | ||
} | ||
|
||
public async Task StopAsync() | ||
{ | ||
await CoordinatedShutdown.Get(_lighthouseSystem).Run(); | ||
} | ||
} | ||
} | ||
} |
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
Oops, something went wrong.