Examples of hold()


Examples of org.apache.excalibur.store.impl.MRUMemoryStore.hold()

                cachedMeta = null;
            }
        }
        if (cachedMeta == null) {
            cachedMeta = new CacheableMetaData(meta);
            store.hold(key, cachedMeta);
        }
        return cachedMeta;
    }

    protected String getCacheKey(String cacheKey, String namespaceUri) {
View Full Code Here

Examples of org.opennebula.client.vm.VirtualMachine.hold()

            // VM-ID
            VirtualMachine vm = new VirtualMachine(newVMID, oneClient);

            // Let's hold the VM, so the scheduler won't try to deploy it
            System.out.print("Trying to hold the new VM... ");
            rc = vm.hold();

            if(rc.isError())
            {
                System.out.println("failed!");
                throw new Exception( rc.getErrorMessage() );
View Full Code Here

Examples of org.springframework.ide.eclipse.core.project.DefaultProjectContributorState.hold()

   */
  private IProjectContributorState prepareState(IProject project, List<ProjectBuilderDefinition> builderDefinitions,
      List<ValidatorDefinition> validatorDefinitions) {

    IProjectContributorState context = new DefaultProjectContributorState();
    context.hold(project);
   
    for (ProjectBuilderDefinition builderDefinition : builderDefinitions) {
      if (builderDefinition.isEnabled(project)
          && builderDefinition.getProjectBuilder() instanceof IProjectContributorStateAware) {
        ((IProjectContributorStateAware) builderDefinition.getProjectBuilder())
View Full Code Here

Examples of org.springframework.ide.eclipse.core.project.IProjectContributorState.hold()

   */
  private IProjectContributorState prepareState(IProject project, List<ProjectBuilderDefinition> builderDefinitions,
      List<ValidatorDefinition> validatorDefinitions) {

    IProjectContributorState context = new DefaultProjectContributorState();
    context.hold(project);
   
    for (ProjectBuilderDefinition builderDefinition : builderDefinitions) {
      if (builderDefinition.isEnabled(project)
          && builderDefinition.getProjectBuilder() instanceof IProjectContributorStateAware) {
        ((IProjectContributorStateAware) builderDefinition.getProjectBuilder())
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. 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.