public abstract class io.vertx.core.buffer.impl.VertxByteBufAllocator extends io.netty.buffer.AbstractByteBufAllocator
{
public static final io.netty.buffer.ByteBufAllocator POOLED_ALLOCATOR;
public static final io.netty.buffer.ByteBufAllocator UNPOOLED_ALLOCATOR;
private static final io.vertx.core.buffer.impl.VertxByteBufAllocator UNSAFE_IMPL;
private static final io.vertx.core.buffer.impl.VertxByteBufAllocator IMPL;
public static final io.vertx.core.buffer.impl.VertxByteBufAllocator DEFAULT;
public void <init>()
{
io.vertx.core.buffer.impl.VertxByteBufAllocator v;
v := @this: io.vertx.core.buffer.impl.VertxByteBufAllocator;
specialinvoke v.<io.netty.buffer.AbstractByteBufAllocator: void <init>()>();
return;
}
protected io.netty.buffer.ByteBuf newDirectBuffer(int, int)
{
io.vertx.core.buffer.impl.VertxByteBufAllocator v;
io.netty.buffer.ByteBuf v;
io.netty.buffer.ByteBufAllocator v;
int v, v;
v := @this: io.vertx.core.buffer.impl.VertxByteBufAllocator;
v := @parameter: int;
v := @parameter: int;
v = <io.vertx.core.buffer.impl.VertxByteBufAllocator: io.netty.buffer.ByteBufAllocator UNPOOLED_ALLOCATOR>;
v = interfaceinvoke v.<io.netty.buffer.ByteBufAllocator: io.netty.buffer.ByteBuf directBuffer(int,int)>(v, v);
return v;
}
public boolean isDirectBufferPooled()
{
io.vertx.core.buffer.impl.VertxByteBufAllocator v;
v := @this: io.vertx.core.buffer.impl.VertxByteBufAllocator;
return 0;
}
static void <clinit>()
{
io.netty.buffer.UnpooledByteBufAllocator v;
io.vertx.core.buffer.impl.VertxByteBufAllocator v;
io.vertx.core.buffer.impl.VertxByteBufAllocator$1 v;
io.vertx.core.buffer.impl.VertxByteBufAllocator$2 v;
io.netty.buffer.PooledByteBufAllocator v;
boolean v;
v = new io.netty.buffer.PooledByteBufAllocator;
specialinvoke v.<io.netty.buffer.PooledByteBufAllocator: void <init>(boolean)>(1);
<io.vertx.core.buffer.impl.VertxByteBufAllocator: io.netty.buffer.ByteBufAllocator POOLED_ALLOCATOR> = v;
v = new io.netty.buffer.UnpooledByteBufAllocator;
specialinvoke v.<io.netty.buffer.UnpooledByteBufAllocator: void <init>(boolean)>(0);
<io.vertx.core.buffer.impl.VertxByteBufAllocator: io.netty.buffer.ByteBufAllocator UNPOOLED_ALLOCATOR> = v;
v = new io.vertx.core.buffer.impl.VertxByteBufAllocator$1;
specialinvoke v.<io.vertx.core.buffer.impl.VertxByteBufAllocator$1: void <init>()>();
<io.vertx.core.buffer.impl.VertxByteBufAllocator: io.vertx.core.buffer.impl.VertxByteBufAllocator UNSAFE_IMPL> = v;
v = new io.vertx.core.buffer.impl.VertxByteBufAllocator$2;
specialinvoke v.<io.vertx.core.buffer.impl.VertxByteBufAllocator$2: void <init>()>();
<io.vertx.core.buffer.impl.VertxByteBufAllocator: io.vertx.core.buffer.impl.VertxByteBufAllocator IMPL> = v;
v = staticinvoke <io.netty.util.internal.PlatformDependent: boolean hasUnsafe()>();
if v == 0 goto label;
v = <io.vertx.core.buffer.impl.VertxByteBufAllocator: io.vertx.core.buffer.impl.VertxByteBufAllocator UNSAFE_IMPL>;
goto label;
label:
v = <io.vertx.core.buffer.impl.VertxByteBufAllocator: io.vertx.core.buffer.impl.VertxByteBufAllocator IMPL>;
label:
<io.vertx.core.buffer.impl.VertxByteBufAllocator: io.vertx.core.buffer.impl.VertxByteBufAllocator DEFAULT> = v;
return;
}
}