コード例 #1
0
ファイル: RegistrarManager.cs プロジェクト: xclayl/orleans
 public static void InitializeGrainDirectoryManager(LocalGrainDirectory router, int numRetriesForGSI)
 {
     Instance = new RegistrarManager();
     Instance.Register<ClusterLocalRegistration>(new ClusterLocalRegistrar(router.DirectoryPartition));
     Instance.Register<GlobalSingleInstanceRegistration>(new GlobalSingleInstanceRegistrar(router.DirectoryPartition, router.Logger, router.GsiActivationMaintainer, numRetriesForGSI));
 }
コード例 #2
0
 public static void InitializeGrainDirectoryManager(LocalGrainDirectory router)
 {
     Instance = new RegistrarManager();
     Instance.Register <ClusterLocalRegistration>(new ClusterLocalRegistrar(router.DirectoryPartition));
 }