Tabnine Logo
PooledMemoryManager$PoolHeapBuffer.onShareHeap
Code IndexAdd Tabnine to your IDE (free)

How to use
onShareHeap
method
in
org.glassfish.grizzly.memory.PooledMemoryManager$PoolHeapBuffer

Best Java code snippets using org.glassfish.grizzly.memory.PooledMemoryManager$PoolHeapBuffer.onShareHeap (Showing top 20 results out of 315)

origin: org.glassfish.grizzly/grizzly-http-server-core

/**
 * Create a new {@link HeapBuffer} based on the current heap.
 * 
 * @param offs relative offset, the absolute value will calculated as (this.offset + offs)
 * @param capacity the capacity of this {@link HeapBuffer}.
 *
 * @return a new {@link HeapBuffer} based on the the method arguments.
 */
@Override
protected HeapBuffer createHeapBuffer(final int offs, final int capacity) {
  onShareHeap();
  final PoolHeapBuffer b =
      new PoolHeapBuffer(heap, offs + offset, capacity,
          null, // don't keep track of the owner for child buffers
          source, // pass the 'parent' buffer along
          shareCount); // pass the shareCount
  b.allowBufferDispose(true);
  return b;
}
origin: org.glassfish.grizzly/grizzly-websockets-server

/**
 * Create a new {@link HeapBuffer} based on the current heap.
 * 
 * @param offs relative offset, the absolute value will calculated as (this.offset + offs)
 * @param capacity the capacity of this {@link HeapBuffer}.
 *
 * @return a new {@link HeapBuffer} based on the the method arguments.
 */
@Override
protected HeapBuffer createHeapBuffer(final int offs, final int capacity) {
  onShareHeap();
  final PoolHeapBuffer b =
      new PoolHeapBuffer(heap, offs + offset, capacity,
          null, // don't keep track of the owner for child buffers
          source, // pass the 'parent' buffer along
          shareCount); // pass the shareCount
  b.allowBufferDispose(true);
  return b;
}
origin: org.mule.glassfish.grizzly/grizzly-framework

/**
 * Create a new {@link HeapBuffer} based on the current heap.
 * 
 * @param offs relative offset, the absolute value will calculated as (this.offset + offs)
 * @param capacity the capacity of this {@link HeapBuffer}.
 *
 * @return a new {@link HeapBuffer} based on the the method arguments.
 */
@Override
protected HeapBuffer createHeapBuffer(final int offs, final int capacity) {
  onShareHeap();
  final PoolHeapBuffer b =
      new PoolHeapBuffer(heap, offs + offset, capacity,
          null, // don't keep track of the owner for child buffers
          source, // pass the 'parent' buffer along
          shareCount); // pass the shareCount
  b.allowBufferDispose(true);
  return b;
}
origin: javaee/grizzly

/**
 * Create a new {@link HeapBuffer} based on the current heap.
 * 
 * @param offs relative offset, the absolute value will calculated as (this.offset + offs)
 * @param capacity the capacity of this {@link HeapBuffer}.
 *
 * @return a new {@link HeapBuffer} based on the the method arguments.
 */
@Override
protected HeapBuffer createHeapBuffer(final int offs, final int capacity) {
  onShareHeap();
  final PoolHeapBuffer b =
      new PoolHeapBuffer(heap, offs + offset, capacity,
          null, // don't keep track of the owner for child buffers
          source, // pass the 'parent' buffer along
          shareCount); // pass the shareCount
  b.allowBufferDispose(true);
  return b;
}
origin: javaee/grizzly

/**
 * Create a new {@link HeapBuffer} based on the current heap.
 * 
 * @param offs relative offset, the absolute value will calculated as (this.offset + offs)
 * @param capacity the capacity of this {@link HeapBuffer}.
 *
 * @return a new {@link HeapBuffer} based on the the method arguments.
 */
@Override
protected HeapBuffer createHeapBuffer(final int offs, final int capacity) {
  onShareHeap();
  final PoolHeapBuffer b =
      new PoolHeapBuffer(heap, offs + offset, capacity,
          null, // don't keep track of the owner for child buffers
          source, // pass the 'parent' buffer along
          shareCount); // pass the shareCount
  b.allowBufferDispose(true);
  return b;
}
origin: org.glassfish.grizzly/grizzly-core

/**
 * Create a new {@link HeapBuffer} based on the current heap.
 * 
 * @param offs relative offset, the absolute value will calculated as (this.offset + offs)
 * @param capacity the capacity of this {@link HeapBuffer}.
 *
 * @return a new {@link HeapBuffer} based on the the method arguments.
 */
@Override
protected HeapBuffer createHeapBuffer(final int offs, final int capacity) {
  onShareHeap();
  final PoolHeapBuffer b =
      new PoolHeapBuffer(heap, offs + offset, capacity,
          null, // don't keep track of the owner for child buffers
          source, // pass the 'parent' buffer along
          shareCount); // pass the shareCount
  b.allowBufferDispose(true);
  return b;
}
origin: javaee/grizzly

