Skip navigation links

Package net.openhft.chronicle.core.cleaner.spi

Provides a service provider interface (SPI) for ByteBuffer cleaning operations.

See: Description

Package net.openhft.chronicle.core.cleaner.spi Description

Provides a service provider interface (SPI) for ByteBuffer cleaning operations.

This package contains an interface, ByteBufferCleanerService, that defines the contract for cleaning memory resources associated with ByteBuffers. This is particularly useful for direct ByteBuffers, where the memory is allocated outside the regular heap and manual intervention is sometimes necessary to release resources.

Clients can use different implementations of ByteBufferCleanerService based on their specific needs or constraints. Implementations can be provided by third-party libraries or custom solutions. The impact level of the cleaning operation is also specified, helping clients make informed decisions based on performance or resource considerations.

This package is part of the Chronicle Core library, which provides a set of low-level utilities for high-performance systems.

See Also:
ByteBufferCleanerService
Skip navigation links

Copyright © 2024. All rights reserved.