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
  • onCreateOptionsMenu (Activity)
  • compareTo (BigDecimal)
  • getExternalFilesDir (Context)
  • Charset (java.nio.charset)
    A charset is a named mapping between Unicode characters and byte sequences. Every Charset can decode
  • LinkedHashMap (java.util)
    LinkedHashMap is an implementation of Map that guarantees iteration order. All optional operations a
  • Set (java.util)
    A Set is a data structure which does not allow duplicate elements.
  • TreeSet (java.util)
    TreeSet is an implementation of SortedSet. All optional operations (adding and removing) are support
  • LogFactory (org.apache.commons.logging)
    Factory for creating Log instances, with discovery and configuration features similar to that employ
  • Scheduler (org.quartz)
    This is the main interface of a Quartz Scheduler. A Scheduler maintains a registry of org.quartz.Job
  • 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