/**
 * Create a new {@link HeapBuffer} based on the current heap.
 * 
 * @param offs relative offset, the absolute value will calculated as (this.offset + offs)
 * @param capacity the capacity of this {@link HeapBuffer}.
 *
 * @return a new {@link HeapBuffer} based on the the method arguments.
 */
@Override
protected HeapBuffer createHeapBuffer(final int offs, final int capacity) {
  onShareHeap();
  final PoolHeapBuffer b =
      new PoolHeapBuffer(heap, offs + offset, capacity,
          null, // don't keep track of the owner for child buffers
          source, // pass the 'parent' buffer along
          shareCount); // pass the shareCount
  b.allowBufferDispose(true);
  return b;
}
origin: javaee/grizzly

/**
 * Create a new {@link HeapBuffer} based on the current heap.
 * 
 * @param offs relative offset, the absolute value will calculated as (this.offset + offs)
 * @param capacity the capacity of this {@link HeapBuffer}.
 *
 * @return a new {@link HeapBuffer} based on the the method arguments.
 */
@Override
protected HeapBuffer createHeapBuffer(final int offs, final int capacity) {
  onShareHeap();
  final PoolHeapBuffer b =
      new PoolHeapBuffer(heap, offs + offset, capacity,
          null, // don't keep track of the owner for child buffers
          source, // pass the 'parent' buffer along
          shareCount); // pass the shareCount
  b.allowBufferDispose(true);
  return b;
}
origin: org.mule.glassfish.grizzly/grizzly-framework

@Override
protected void onShareHeap() {
  PoolHeapBuffer.this.onShareHeap();
}
origin: javaee/grizzly

@Override
protected void onShareHeap() {
  PoolHeapBuffer.this.onShareHeap();
}
origin: javaee/grizzly

@Override
protected void onShareHeap() {
  PoolHeapBuffer.this.onShareHeap();
}
origin: javaee/grizzly

@Override
protected void onShareHeap() {
  PoolHeapBuffer.this.onShareHeap();
}
origin: org.glassfish.grizzly/grizzly-core

@Override
protected void onShareHeap() {
  PoolHeapBuffer.this.onShareHeap();
}
origin: javaee/grizzly

@Override
protected void onShareHeap() {
  PoolHeapBuffer.this.onShareHeap();
}
origin: org.glassfish.grizzly/grizzly-websockets-server

@Override
protected void onShareHeap() {
  PoolHeapBuffer.this.onShareHeap();
}
origin: javaee/grizzly

@Override
protected void onShareHeap() {
  PoolHeapBuffer.this.onShareHeap();
}
origin: javaee/grizzly

@Override
protected void onShareHeap() {
  PoolHeapBuffer.this.onShareHeap();
}
origin: javaee/grizzly

@Override
protected void onShareHeap() {
  PoolHeapBuffer.this.onShareHeap();
}
origin: javaee/grizzly

@Override
protected void onShareHeap() {
  PoolHeapBuffer.this.onShareHeap();
}
origin: org.glassfish.grizzly/grizzly-http-server-core

@Override
protected void onShareHeap() {
  PoolHeapBuffer.this.onShareHeap();
}
org.glassfish.grizzly.memoryPooledMemoryManager$PoolHeapBufferonShareHeap

Popular methods of PooledMemoryManager$PoolHeapBuffer

  • <init>
  • allowBufferDispose
  • asReadOnlyBuffer
  • checkDispose
    Override the default implementation to check the free status of this buffer (i.e., once released, op
  • clear
  • dispose0
  • returnToPool

Popular in Java

  • Making http requests using okhttp
  • notifyDataSetChanged (ArrayAdapter)
  • getExternalFilesDir (Context)
  • getContentResolver (Context)
  • Kernel (java.awt.image)
  • FileInputStream (java.io)
    An input stream that reads bytes from a file. File file = ...finally if (in != null) in.clos
  • System (java.lang)
    Provides access to system-related information and resources including standard input and output. Ena
  • List (java.util)
    An ordered collection (also known as a sequence). The user of this interface has precise control ove
  • Executor (java.util.concurrent)
    An object that executes submitted Runnable tasks. This interface provides a way of decoupling task s
  • Reflections (org.reflections)
    Reflections one-stop-shop objectReflections scans your classpath, indexes the metadata, allows you t
  • CodeWhisperer alternatives
Tabnine Logo
  • Products

    Search for Java codeSearch for JavaScript code
  • IDE Plugins

    IntelliJ IDEAWebStormVisual StudioAndroid StudioEclipseVisual Studio CodePyCharmSublime TextPhpStormVimGoLandRubyMineEmacsJupyter NotebookJupyter LabRiderDataGripAppCode
  • Company

    About UsContact UsCareers
  • Resources

    FAQBlogTabnine AcademyTerms of usePrivacy policyJava Code IndexJavascript Code Index
Get Tabnine for your IDE now