Simple helper classes that allow Akka Actors to publish and subscribe to a DistributedPubSub system by automatically determining the "topic" name from the class name.
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
using System; | |
using System.Collections.Generic; | |
using System.Reflection; | |
using Microsoft.ApplicationInsights; | |
using Microsoft.ApplicationInsights.Channel; | |
using Microsoft.ApplicationInsights.DataContracts; | |
using Microsoft.Extensions.Logging; | |
using Orleans.Runtime; | |
using Zapic.Service.Interfaces; |
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
/usr/bin/xcrun xcodebuild -workspace /Users/daniel/Dev/ExampleFramework/Carthage/Checkouts/MarqueeLabel/MarqueeLabel.xcworkspace -scheme MarqueeLabel -configuration Release -derivedDataPath /Users/daniel/Library/Caches/org.carthage.CarthageKit/DerivedData/MarqueeLabel/3.1.0 -sdk iphoneos ONLY_ACTIVE_ARCH=NO BITCODE_GENERATION_MODE=bitcode CODE_SIGNING_REQUIRED=NO CODE_SIGN_IDENTITY= CARTHAGE=YES clean build (launched in /Users/daniel/Dev/ExampleFramework/Carthage/Checkouts/MarqueeLabel)User defaults from command line: | |
IDEDerivedDataPathOverride = /Users/daniel/Library/Caches/org.carthage.CarthageKit/DerivedData/MarqueeLabel/3.1.0 | |
Build settings from command line: | |
BITCODE_GENERATION_MODE = bitcode | |
CARTHAGE = YES | |
CODE_SIGN_IDENTITY = | |
CODE_SIGNING_REQUIRED = NO | |
ONLY_ACTIVE_ARCH = NO | |
SDKROOT = iphoneos10.3 |
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
[2016-04-25 22:57:45.387 GMT 1 INFO 100404 Silo 169.254.22.7:0] Silo starting with GC settings: ServerGC=False GCLatencyMode=Interactive | |
[2016-04-25 22:57:45.391 GMT 1 WARNING 100405 Silo 169.254.22.7:0] Note: Silo not running with ServerGC turned on or with GCLatencyMode.Batch enabled - recommend checking app config : <configuration>-<runtime>-<gcServer enabled="true"> and <configuration>-<runtime>-<gcConcurrent enabled="false"/> | |
[2016-04-25 22:57:45.391 GMT 1 WARNING 100405 Silo 169.254.22.7:0] Note: ServerGC only kicks in on multi-core systems (settings enabling ServerGC have no effect on single-core machines). | |
[2016-04-25 22:57:45.392 GMT 1 INFO 100403 Silo 169.254.22.7:0] -------------- Initializing Secondary silo on host DRACOCLUSTER-1 MachineName DRACOCLUSTER-1 at 169.254.22.7:0, gen 199321065 -------------- | |
[2016-04-25 22:57:45.425 GMT 1 INFO 100415 Silo 169.254.22.7:0] Starting silo DRACOCLUSTER-1 with runtime Version='1.2.0.0 (Release).' .NET version='4.0.30319.42000 |
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
public static class GrainExtensions | |
{ | |
public static T GetGrain<T>(this IGrainFactory grainFactory) where T : IGrainWithSingletonKey | |
{ | |
return grainFactory.GetGrain<T>(Guid.Empty); | |
} | |
} | |
/// <summary> | |
/// Marker interface for cluster level singleton |