Ejemplo n.º 1
0
        public ClusterGroupImpl(IUnmanagedTarget proc, IUnmanagedTarget target, Marshaller marsh,
                                Ignite ignite, Func <IClusterNode, bool> pred)
            : base(target, marsh)
        {
            _proc   = proc;
            _ignite = ignite;
            _pred   = pred;

            _comp = new Lazy <Compute>(() =>
                                       new Compute(new ComputeImpl(UU.ProcessorCompute(proc, target), marsh, this, false)));

            _msg = new Lazy <Messaging>(() => new Messaging(UU.ProcessorMessage(proc, target), marsh, this));

            _events = new Lazy <Events>(() => new Events(UU.ProcessorEvents(proc, target), marsh, this));

            _services = new Lazy <IServices>(() =>
                                             new Services(UU.ProcessorServices(proc, target), marsh, this, false, false));
        }