Examples of free()


Examples of org.h2.store.PageStore.free()

            int child = childPageIds[i];
            PageBtree p = index.getPage(child);
            p.setParentPageId(newPos);
            store.update(p);
        }
        store.free(getPos());
    }

    /**
     * One of the children has moved to a new page.
     *
 
View Full Code Here

Examples of org.h2.tools.SimpleResultSet.SimpleArray.free()

        assertTrue(a == a2);
        SimpleArray array = (SimpleArray) rs.getArray("h");
        assertEquals(Types.NULL, array.getBaseType());
        assertEquals("NULL", array.getBaseTypeName());
        a2 = (Object[]) array.getArray();
        array.free();
        assertEquals(2, a2.length);
        assertTrue(a == a2);

        assertTrue(t == rs.getTime("i"));
        assertTrue(t == rs.getTime(9));
View Full Code Here

Examples of org.jboss.ejb.InstancePool.free()

            ctx.unlock();
           
            // Still free? Not free if create() was called successfully
            if (ctx.getId() == null)
            {
               pool.free(ctx);
            }
         }
      }
   }
  
View Full Code Here

Examples of org.jdesktop.wonderland.client.utils.SmallIntegerAllocator.free()

        if (allocator == null) {
            throw new RuntimeException("Deallocation when app instance is not allocated = " +
                    appInstance);
        }

        allocator.free(appInstance);

        if (allocator.getNumAllocated() == 0) {
            instanceAllocators.remove(appName);
        }
    }
View Full Code Here

Examples of org.jugile.util.DBConnection.free()

   
    // check db directly
    DBPool db = DBPool.getPool();
    DBConnection c = db.getConnection();
    List<List> rows = c.select("select name_f,id_f,vers from person_t where id_f="+p1.id());
    c.free();
    assertEquals(1,rows.size());
    List row = rows.get(0);
    assertEquals("foo",row.get(0));
    assertEquals(""+p1.id(),""+row.get(1));
    assertEquals("4",""+row.get(2));
View Full Code Here

Examples of org.libimobiledevice.ios.driver.binding.services.AppContainerService.free()

      // already there and correct version
      if (isCorrectVersion(app)) {
        AppContainerService appContainerService = new AppContainerService((device));
        appContainerService.clean(aut.getBundleId());
        appContainerService.free();
        return;
      }

      // TODO upgrade ?
      // needs to re-install
View Full Code Here

Examples of org.libimobiledevice.ios.driver.binding.services.ImageMountingService.free()

    try {
      service = new ImageMountingService(device);
      service.mount(ddi);
    } finally {
      if (service != null) {
        service.free();
      }
    }
  }

  @Override
View Full Code Here

Examples of org.libvirt.Domain.free()

            s_logger.debug("Failed to stop VM :" + vmName + " :", e);
            return e.getMessage();
        } finally {
            try {
                if (dm != null) {
                    dm.free();
                }
            } catch (LibvirtException e) {
            }
        }
View Full Code Here

Examples of org.libvirt.Network.free()

            info.name = net.getName();
            info.autostart = net.getAutostart();
            info.bridgeName = net.getBridgeName();
            return info;
        } finally {
            net.free();
        }
    }

    public String getNetworkXML(String name) throws LibvirtException {
        Network network = getLibVirtNetwork(name);
View Full Code Here

Examples of org.libvirt.Secret.free()

            } catch (LibvirtException e) {
                s_logger.error(e.toString());
                if (s != null) {
                    try {
                        s.undefine();
                        s.free();
                    } catch (LibvirtException l) {
                        s_logger.debug("Failed to define secret with: " + l.toString());
                        }
                }
            }
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.