Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 0 additions & 5 deletions benchmarks/AutoClusterBenchmark/Configuration.cs
Original file line number Diff line number Diff line change
Expand Up @@ -8,20 +8,15 @@
using ClusterExperiment1.Messages;
using Grpc.Net.Client;
using Grpc.Net.Compression;
using Microsoft.Extensions.Logging;
using Proto;
using Proto.Cluster;
using Proto.Cluster.Consul;
using Proto.Cluster.Identity;
using Proto.Cluster.Partition;
using Proto.Cluster.Testing;
using Proto.OpenTelemetry;
using Proto.Remote;
using Proto.Remote.GrpcNet;
using Serilog;
using Serilog.Events;
using CompressionLevel = System.IO.Compression.CompressionLevel;
using Log = Serilog.Log;

namespace ClusterExperiment1;

Expand Down
2 changes: 0 additions & 2 deletions benchmarks/AutoClusterBenchmark/Runner.cs
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,6 @@
// Copyright (C) 2015-2022 Asynkron AB All rights reserved
// </copyright>
// -----------------------------------------------------------------------
using System;
using System.Diagnostics;
using System.Threading.Tasks;
using Proto.Cluster;

Expand Down
2 changes: 0 additions & 2 deletions benchmarks/ClusterBenchmark/Configuration.cs
Original file line number Diff line number Diff line change
Expand Up @@ -6,10 +6,8 @@
using System;
using System.Threading.Tasks;
using ClusterExperiment1.Messages;
using Grpc.Core;
using Grpc.Net.Client;
using Grpc.Net.Compression;
using k8s;
using Microsoft.Extensions.Logging;
using MongoDB.Driver;
using OpenTelemetry.Resources;
Expand Down
1 change: 0 additions & 1 deletion benchmarks/RemoteBenchmark/Messages/Messages.cs
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,6 @@
// Copyright (C) 2015-2022 Asynkron AB All rights reserved
// </copyright>
// -----------------------------------------------------------------------
using Google.Protobuf;
using Proto.Remote;

namespace Messages;
Expand Down
1 change: 0 additions & 1 deletion examples/ActorMetrics/Startup.cs
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,6 @@
using Microsoft.Extensions.Hosting;
using Microsoft.OpenApi.Models;
using OpenTelemetry.Metrics;
using Proto.Metrics;
using Proto.OpenTelemetry;

namespace WebApplication1;
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,4 @@
using Proto.Cluster.Seed;
using Proto.Utils;

