GlueGen: com.jogamp.common.nio.Buffers.Cleaner Class Reference

GlueGen v2.6.0-rc-20250822 GlueGen, Native Binding Generator for Java™ (public API).

Static Public Member Functions | List of all members
com.jogamp.common.nio.Buffers.Cleaner Class Reference

Access to NIO `sun.misc.Cleaner`, allowing caller to deterministically clean a given `sun.nio.ch.DirectBuffer`. More...

Collaboration diagram for com.jogamp.common.nio.Buffers.Cleaner:

## Static Public Member Functions

static boolean | clean (final ByteBuffer bb)
| If `b` is an direct NIO buffer, i.e `sun.nio.ch.DirectBuffer`, calls it's `sun.misc.Cleaner` instance `clean()` method once. More...

## Detailed Description

Access to NIO `sun.misc.Cleaner`, allowing caller to deterministically clean a given `sun.nio.ch.DirectBuffer`.

Definition at line 1988 of file Buffers.java.

## Member Function Documentation

## ◆ clean()

static boolean com.jogamp.common.nio.Buffers.Cleaner.clean | ( | final ByteBuffer | bb | ) |

static

If `b` is an direct NIO buffer, i.e `sun.nio.ch.DirectBuffer`, calls it's `sun.misc.Cleaner` instance `clean()` method once.

Returns
  `true` if successful, otherwise `false`.

Definition at line 2043 of file Buffers.java.

Here is the call graph for this function:
Here is the caller graph for this function:

The documentation for this class was generated from the following file:

- src/java/com/jogamp/common/nio/Buffers.java