netty-incubator-buffer-api/src/main/java/io/netty/buffer/api
Chris Vest 2decac081a Rename Deref.isInstanceOf to referentIsInstanceOf
Motivation:
Derefs are not necessarily their referents.
This is the case for Send, for instance.

Modification:
The Deref.isInstanceOf method is renamed to referentIsInstanceOf.
And a Send.isSendOf method has been added, that simplifies the check for sends, since it could be the case that one also needs to check if the object in question is also a Send instance.

Result:
Cleaner code that is easier to read, when working with Sends.

This fixes https://github.com/netty/netty-incubator-buffer-api/issues/46
2021-04-26 18:33:52 +02:00
..
adaptor Fix failing ByteBufAdaptorTests and increase adaptor compatibility 2021-03-16 12:11:29 +01:00
bytebuffer UnsafeBuffer implementation, based on sun.misc.Unsafe 2021-04-08 14:44:58 +02:00
internal UnsafeBuffer implementation, based on sun.misc.Unsafe 2021-04-08 14:44:58 +02:00
memseg Update APIs with the latest project-panama changes 2021-04-26 17:08:40 +02:00
unsafe Fix compilation error after rebase 2021-04-08 21:10:17 +02:00
AllocatorControl.java Rename Buf to Buffer and Allocator to BufferAllocator 2021-02-12 18:22:07 +01:00
Buffer.java Add a ByteBuffer based implementation of Buffer 2021-03-18 15:18:22 +01:00
BufferAccessors.java Rename Buf to Buffer and Allocator to BufferAllocator 2021-02-12 18:22:07 +01:00
BufferAllocator.java Add a ByteBuffer based implementation of Buffer 2021-03-18 15:18:22 +01:00
BufferHolder.java Add a ByteBuffer based implementation of Buffer 2021-03-18 15:18:22 +01:00
BufferRef.java Rename Buf to Buffer and Allocator to BufferAllocator 2021-02-12 18:22:07 +01:00
ByteCursor.java Fix more test failures for UnsafeBuffer 2021-04-08 14:44:58 +02:00
CleanerPooledDrop.java Add a ByteBuffer based implementation of Buffer 2021-03-18 15:18:22 +01:00
CompositeBuffer.java Add a ByteBuffer based implementation of Buffer 2021-03-18 15:18:22 +01:00
Deref.java Rename Deref.isInstanceOf to referentIsInstanceOf 2021-04-26 18:33:52 +02:00
Drop.java Address review comments on bifurcate PR 2020-12-10 12:51:18 +01:00
LifecycleTracer.java Make LifecycleTracer thread-safe 2021-03-09 11:57:49 +01:00
ManagedBufferAllocator.java Fix native memory leak bug 2021-04-07 17:17:35 +02:00
MemoryManager.java UnsafeBuffer implementation, based on sun.misc.Unsafe 2021-04-08 14:44:58 +02:00
MemoryManagers.java Add a ByteBuffer based implementation of Buffer 2021-03-18 15:18:22 +01:00
MemoryManagersOverride.java Add a ByteBuffer based implementation of Buffer 2021-03-18 15:18:22 +01:00
Owned.java Rename the 'b2' package to 'api' 2020-11-17 15:40:13 +01:00
package-info.java Rename Buf to Buffer and Allocator to BufferAllocator 2021-02-12 18:22:07 +01:00
Rc.java Rename Deref.isInstanceOf to referentIsInstanceOf 2021-04-26 18:33:52 +02:00
RcSupport.java Fix failing ByteBufAdaptorTests and increase adaptor compatibility 2021-03-16 12:11:29 +01:00
ReadableComponent.java Add a ByteBuffer based implementation of Buffer 2021-03-18 15:18:22 +01:00
ReadableComponentProcessor.java Explode ComponentProcessor into its contained interfaces 2021-02-12 18:28:29 +01:00
ResourceDisposeFailedException.java Rename the 'b2' package to 'api' 2020-11-17 15:40:13 +01:00
Scope.java Add BufHolder and BufRef helper classes 2020-12-14 14:22:37 +01:00
Send.java Rename Deref.isInstanceOf to referentIsInstanceOf 2021-04-26 18:33:52 +02:00
SizeClassedMemoryPool.java Add a ByteBuffer based implementation of Buffer 2021-03-18 15:18:22 +01:00
TransferSend.java Rename Deref.isInstanceOf to referentIsInstanceOf 2021-04-26 18:33:52 +02:00
WritableComponent.java Add a ByteBuffer based implementation of Buffer 2021-03-18 15:18:22 +01:00
WritableComponentProcessor.java Explode ComponentProcessor into its contained interfaces 2021-02-12 18:28:29 +01:00