namespace Proto.Cluster.Dashboard
namespace Proto.Cluster.Dashboard
{

public class ActorSystemHostedService : IHostedService
Expand Down
1 change: 0 additions & 1 deletion src/Proto.Actor/Extensions/ActorSystemExtensions.cs
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,6 @@
// </copyright>
// -----------------------------------------------------------------------
using System;
using System.Collections.Generic;

namespace Proto.Extensions;

Expand Down
1 change: 0 additions & 1 deletion src/Proto.Actor/Mailbox/LockingUnboundedMailboxQueue.cs
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,6 @@
// Copyright (C) 2015-2022 Asynkron AB All rights reserved
// </copyright>
// -----------------------------------------------------------------------
using System;
using System.Collections.Generic;
using System.Threading;

Expand Down
3 changes: 0 additions & 3 deletions src/Proto.Actor/Router/Routers/ConsistentHashRouterState.cs
Original file line number Diff line number Diff line change
Expand Up @@ -4,9 +4,6 @@
// </copyright>
// -----------------------------------------------------------------------
using System;
using System.Collections.Generic;
using System.Collections.Immutable;
using System.Linq;

namespace Proto.Router.Routers;

Expand Down
1 change: 0 additions & 1 deletion src/Proto.Actor/Supervision/RestartStatistics.cs
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,6 @@
// -----------------------------------------------------------------------
using System;
using System.Collections.Generic;
using System.Linq;

// ReSharper disable once CheckNamespace
namespace Proto;
Expand Down
98 changes: 0 additions & 98 deletions src/Proto.Actor/Utils/HashedConcurrentDictionary.cs

This file was deleted.

1 change: 0 additions & 1 deletion src/Proto.Cluster.CodeGen/OutputFileName.cs
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,6 @@
// Copyright (C) 2015-2022 Asynkron AB All rights reserved
// </copyright>
// -----------------------------------------------------------------------
using System;
using System.Globalization;
using System.IO;
using System.Linq;
Expand Down
1 change: 0 additions & 1 deletion src/Proto.Cluster.CodeGen/ProtoGenTask.cs
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
using System;
using System.Globalization;
using System.IO;
using System.Linq;
using System.Text;
Expand Down
3 changes: 1 addition & 2 deletions src/Proto.Cluster.Dashboard/Shared/MainLayout.razor
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
@using MudBlazor
@using MudBlazor.Utilities
@using MudBlazor.Utilities
@inherits LayoutComponentBase

<PageTitle>Proto.Cluster.Dashboard</PageTitle>
Expand Down
1 change: 0 additions & 1 deletion src/Proto.Cluster/ClusterExtension.cs
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,6 @@
using System.Threading;
using System.Threading.Tasks;
using JetBrains.Annotations;
using Proto.Cluster.Metrics;
using Proto.Deduplication;

namespace Proto.Cluster;
Expand Down
1 change: 0 additions & 1 deletion src/Proto.Cluster/Grain/GrainRequestMessage.cs
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,6 @@
// Copyright (C) 2015-2022 Asynkron AB All rights reserved
// </copyright>
// -----------------------------------------------------------------------
using System;
using Google.Protobuf;
using Proto.Remote;

Expand Down
1 change: 0 additions & 1 deletion src/Proto.Cluster/Grain/GrainResponseMessage.cs
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,6 @@
// Copyright (C) 2015-2022 Asynkron AB All rights reserved
// </copyright>
// -----------------------------------------------------------------------
using System;
using Google.Protobuf;
using Proto.Remote;

Expand Down
1 change: 0 additions & 1 deletion src/Proto.Cluster/Member/LocalAffinityStrategy.cs
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,6 @@
using System;
using System.Collections.Immutable;
using System.Linq;
using Proto.Cluster.Partition;

namespace Proto.Cluster;

Expand Down
1 change: 0 additions & 1 deletion src/Proto.Cluster/Member/MemberStrategy.cs
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,6 @@
// -----------------------------------------------------------------------
using System.Collections.Immutable;
using System.Linq;
using Proto.Cluster.Partition;

namespace Proto.Cluster;

Expand Down
1 change: 0 additions & 1 deletion src/Proto.Cluster/Partition/PartitionMemberSelector.cs
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,6 @@
// Copyright (C) 2015-2022 Asynkron AB All rights reserved
// </copyright>
// -----------------------------------------------------------------------
using System;
using System.Collections.Immutable;
using System.Threading;

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,6 @@
// -----------------------------------------------------------------------
using System.Linq;
using System.Threading.Tasks;
using Proto.Cluster.Partition;

namespace Proto.Cluster.PartitionActivator;

Expand Down
1 change: 0 additions & 1 deletion src/Proto.Cluster/PartitionActivator/RendezvousFast.cs
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,6 @@
// Copyright (C) 2015-2022 Asynkron AB All rights reserved
// </copyright>
// -----------------------------------------------------------------------
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
Expand Down
1 change: 0 additions & 1 deletion src/Proto.Cluster/PubSub/IPublisher.cs
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,6 @@
// Copyright (C) 2015-2022 Asynkron AB All rights reserved
// </copyright>
// -----------------------------------------------------------------------
using System.Collections.Generic;
using System.Threading;
using System.Threading.Tasks;

Expand Down
1 change: 0 additions & 1 deletion src/Proto.Cluster/Seed/SeedNodeClusterProvider.cs
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,6 @@
// </copyright>
// -----------------------------------------------------------------------
using System;
using System.Linq;
using System.Threading;
using System.Threading.Tasks;
using Microsoft.Extensions.Logging;
Expand Down
1 change: 0 additions & 1 deletion src/Proto.Cluster/Seed/SeedNodeClusterProviderOptions.cs
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,6 @@
// Copyright (C) 2015-2022 Asynkron AB All rights reserved
// </copyright>
// -----------------------------------------------------------------------
using System;
using System.Collections.Immutable;

namespace Proto.Cluster.Seed;
Expand Down
2 changes: 0 additions & 2 deletions src/Proto.Remote/Endpoints/EndpointReader.cs
Original file line number Diff line number Diff line change
Expand Up @@ -5,15 +5,13 @@
// -----------------------------------------------------------------------

using System;
using System.Collections.Generic;
using System.Linq;
using System.Text.RegularExpressions;
using System.Threading;
using System.Threading.Tasks;
using Grpc.Core;
using Microsoft.Extensions.Logging;
using Proto.Diagnostics;
using Proto.Remote.Metrics;

namespace Proto.Remote;

Expand Down
1 change: 0 additions & 1 deletion src/Proto.Remote/Endpoints/IEndpoint.cs
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,6 @@

using System;
using System.Collections.Concurrent;
using System.Threading;
using System.Threading.Channels;

namespace Proto.Remote;
Expand Down
1 change: 0 additions & 1 deletion src/Proto.Remote/Endpoints/RemoteMessageHandler.cs
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,6 @@
// -----------------------------------------------------------------------

using System;
using System.Collections.Generic;
using System.Linq;
using Microsoft.Extensions.Logging;
using Proto.Mailbox;
Expand Down
1 change: 0 additions & 1 deletion src/Proto.Remote/GrpcNet/GrpcNetClientRemote.cs
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
using System;
using System.Threading.Tasks;
using Microsoft.Extensions.Logging;
using Proto.Remote.Metrics;

namespace Proto.Remote.GrpcNet;

Expand Down
1 change: 0 additions & 1 deletion src/Proto.Remote/GrpcNet/GrpcNetRemote.cs
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,6 @@
using Microsoft.AspNetCore.Server.Kestrel.Core;
using Microsoft.Extensions.DependencyInjection;
using Microsoft.Extensions.Logging;
using Proto.Remote.Metrics;

namespace Proto.Remote.GrpcNet;

Expand Down
2 changes: 0 additions & 2 deletions src/Proto.Remote/Messages.cs
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,6 @@
// </copyright>
// -----------------------------------------------------------------------

using System;

namespace Proto.Remote;

public sealed record EndpointTerminatedEvent(bool OnError, string? Address, string? ActorSystemId)
Expand Down
1 change: 0 additions & 1 deletion src/Proto.Remote/RemoteProcess.cs
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,6 @@
// </copyright>
// -----------------------------------------------------------------------

using System;
using System.Diagnostics;
using Proto.Mailbox;

Expand Down
2 changes: 0 additions & 2 deletions src/Proto.Remote/Serialization/ICachedSerialization.cs
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,6 @@
// Copyright (C) 2015-2022 Asynkron AB All rights reserved
// </copyright>
// -----------------------------------------------------------------------
using Google.Protobuf;

namespace Proto.Remote;

public interface ICachedSerialization
Expand Down
2 changes: 0 additions & 2 deletions tests/Proto.Cluster.Tests/Extensions.cs
Original file line number Diff line number Diff line change
@@ -1,12 +1,10 @@
using System;
using System;
using System.Collections.Generic;
using System.Text;
using System.Threading;
using System.Threading.Tasks;
using ClusterTest.Messages;
using Proto.Cluster.Gossip;
using Xunit.Abstractions;

namespace Proto.Cluster.Tests;

Expand Down
Loading