Exemplo n.º 1
0
 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));
 }
Exemplo n.º 2
0
 public static void InitializeGrainDirectoryManager(LocalGrainDirectory router)
 {
     Instance = new RegistrarManager();
     Instance.Register <ClusterLocalRegistration>(new ClusterLocalRegistrar(router.DirectoryPartition));
 }