public class Buffer
extends java.lang.Object
ByteBuffer instances with native code.| Constructor and Description |
|---|
Buffer() |
| Modifier and Type | Method and Description |
|---|---|
static long |
address(java.nio.ByteBuffer buf)
Returns the memory address of the ByteBuffer.
|
static java.nio.ByteBuffer |
calloc(int num,
int size)
Deprecated.
Unused. Will be removed in Tomcat 10.1
|
static java.nio.ByteBuffer |
create(long mem,
int size)
Deprecated.
Unused. Will be removed in Tomcat 10.1
|
static void |
free(java.nio.ByteBuffer buf)
Deprecated.
Unused. Will be removed in Tomcat 10.1
|
static java.nio.ByteBuffer |
malloc(int size)
Deprecated.
Unused. Will be removed in Tomcat 10.1
|
static java.nio.ByteBuffer |
palloc(long p,
int size)
Deprecated.
Unused. Will be removed in Tomcat 10.1
|
static java.nio.ByteBuffer |
pcalloc(long p,
int size)
Deprecated.
Unused. Will be removed in Tomcat 10.1
|
static long |
size(java.nio.ByteBuffer buf)
Deprecated.
Unused. Will be removed in Tomcat 10.1
|
@Deprecated public static java.nio.ByteBuffer malloc(int size)
size - The amount of memory to allocate@Deprecated
public static java.nio.ByteBuffer calloc(int num,
int size)
num - Number of elements.size - Length in bytes of each element.@Deprecated
public static java.nio.ByteBuffer palloc(long p,
int size)
p - The pool to allocate fromsize - The amount of memory to allocate@Deprecated
public static java.nio.ByteBuffer pcalloc(long p,
int size)
p - The pool to allocate fromsize - The amount of memory to allocate@Deprecated
public static java.nio.ByteBuffer create(long mem,
int size)
mem - The memory to usesize - The amount of memory to use@Deprecated public static void free(java.nio.ByteBuffer buf)
buf - Previously allocated ByteBuffer to be freed.public static long address(java.nio.ByteBuffer buf)
buf - Previously allocated ByteBuffer.@Deprecated public static long size(java.nio.ByteBuffer buf)
buf - Previously allocated ByteBuffer.Copyright © 2000-2024 Apache Software Foundation.
Apache Tomcat, Tomcat, Apache, the Apache Tomcat logo and the Apache logo are either registered trademarks or trademarks of the Apache Software Foundation.