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