@Test public void testWrapReadOnly() { assertWrapped(newBuffer(8).asReadOnly()); }
@Override public ByteBuf asReadOnly() { return newLeakAwareByteBuf(super.asReadOnly()); }
SimpleLeakAwareCompositeByteBuf extends WrappedCompositeByteBuf { @Override public ByteBuf asReadOnly() { return newLeakAwareByteBuf(super.asReadOnly()); } }
SimpleLeakAwareCompositeByteBuf extends WrappedCompositeByteBuf { @Override public ByteBuf asReadOnly() { return newLeakAwareByteBuf(super.asReadOnly()); } SimpleLeakAwareCompositeByteBuf(CompositeByteBuf wrapped, ResourceLeakTracker<ByteBuf> leak); }
SimpleLeakAwareCompositeByteBuf extends WrappedCompositeByteBuf { @Override public ByteBuf asReadOnly() { return newLeakAwareByteBuf(super.asReadOnly()); } SimpleLeakAwareCompositeByteBuf(CompositeByteBuf wrapped, ResourceLeakTracker<ByteBuf> leak); @Override boolean release(); @Override boolean release(int decrement); @Override ByteBuf order(ByteOrder endianness); @Override ByteBuf slice(); @Override ByteBuf retainedSlice(); @Override ByteBuf slice(int index, int length); @Override ByteBuf retainedSlice(int index, int length); @Override ByteBuf duplicate(); @Override ByteBuf retainedDuplicate(); @Override ByteBuf readSlice(int length); @Override ByteBuf readRetainedSlice(int length); @Override ByteBuf asReadOnly(); }
SimpleLeakAwareCompositeByteBuf extends WrappedCompositeByteBuf { @Override public ByteBuf asReadOnly() { return newLeakAwareByteBuf(super.asReadOnly()); } SimpleLeakAwareCompositeByteBuf(CompositeByteBuf wrapped, ResourceLeakTracker<ByteBuf> leak); @Override boolean release(); @Override boolean release(int decrement); @Override ByteBuf order(ByteOrder endianness); @Override ByteBuf slice(); @Override ByteBuf retainedSlice(); @Override ByteBuf slice(int index, int length); @Override ByteBuf retainedSlice(int index, int length); @Override ByteBuf duplicate(); @Override ByteBuf retainedDuplicate(); @Override ByteBuf readSlice(int length); @Override ByteBuf readRetainedSlice(int length); @Override ByteBuf asReadOnly();  }