Package eu.mosaic_cloud.components.core

Examples of eu.mosaic_cloud.components.core.ComponentAcquireRequest


      Preconditions.checkNotNull (resource);
      CloudletComponent.this.transcript.traceDebugging ("acquiring the resource `%s`...", resource.identifier);
      // FIXME: This should be done in `Active` state
      // FIXME: This should be done in an `FsmAccess`
      final ComponentCallReference reference = ComponentCallReference.create ();
      final ComponentAcquireRequest request = ComponentAcquireRequest.create (resource, reference);
      final DeferredFuture<ComponentAcquireReply> future = DeferredFuture.create (ComponentAcquireReply.class);
      CloudletComponent.this.componentPendingAcquires.put (reference, future.trigger);
      CloudletComponent.this.componentControllerProxy.acquire (request);
      final DeferredFuture<ComponentResourceDescriptor> completionFuture = DeferredFuture.create (ComponentResourceDescriptor.class);
      CloudletComponent.this.fsm.new FsmFutureCompletionAccess<ComponentAcquireReply> () {
View Full Code Here

TOP

Related Classes of eu.mosaic_cloud.components.core.ComponentAcquireRequest

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.