Examples of release()


Examples of de.myfoo.commonj.work.FooRemoteWorkItem.release()

      // if process still in session stop the process and delete the attribute, otherwise it could have been finished
      if(o!=null){
        CommonjWorkContainer container=(CommonjWorkContainer)o;
        FooRemoteWorkItem fooRwi=container.getFooRemoteWorkItem();
        // release the resource
        fooRwi.release();
        // Use it to give time to set the status
        Thread.sleep(1000);
        statusWI=container.getWorkItem().getStatus();
        //session.removeAttribute("SBI_PROCESS_"+document_id);
        processesStatusContainer.getPidContainerMap().remove(pid);
View Full Code Here

Examples of dxgi.IDXGIDevice1.Release()

    IDXGIDevice1 dxgiDevice = device.QueryInterface(IDXGIDevice1.class);
    IDXGIFactory1 dxgiFactory= dxgiDevice.GetParent(IDXGIAdapter1.class)
                       .GetParent(IDXGIFactory1.class);
   
    final IDXGISwapChain swapChain = dxgiFactory.CreateSwapChain(dxgiDevice, DXGI.SwapChainDescription(frame));
    dxgiDevice.Release();
    dxgiFactory.Release();
   
    ID3D11Texture2D backBuffer = swapChain.GetBuffer(0, ID3D11Texture2D.class);
    final ID3D11RenderTargetView rtView = device.CreateRenderTargetView(backBuffer, null);
    backBuffer.Release();
View Full Code Here

Examples of dxgi.IDXGIFactory1.Release()

    IDXGIFactory1 dxgiFactory= dxgiDevice.GetParent(IDXGIAdapter1.class)
                       .GetParent(IDXGIFactory1.class);
   
    final IDXGISwapChain swapChain = dxgiFactory.CreateSwapChain(dxgiDevice, DXGI.SwapChainDescription(frame));
    dxgiDevice.Release();
    dxgiFactory.Release();
   
    ID3D11Texture2D backBuffer = swapChain.GetBuffer(0, ID3D11Texture2D.class);
    final ID3D11RenderTargetView rtView = device.CreateRenderTargetView(backBuffer, null);
    backBuffer.Release();
View Full Code Here

Examples of dxgi.IDXGISwapChain.Release()

   
    vs.Release();
    ps.Release();
    layout.Release();
    vertexBuffer.Release();
    swapChain.Release();
    device.Release();
  }

}
View Full Code Here

Examples of edu.emory.mathcs.backport.java.util.concurrent.Semaphore.release()

                       
                        connection.send(closeConsumerInfo(consumerInfo));                       
                    } catch (Throwable e) {
                        e.printStackTrace();
                    } finally {
                        consumersFinished.release();               
                    }
                }

            }.start();
        }
View Full Code Here

Examples of etch.util.core.nio.ByteBufferPool.release()

    ByteBufferPool p = new ByteBufferPool( 4096, 0, 10, 0, 0 );
    ByteBuffer b = p.alloc( null );
    assertNotNull( b );
    assertEquals( 4096, b.limit() );
    assertEquals( 1, p.used() );
    p.release( b );
    assertEquals( 0, p.used() );
  }
 
  /** @throws Exception */
  @Test
 
View Full Code Here

Examples of fi.luomus.commons.db.connectivity.PreparedStatementStoringAndClosingTransactionConnection.release()

                    rs.getString("XMLData"), rs.getInt("SourceFK")));
        }

        query.close();
        rs.close();
        con.release();

        return savedDocuments;
    }

    private void resetDbs() throws SQLException {
View Full Code Here

Examples of fi.luomus.commons.db.connectivity.TransactionConnection.release()

                    rs.getString("XMLData"), rs.getInt("SourceFK")));
        }

        query.close();
        rs.close();
        con.release();

        return savedDocuments;
    }

    private void resetDbs() throws SQLException {
View Full Code Here

Examples of games.stendhal.client.entity.IEntity.release()

      final Iterator<IEntity> it = iterator();

      while (it.hasNext()) {
        final IEntity entity = it.next();
        logger.debug("Residual entity: " + entity);
        entity.release();
      }

      objects.clear();
    }
  }
View Full Code Here

Examples of giggler.Plugin.Consumer.release()

    protected void releaseContribution(PluginModule module) {
       
        Consumer consumer = getConsumer();
       
        if (consumer != null)
            consumer.release(module.getPlugin());
    }

    protected boolean isConsumer() {
       
        return (plugin instanceof Plugin.Consumer);
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.